On Feb 25, 2014, at 2:39 PM, Michael Hall <mik3h...@gmail.com> wrote:

> I think I did get setting R_HOME to work last night, instead of hanging the 
> app actually crashed. Any tricks to getting crash logs these days I might of 
> missed?

Fwiw.
Set but set incorrectly.
Managed to see the error message correctly finally. I had to activate some 
simple JNI I had written earlier that implements a PrintStream around some JNI 
NSLog's to get messages in console again. Then figured out the message I was 
missing was going to err not out. 
Anyhow, googling the message seemed to say some sample code I was basing 
setting R_HOME on was wrong. It had to be to the directory, not the executable.
So then…

us.hall.scripting.RS
jri loaded true
Rengine starting...
Starting R...
Rengine Mac code
Rengine: setting R_HOME to /Library/Frameworks/R.framework/Resources
setupR got 0
t = 3
class(t)
[CTRL_D]
numeric

Some of those obviously debug messages that can now be removed but working for 
that part anyhow.

Thanks.

Michael Hall

trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz

HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe

AppConverter convert Apple jvm to openjdk apps 
http://www195.pair.com/mik3hall/index.html#appconverter





Reply via email to