Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-09-01 Thread eileen
I am encountering the same issue here, but when I got a different result as below, what should I do for the next? > Sys.getenv("DYLD_FALLBACK_LIBRARY_PATH") [1] "/Library/Frameworks/R.framework/Resources/lib:/Users/eileen/lib:/usr/local/lib:/usr/lib::" Thanks, Eileen On Monday, February 15, 20

Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-15 Thread Rozenblat Céline
Dear all, I personally solved my problems with R using R-Studio… Hope it can help... Best Celine > Le 15 févr. 2016 à 16:12, Berend Hasselman a écrit : > > >> On 15 Feb 2016, at 15:48, Brandon Hurr wrote: >> >> Berend, >> >> I realize this is slightly off the goal of getting java working

Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-15 Thread Berend Hasselman
> On 15 Feb 2016, at 15:48, Brandon Hurr wrote: > > Berend, > > I realize this is slightly off the goal of getting java working on your > system, but it looks like you're using rJava to extract data from Excel > files. Have you considered or tested using the readXL package instead? I > beli

Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-15 Thread Brandon Hurr
Berend, I realize this is slightly off the goal of getting java working on your system, but it looks like you're using rJava to extract data from Excel files. Have you considered or tested using the readXL package instead? I believe it does not require rJava to work. https://github.com/hadley/rea

Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-15 Thread Berend Hasselman
> On 14 Feb 2016, at 23:13, Simon Urbanek wrote: > > Check DYLD_FALLBACK_LIBRARY_PATH - it must include your Java: > >> Sys.getenv("DYLD_FALLBACK_LIBRARY_PATH") > [1] > "/Library/Frameworks/R.framework/Resources/lib:/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre/lib/server

Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-14 Thread Simon Urbanek
Check DYLD_FALLBACK_LIBRARY_PATH - it must include your Java: > Sys.getenv("DYLD_FALLBACK_LIBRARY_PATH") [1] "/Library/Frameworks/R.framework/Resources/lib:/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre/lib/server" if it doesn't, your R is not correctly configured. Oracle's

Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-14 Thread Berend Hasselman
> On 14 Feb 2016, at 12:31, Prof Brian Ripley wrote: > > On 14/02/2016 11:24, Berend Hasselman wrote: >> >>> On 14 Feb 2016, at 11:48, Prof Brian Ripley wrote: >>> >>> Your Java is seriously old. Start by updating it (1.8.0_74 is current, >>> AFAIK). >>> >>> I can reproduce this with the C

Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-14 Thread Prof Brian Ripley
On 14/02/2016 11:24, Berend Hasselman wrote: On 14 Feb 2016, at 11:48, Prof Brian Ripley wrote: Your Java is seriously old. Start by updating it (1.8.0_74 is current, AFAIK). I can reproduce this with the CRAN binary packages, but installing the packages from source works for me on El Capi

Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-14 Thread Berend Hasselman
> On 14 Feb 2016, at 11:48, Prof Brian Ripley wrote: > > Your Java is seriously old. Start by updating it (1.8.0_74 is current, > AFAIK). > > I can reproduce this with the CRAN binary packages, but installing the > packages from source works for me on El Capitan (using the CRAN binary R).

Re: [R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-14 Thread Prof Brian Ripley
Your Java is seriously old. Start by updating it (1.8.0_74 is current, AFAIK). I can reproduce this with the CRAN binary packages, but installing the packages from source works for me on El Capitan (using the CRAN binary R). So I suspect a problem with the CRAN binary package of rJava, which

[R-SIG-Mac] Issues with rJava on OS X El Capitan

2016-02-14 Thread Berend Hasselman
I have installed rJava, xlsx, xlsxjars, XLConnect and XLConnectJars. Executing library(xlsx) gives this output Loading required package: rJava Loading required package: xlsxjars Error : .onLoad failed in loadNamespace() for 'xlsx', details: call: .jinit() error: JNI_GetCreatedJavaVMs returned