Re: [R] installing the x86_64 R Binary on Fedora Core 5

From: Marc Schwartz (via MN) <mschwartz_at_mn.rr.com>
Date: Fri 25 Aug 2006 - 02:11:59 EST

Roger,

The Windows packages will not run on Linux. You will need to install them using the Linux versions (.tar.gz files) of the CRAN packages.

You can copy them from a CRAN mirror to your USB drive and then install them locally using

  R CMD INSTALL PackageName.tar.gz

This will again need to be done as root using 'su' from the console.

Note that depending upon the nature of the package (ie. does it uses C and/or FORTRAN code or require third party libraries), you may get errors during the installation process if you are missing required code/applications/header files.

HTH, Marc

On Thu, 2006-08-24 at 11:50 -0400, roger bos wrote:
> Thanks so much Marc & Stefan! The GUI wasn't telling me what I was
> missing. The terminal told me I was missing tk-8.4.12-1.2.x86_64.rpm so I
> went and got that and it installed without errors. Then I could't figure
> out how to launch R through the GUI so I went back to the terminal and typed
> "R" and it launched. I have a lot to learn but I want to thank you so much
> for getting me started.
>
> Another question:
> As I said, I don't have internet access on the linux machine, so is there
> any way to copy the library folder from my windows machine to the linux box
> and install the packages from there?
>
> Roger
>
>
>
>
> On 8/24/06, Stefan Grosse <singularitaet@gmx.net> wrote:
> >
> > Hi Roger,
> >
> > I dunno what exactly might be the source of that mistake but I would
> > strongly recommend to install R while you are online. Often other
> > packages must be installed for dependencies.
> >
> > (And then I recommend using the smart package manager (
> > http://labix.org/smart ) which is a great tool and handling dependencies
> > better.)
> >
> > You could use rpm at the command line level.
> >
> > open a shell, type su and give your password, change to the folder where
> > the rpm is downloaded to, type
> > rpm -ivh R-2.3.1-1.fc5.x86_64.rpm will try to install and give you
> > information on whats missing...
> >
> > Stefan Grosse
> >
> > roger bos schrieb:
> > > I am looking for help install the x86_64 R Binary onto my FC5
> > machine. At
> > > the risk of subjecting myself to tons of criticism, I must confess that
> > I
> > > don't know anything about Linux and I have never compiled R from source.
> > > Therefore, I choose FC5 because I see that a 64-bit binary is already
> > > available.
> > >
> > > Here is what I tried: I installed FC5 with all options (productivity,
> > > software development, and web server). FC5 boots up fine. I downloaded
> > all
> > > the R binary files in that FC5 directory to my USB drive and copied
> > > them onto my linux machine (where I don't yet have internet access). I
> > > created a folder in my rbos's Home directory and copied the files
> > there. I
> > > clicked on the R-2.3.1-1.fc5.x86_64.rpm and right-clicked to choose
> > 'open
> > > with "install software"' It asked me for my root password. I put in
> > the
> > > same root password I choose when I installed FC5. I get a "installing
> > > packages" screen that shows the R filename and I click Apply. It then
> > give
> > > me an Error: "Unable to retrieve software information".
> > >
> > > Can anyone tell me what steps I am missing? The R install guide states
> > that
> > > binary installs are platform specific so it only considers building from
> > the
> > > sources. I look forward to learning a lot about Linux and using more
> > than
> > > just the GUI, but to get started, I just want to learn how to install a
> > > binary of R.
> > >
> > > Thanks so much,
> > >
> > > Roger
> > >
> > > [[alternative HTML version deleted]]
> > >
> > > ______________________________________________
> > > R-help@stat.math.ethz.ch mailing list
> > > 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@stat.math.ethz.ch mailing list
> 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@stat.math.ethz.ch mailing list
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. Received on Fri Aug 25 02:47:00 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 25 Aug 2006 - 04:26:29 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.