Re: [R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Sebastian Meyer
Dear Chris, Maybe you could try debugging the error > *** Java interpreter doesn't work properly. based on the underlying javareconf script. Scrolling through > less `R RHOME`/bin/javareconf we can see that the script exits from > echo "Java interpreter : $JAVA" > jires=`$JAVA -classpath

Re: [R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Dirk Eddelbuettel
On 22 January 2019 at 15:18, Johannes Ranke wrote: | Thanks for the offer. Personally, I am always glad to get some feedback from | people using the Debian backports on CRAN, so thanks for that. On the other | hand, I do not think that there is an error to be fixed. Of course it would be |

Re: [R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Johannes Ranke
Hi Chris, > I think the problem may be options setting where R/rJava will look for Java so I tried: > > options(java.home="/usr/lib/jvm/java-8-openjdk-amd64/") This should not be necessary. I would recommend to start a fresh R session in order to unset this. > As far as I can see Debian is

Re: [R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Chris Evans
Thanks Dirk and Enrico, First clarification: I'm in this mess because I'm trying to run R 3.5.2 within Debian stable (9/"sretch") using the stretch-cran35 repository. That uses and provides r-api-35 but many of the packages depend upon r-api-3. As Johannes said a day or so back, the way

Re: [R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Dirk Eddelbuettel
On 22 January 2019 at 10:14, Chris Evans wrote: | root@DebianAdvent:/home/chris/Downloads/gmp-6.1.2# apt-get install openjdk-8-jdk-headless | Reading package lists... Done | Building dependency tree | Reading state information... Done | openjdk-8-jdk-headless is already the newest version

Re: [R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Enrico Schumann
> "Chris" == Chris Evans writes: Chris> As ever, I learn from this: I didn't know apt-file. Got it, installed it, used it: Chris> root@DebianAdvent:/home/chris/Downloads/gmp-6.1.2# apt-file search jni.h Chris> android-libnativehelper-dev:

Re: [R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Dirk Eddelbuettel
On 22 January 2019 at 10:14, Chris Evans wrote: | Anyone else got any ideas? Java can be tricky and that is one of the reasons we have r-cran-rjava prebuilt for you. It should resolve issues and work because other binary packages depend on it. Otherwise, as Johannes hinted, you need a JDK if

Re: [R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Chris Evans
As ever, I learn from this: I didn't know apt-file. Got it, installed it, used it: root@DebianAdvent:/home/chris/Downloads/gmp-6.1.2# apt-file search jni.h android-libnativehelper-dev: /usr/include/android/nativehelper/jni.h android-platform-frameworks-native-headers:

Re: [R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Johannes Ranke
Am Dienstag, 22. Januar 2019, 08:27:14 CET schrieb Chris Evans: ... > error: jni.h: No such file or directory > #include > ^ > compilation terminated. You get a complaint that jni.h is missing. So one strategy would be to look for this file in the available packages: sudo apt-file search

[R-sig-Debian] So nearly there, but can't install rJava

2019-01-22 Thread Chris Evans
Wow, this has amplified my respect and gratitude for the R Debian repositories. Doing all the install.packages() and following the clues about missing dependencies has taken hours! However, I have almost all the packages I want installed on this machine and Rstudio and the shiny server are