Skip to content

[SOLVED] Package 'xlsx' on Mac OS X using rJava

2 messages · James Ward, Simon Urbanek

#
James,
On Nov 22, 2011, at 3:54 PM, James Ward wrote:

            
Yes, that is a known issue in OS X. Note that your example below will only work if no other package has initialized rJava before. A more general solution is to set the system property directly:

.jcall("java/lang/System","S","setProperty","java.awt.headless","true")

Note that this limitation does not exist when running R in JGR (and AWT is usable there).

As for heap size, that can be indeed only set in the java options.

Cheers,
Simon