[R] Specifying Java runtime path

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Sat Sep 1 18:29:04 CEST 2018


Wouldn't that be the usual way... by exporting environment variables? You can cobble together the right settings using Sys.setenv(), but this kind of thing is best handled in your user-level OS configuration (~/.profile?) and this is not the right place to learn about how to muck with your OS.

On August 31, 2018 4:58:57 PM PDT, Jiayue Wang <sasha.wang2017 using yandex.com> wrote:
>My Java interpreter etc. are not in the "standard" paths (I use Oracle 
>JDK, which was installed in /opt) so I keep getting error messages when
>
>I tried to install packages that depend on rJava. How should Java 
>runtime specs be specified?
>
>Thanks
>
>Sasha
>
>______________________________________________
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

-- 
Sent from my phone. Please excuse my brevity.




More information about the R-help mailing list