Hi,
I have downloaded the pre-compiled version of R package:
r-base-core(3.2.2-1) for i386 platform. Unzipped the package under my tmp
directory (/tmp). The directories "et"c and "usr" got
created with binaries
R and Rscript under /tmp/usr/bin/.
Executing the R (/tmp/usr/bin/R) or Rscript (/tmp/usr/bin/Rscipt) reports
the below error,
./usr/bin/R
./usr/bin/R: line 238:
/usr/lib/R/etc/ldpaths: No such file or directory
ERROR: R_HOME ('/usr/lib/R') not found
How to reconfigure the R environment variables? Because, i tried setting
the R_HOME directory to "/tmp/usr/lib/R" but still not working.
The Linux version i am using is 2.6.32. Please help me with the steps to
install the R correctly. Thanks.
Regards
Sasi
[[alternative HTML version deleted]]
It's very likely that there is already an R package for your linux system, and, if so, you'd probably be well-served to use that one. You've given us the version of the kernel you're using (not a recent one, BTW), but what linux distribution are you using? -- Mike On Tue, Oct 6, 2015 at 3:59 PM, Sasikumar Kandhasamy <ckmsasi at gmail.com> wrote:> Hi, > > I have downloaded the pre-compiled version of R package: > r-base-core(3.2.2-1) for i386 platform. Unzipped the package under my tmp > directory (/tmp). The directories "et"c and "usr" got created with binaries > R and Rscript under /tmp/usr/bin/. > > Executing the R (/tmp/usr/bin/R) or Rscript (/tmp/usr/bin/Rscipt) reports > the below error, > > ./usr/bin/R > ./usr/bin/R: line 238: > /usr/lib/R/etc/ldpaths: No such file or directory > ERROR: R_HOME ('/usr/lib/R') not found > > How to reconfigure the R environment variables? Because, i tried setting > the R_HOME directory to "/tmp/usr/lib/R" but still not working. > > The Linux version i am using is 2.6.32. Please help me with the steps to > install the R correctly. Thanks. > > Regards > Sasi > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.
Thanks a lot Mike. The Linux distribution we use is "Red Hat Enterprise Linux Server release 6.2". Also, couple of clarifications, 1. Do we have a R package compatibility matrix against the Linux kernel version? Or for the Red Hat Linux with kernel version 2.6.32-279, do you have any suggestion/recommendation on R package to be used? 2. If we need to use Rscripts in embedded systems such as routers and switches, do we need to install the complete R package in the system also? Or just libR.so and Rscript should be ok? Thanks again Mike. Regards Sasi On Tue, Oct 6, 2015 at 5:57 PM, Michael Hannon <jmhannon.ucdavis at gmail.com> wrote:> It's very likely that there is already an R package for your linux > system, and, if so, you'd probably be well-served to use that one. > You've given us the version of the kernel you're using (not a recent > one, BTW), but what linux distribution are you using? > > -- Mike > > > On Tue, Oct 6, 2015 at 3:59 PM, Sasikumar Kandhasamy <ckmsasi at gmail.com> > wrote: > > Hi, > > > > I have downloaded the pre-compiled version of R package: > > r-base-core(3.2.2-1) for i386 platform. Unzipped the package under my tmp > > directory (/tmp). The directories "et"c and "usr" got created with > binaries > > R and Rscript under /tmp/usr/bin/. > > > > Executing the R (/tmp/usr/bin/R) or Rscript (/tmp/usr/bin/Rscipt) reports > > the below error, > > > > ./usr/bin/R > > ./usr/bin/R: line 238: > > /usr/lib/R/etc/ldpaths: No such file or directory > > ERROR: R_HOME ('/usr/lib/R') not found > > > > How to reconfigure the R environment variables? Because, i tried setting > > the R_HOME directory to "/tmp/usr/lib/R" but still not working. > > > > The Linux version i am using is 2.6.32. Please help me with the steps to > > install the R correctly. Thanks. > > > > Regards > > Sasi > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > 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. >[[alternative HTML version deleted]]