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
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 at 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 at 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.
Thanks Jeff, for the patience to answer my newbie question, now I know which way to look. Sasha On 09/02/2018 12:29 AM, Jeff Newmiller wrote:> 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 at 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 at 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. >