Re: [R] Installing pre-compiled R in Linux

2015-10-08 Thread Jeff Newmiller
There is a manual for compiling and installing R. There is also a mailing list 
(described in the Posting Guide) called R-devel where topics like compiling R 
are actually on topic, unlike here. If you have to cross-compile then you 
probably have a bit more work ahead of you than most users would have, so be 
prepared to roll up your sleeves and get familiar with the innards of R so you 
can decide exactly which features you need. I have not heard of anyone rolling 
R into an embedded system, but this list would not be the place to hear about 
it so that probably doesn't mean much.
---
Jeff NewmillerThe .   .  Go Live...
DCN:Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

On October 7, 2015 3:45:45 PM PDT, Sasikumar Kandhasamy  
wrote:
>Thanks Mike. From source, i am able to compile and use R in my red hat
>linux box. I was trying to get hands on using R in linux box before
>trying
>R on the embedded box.
>
>My requirement is to run R (R scripts) on my embedded box which has
>customized debian linux (kernel version 2.6.32) in batch mode without
>GUI
>support. The embedded box have multi-core MIPS processor with nearly
>30GB
>RAM. I hope hardware resources on the embedded box shouldn't be an
>issue to
>run R (correct me if i am wrong), but linux version running here is an
>customized one with limited supporting services such as light weight
>shell
>etc.
>
>Given this, do i need to cross compile R package for my embedded box or
>i
>can directly install the debian MIPS version of R package. But there is
>no
>apt-get or other installer in the embedded box.
>
>
>Regards
>Sasi
>
>On Wed, Oct 7, 2015 at 1:46 AM, Michael Hannon
>
>wrote:
>
>> I don't think kernel compatibility is a significant issue for most
>> applications.  I can say for certain that I update the kernels on my
>> linux boxes without having to reinstall R.
>>
>> There *are* R packages for RHEL and friends.  Have a look at:
>>
>> https://cran.r-project.org/bin/linux/redhat/README
>>
>> Note that there's a bit of fiddling required, but I don't think it's
>> particularly complicated.
>>
>> It's usually not particularly difficult to install R from source.  If
>> you prefer to do that, have a look at:
>>
>> https://cran.r-project.org/doc/manuals/r-release/R-admin.html
>>
>> Also, you don't specify your requirements, but don't overlook the
>> possibility of installing a virtual machine on your RHEL server.
>> (It's somewhat easier to get an R package for Fedora or Ubuntu than
>> for RHEL, for instance.)
>>
>> I don't know the answer to your question about embedded systems.  I
>> would think R would not be a great choice for an embedded system, but
>> I don't know what your requirements are.
>>
>> -- Mike
>>
>>
>> On Tue, Oct 6, 2015 at 9:42 PM, Sasikumar Kandhasamy
>
>> wrote:
>> > 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.ucda...@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
>> >
>> >> 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
>> >> > 

Re: [R] Installing pre-compiled R in Linux

2015-10-08 Thread Sasikumar Kandhasamy
Sure Jeff, thanks a lot for the references. Will explore more and will also
try to contact R-devel list for further help on cross compile. Thanks again
to all for the quick responses.

Thanks & Regards
Sasi

On Thu, Oct 8, 2015 at 12:11 AM, Jeff Newmiller 
wrote:

> There is a manual for compiling and installing R. There is also a mailing
> list (described in the Posting Guide) called R-devel where topics like
> compiling R are actually on topic, unlike here. If you have to
> cross-compile then you probably have a bit more work ahead of you than most
> users would have, so be prepared to roll up your sleeves and get familiar
> with the innards of R so you can decide exactly which features you need. I
> have not heard of anyone rolling R into an embedded system, but this list
> would not be the place to hear about it so that probably doesn't mean much.
> ---
> Jeff NewmillerThe .   .  Go Live...
> DCN:Basics: ##.#.   ##.#.  Live
> Go...
>   Live:   OO#.. Dead: OO#..  Playing
> Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
> /Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
> ---
> Sent from my phone. Please excuse my brevity.
>
> On October 7, 2015 3:45:45 PM PDT, Sasikumar Kandhasamy 
> wrote:
> >Thanks Mike. From source, i am able to compile and use R in my red hat
> >linux box. I was trying to get hands on using R in linux box before
> >trying
> >R on the embedded box.
> >
> >My requirement is to run R (R scripts) on my embedded box which has
> >customized debian linux (kernel version 2.6.32) in batch mode without
> >GUI
> >support. The embedded box have multi-core MIPS processor with nearly
> >30GB
> >RAM. I hope hardware resources on the embedded box shouldn't be an
> >issue to
> >run R (correct me if i am wrong), but linux version running here is an
> >customized one with limited supporting services such as light weight
> >shell
> >etc.
> >
> >Given this, do i need to cross compile R package for my embedded box or
> >i
> >can directly install the debian MIPS version of R package. But there is
> >no
> >apt-get or other installer in the embedded box.
> >
> >
> >Regards
> >Sasi
> >
> >On Wed, Oct 7, 2015 at 1:46 AM, Michael Hannon
> >
> >wrote:
> >
> >> I don't think kernel compatibility is a significant issue for most
> >> applications.  I can say for certain that I update the kernels on my
> >> linux boxes without having to reinstall R.
> >>
> >> There *are* R packages for RHEL and friends.  Have a look at:
> >>
> >> https://cran.r-project.org/bin/linux/redhat/README
> >>
> >> Note that there's a bit of fiddling required, but I don't think it's
> >> particularly complicated.
> >>
> >> It's usually not particularly difficult to install R from source.  If
> >> you prefer to do that, have a look at:
> >>
> >> https://cran.r-project.org/doc/manuals/r-release/R-admin.html
> >>
> >> Also, you don't specify your requirements, but don't overlook the
> >> possibility of installing a virtual machine on your RHEL server.
> >> (It's somewhat easier to get an R package for Fedora or Ubuntu than
> >> for RHEL, for instance.)
> >>
> >> I don't know the answer to your question about embedded systems.  I
> >> would think R would not be a great choice for an embedded system, but
> >> I don't know what your requirements are.
> >>
> >> -- Mike
> >>
> >>
> >> On Tue, Oct 6, 2015 at 9:42 PM, Sasikumar Kandhasamy
> >
> >> wrote:
> >> > 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.ucda...@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
> >

Re: [R] Installing pre-compiled R in Linux

2015-10-07 Thread Sasikumar Kandhasamy
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 
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 
> 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@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]]

__
R-help@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.


Re: [R] Installing pre-compiled R in Linux

2015-10-07 Thread Michael Hannon
Hi, Sasi.  Yes, I think that getting familiar with R in a "friendly"
context before dealing with your embedded system is a good idea.  Note
that the non-GUI part of R is more or less identical across platforms.
Hence, you could experiment with it on a Macbook, a Surface tablet,
etc., etc., if you're just seeking to get established in R.

The hardware configuration of your embedded system seems reasonable,
but again, I don't know what your run-time requirements will be.  Note
in particular that R likes to have objects resident in memory, so if
you're trying to process a 40GB data file on your embedded system,
you're probably out of luck.

I would certainly start by trying to install the Debian package for R.
Even if you don't have apt-get, I would think you'd at least have the
"dpkg" utility:

https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html

If so, you could use that to install R (provided you have managed to
download the appropriate <*.deb> package for R).



On Wed, Oct 7, 2015 at 3:45 PM, Sasikumar Kandhasamy  wrote:
> Thanks Mike. From source, i am able to compile and use R in my red hat linux
> box. I was trying to get hands on using R in linux box before trying R on
> the embedded box.
>
> My requirement is to run R (R scripts) on my embedded box which has
> customized debian linux (kernel version 2.6.32) in batch mode without GUI
> support. The embedded box have multi-core MIPS processor with nearly 30GB
> RAM. I hope hardware resources on the embedded box shouldn't be an issue to
> run R (correct me if i am wrong), but linux version running here is an
> customized one with limited supporting services such as light weight shell
> etc.
>
> Given this, do i need to cross compile R package for my embedded box or i
> can directly install the debian MIPS version of R package. But there is no
> apt-get or other installer in the embedded box.
>
>
> Regards
> Sasi
>
> On Wed, Oct 7, 2015 at 1:46 AM, Michael Hannon 
> wrote:
>>
>> I don't think kernel compatibility is a significant issue for most
>> applications.  I can say for certain that I update the kernels on my
>> linux boxes without having to reinstall R.
>>
>> There *are* R packages for RHEL and friends.  Have a look at:
>>
>> https://cran.r-project.org/bin/linux/redhat/README
>>
>> Note that there's a bit of fiddling required, but I don't think it's
>> particularly complicated.
>>
>> It's usually not particularly difficult to install R from source.  If
>> you prefer to do that, have a look at:
>>
>> https://cran.r-project.org/doc/manuals/r-release/R-admin.html
>>
>> Also, you don't specify your requirements, but don't overlook the
>> possibility of installing a virtual machine on your RHEL server.
>> (It's somewhat easier to get an R package for Fedora or Ubuntu than
>> for RHEL, for instance.)
>>
>> I don't know the answer to your question about embedded systems.  I
>> would think R would not be a great choice for an embedded system, but
>> I don't know what your requirements are.
>>
>> -- Mike
>>
>>
>> On Tue, Oct 6, 2015 at 9:42 PM, Sasikumar Kandhasamy 
>> wrote:
>> > 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
>> > 
>> > 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
>> >> 
>> >> 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 

Re: [R] Installing pre-compiled R in Linux

2015-10-07 Thread Michael Hannon
I don't think kernel compatibility is a significant issue for most
applications.  I can say for certain that I update the kernels on my
linux boxes without having to reinstall R.

There *are* R packages for RHEL and friends.  Have a look at:

https://cran.r-project.org/bin/linux/redhat/README

Note that there's a bit of fiddling required, but I don't think it's
particularly complicated.

It's usually not particularly difficult to install R from source.  If
you prefer to do that, have a look at:

https://cran.r-project.org/doc/manuals/r-release/R-admin.html

Also, you don't specify your requirements, but don't overlook the
possibility of installing a virtual machine on your RHEL server.
(It's somewhat easier to get an R package for Fedora or Ubuntu than
for RHEL, for instance.)

I don't know the answer to your question about embedded systems.  I
would think R would not be a great choice for an embedded system, but
I don't know what your requirements are.

-- Mike


On Tue, Oct 6, 2015 at 9:42 PM, Sasikumar Kandhasamy  wrote:
> 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 
> 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 
>> 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@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.
>
>

__
R-help@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.


Re: [R] Installing pre-compiled R in Linux

2015-10-07 Thread Sasikumar Kandhasamy
Thanks a lot Mike & others for the valuable input. I was wrong on debian
linux on the embedded box, it is monta vista embedded linux.

I hope, there is no R core package available for monta vista distribution
and i may need to cross compile from R source. Please correct me if i am
wrong.

Thanks & Regards
Sasi

On Wed, Oct 7, 2015 at 4:02 PM, Michael Hannon 
wrote:

> Hi, Sasi.  Yes, I think that getting familiar with R in a "friendly"
> context before dealing with your embedded system is a good idea.  Note
> that the non-GUI part of R is more or less identical across platforms.
> Hence, you could experiment with it on a Macbook, a Surface tablet,
> etc., etc., if you're just seeking to get established in R.
>
> The hardware configuration of your embedded system seems reasonable,
> but again, I don't know what your run-time requirements will be.  Note
> in particular that R likes to have objects resident in memory, so if
> you're trying to process a 40GB data file on your embedded system,
> you're probably out of luck.
>
> I would certainly start by trying to install the Debian package for R.
> Even if you don't have apt-get, I would think you'd at least have the
> "dpkg" utility:
>
> https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html
>
> If so, you could use that to install R (provided you have managed to
> download the appropriate <*.deb> package for R).
>
>
>
> On Wed, Oct 7, 2015 at 3:45 PM, Sasikumar Kandhasamy 
> wrote:
> > Thanks Mike. From source, i am able to compile and use R in my red hat
> linux
> > box. I was trying to get hands on using R in linux box before trying R on
> > the embedded box.
> >
> > My requirement is to run R (R scripts) on my embedded box which has
> > customized debian linux (kernel version 2.6.32) in batch mode without GUI
> > support. The embedded box have multi-core MIPS processor with nearly 30GB
> > RAM. I hope hardware resources on the embedded box shouldn't be an issue
> to
> > run R (correct me if i am wrong), but linux version running here is an
> > customized one with limited supporting services such as light weight
> shell
> > etc.
> >
> > Given this, do i need to cross compile R package for my embedded box or i
> > can directly install the debian MIPS version of R package. But there is
> no
> > apt-get or other installer in the embedded box.
> >
> >
> > Regards
> > Sasi
> >
> > On Wed, Oct 7, 2015 at 1:46 AM, Michael Hannon <
> jmhannon.ucda...@gmail.com>
> > wrote:
> >>
> >> I don't think kernel compatibility is a significant issue for most
> >> applications.  I can say for certain that I update the kernels on my
> >> linux boxes without having to reinstall R.
> >>
> >> There *are* R packages for RHEL and friends.  Have a look at:
> >>
> >> https://cran.r-project.org/bin/linux/redhat/README
> >>
> >> Note that there's a bit of fiddling required, but I don't think it's
> >> particularly complicated.
> >>
> >> It's usually not particularly difficult to install R from source.  If
> >> you prefer to do that, have a look at:
> >>
> >> https://cran.r-project.org/doc/manuals/r-release/R-admin.html
> >>
> >> Also, you don't specify your requirements, but don't overlook the
> >> possibility of installing a virtual machine on your RHEL server.
> >> (It's somewhat easier to get an R package for Fedora or Ubuntu than
> >> for RHEL, for instance.)
> >>
> >> I don't know the answer to your question about embedded systems.  I
> >> would think R would not be a great choice for an embedded system, but
> >> I don't know what your requirements are.
> >>
> >> -- Mike
> >>
> >>
> >> On Tue, Oct 6, 2015 at 9:42 PM, Sasikumar Kandhasamy  >
> >> wrote:
> >> > 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
> >> > 
> >> > 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
> >> >> 
> >> >> wrote:
> >> >> > Hi,
> >> >> >
> >> >> > I 

Re: [R] Installing pre-compiled R in Linux

2015-10-07 Thread Sasikumar Kandhasamy
Thanks Mike. From source, i am able to compile and use R in my red hat
linux box. I was trying to get hands on using R in linux box before trying
R on the embedded box.

My requirement is to run R (R scripts) on my embedded box which has
customized debian linux (kernel version 2.6.32) in batch mode without GUI
support. The embedded box have multi-core MIPS processor with nearly 30GB
RAM. I hope hardware resources on the embedded box shouldn't be an issue to
run R (correct me if i am wrong), but linux version running here is an
customized one with limited supporting services such as light weight shell
etc.

Given this, do i need to cross compile R package for my embedded box or i
can directly install the debian MIPS version of R package. But there is no
apt-get or other installer in the embedded box.


Regards
Sasi

On Wed, Oct 7, 2015 at 1:46 AM, Michael Hannon 
wrote:

> I don't think kernel compatibility is a significant issue for most
> applications.  I can say for certain that I update the kernels on my
> linux boxes without having to reinstall R.
>
> There *are* R packages for RHEL and friends.  Have a look at:
>
> https://cran.r-project.org/bin/linux/redhat/README
>
> Note that there's a bit of fiddling required, but I don't think it's
> particularly complicated.
>
> It's usually not particularly difficult to install R from source.  If
> you prefer to do that, have a look at:
>
> https://cran.r-project.org/doc/manuals/r-release/R-admin.html
>
> Also, you don't specify your requirements, but don't overlook the
> possibility of installing a virtual machine on your RHEL server.
> (It's somewhat easier to get an R package for Fedora or Ubuntu than
> for RHEL, for instance.)
>
> I don't know the answer to your question about embedded systems.  I
> would think R would not be a great choice for an embedded system, but
> I don't know what your requirements are.
>
> -- Mike
>
>
> On Tue, Oct 6, 2015 at 9:42 PM, Sasikumar Kandhasamy 
> wrote:
> > 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.ucda...@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  >
> >> 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@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]]

__
R-help@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.


Re: [R] Installing pre-compiled R in Linux

2015-10-07 Thread peter dalgaard

On 07 Oct 2015, at 13:05 , Jeroen Ooms  wrote:

>> On Tue, Oct 6, 2015 at 9:42 PM, Sasikumar Kandhasamy  
>> wrote:
>>> Thanks a lot Mike. The Linux distribution we use is "Red Hat Enterprise
>>> Linux Server release 6.2".
> 
> On RHEL and CentOS the easiest and most reliable way to get R and R
> packages is via EPEL. Simply add the EPEL repositories and from there
> on you can install R and R packages as you would do on Fedora.
> 

Pretty much no Linux distribution expects you to install anything by "unzipping 
compiled code". They generally have a packaging format like .rpm or .deb, and 
even then you can't mix them freely between different distributions -- SUSE 
.rpm are usually not interchangeable with RedHat and vice versa. You generally 
access them from curated package repositories using tools like yum or apt-get. 
One exception may be Slackware. At any rate, whereever you got your zipfile 
from, it is most likely wrong for RHEL.


-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd@cbs.dk  Priv: pda...@gmail.com

__
R-help@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.


Re: [R] Installing pre-compiled R in Linux

2015-10-07 Thread Jeroen Ooms
> On Tue, Oct 6, 2015 at 9:42 PM, Sasikumar Kandhasamy  
> wrote:
>> Thanks a lot Mike. The Linux distribution we use is "Red Hat Enterprise
>> Linux Server release 6.2".

On RHEL and CentOS the easiest and most reliable way to get R and R
packages is via EPEL. Simply add the EPEL repositories and from there
on you can install R and R packages as you would do on Fedora.

__
R-help@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.


Re: [R] Installing pre-compiled R in Linux

2015-10-07 Thread stephen sefick
I couldn't tell from the OP's message what distribution they have
installed. If it is redhat (or a derivative), the extra packages for
enterprise linux (epel) has up-to-date R packages to install with yum. I
have had some minor issues with installing A FEW (mostly GIS related)
packages that were easily solved with google and careful reading of the
error messages.
HTH,

Stephen

On Wed, Oct 7, 2015 at 6:32 AM, peter dalgaard  wrote:

>
> On 07 Oct 2015, at 13:05 , Jeroen Ooms  wrote:
>
> >> On Tue, Oct 6, 2015 at 9:42 PM, Sasikumar Kandhasamy 
> wrote:
> >>> Thanks a lot Mike. The Linux distribution we use is "Red Hat Enterprise
> >>> Linux Server release 6.2".
> >
> > On RHEL and CentOS the easiest and most reliable way to get R and R
> > packages is via EPEL. Simply add the EPEL repositories and from there
> > on you can install R and R packages as you would do on Fedora.
> >
>
> Pretty much no Linux distribution expects you to install anything by
> "unzipping compiled code". They generally have a packaging format like .rpm
> or .deb, and even then you can't mix them freely between different
> distributions -- SUSE .rpm are usually not interchangeable with RedHat and
> vice versa. You generally access them from curated package repositories
> using tools like yum or apt-get. One exception may be Slackware. At any
> rate, whereever you got your zipfile from, it is most likely wrong for RHEL.
>
>
> --
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Office: A 4.23
> Email: pd@cbs.dk  Priv: pda...@gmail.com
>
> __
> R-help@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.
>



-- 
Stephen Sefick
**
Auburn University
Biological Sciences
331 Funchess Hall
Auburn, Alabama
36849
**
sas0...@auburn.edu
http://www.auburn.edu/~sas0025
**

Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods.  We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis

"A big computer, a complex algorithm and a long time does not equal
science."

  -Robert Gentleman

[[alternative HTML version deleted]]

__
R-help@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.


[R] Installing pre-compiled R in Linux

2015-10-06 Thread Sasikumar Kandhasamy
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@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.


Re: [R] Installing pre-compiled R in Linux

2015-10-06 Thread Michael Hannon
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  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@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.

__
R-help@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.