Search code examples
rclassloaderrjava

Getting hold of the rJava classloader


is there any clean way to get hold of the rJava classloader? Unfortunately I need it as I'm doing some dynamic object creations, etc.

I can use rJava:::.env$.rJava.class.loader but it's not exactly clean. Also since it uses private names new version of rJava can easily break my code.


Solution

  • Please use .jclassLoader()

    (PS: stats-rosuda-devel is the mailing list for such questions)