Skip to content

Running R

6 messages · Pramod Anugu, Andrew Perrin, Jonathan Baron +1 more

#
At step 5, don't copy the file. Instead, do:

make install

----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Assistant Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
New Book: http://www.press.uchicago.edu/cgi-bin/hfs.cgi/00/178592.ctl
On Wed, 31 May 2006, Pramod Anugu wrote:

            
#
On 05/31/06 09:25, Pramod Anugu wrote:
The instructions say that you should use

make install

unless you want to run R from the directory into which you
unpacked it.
If you are using Fedora Core 5, the RPM works well.

Jon
#
Still the same problem after changing the step 5
 I have downloaded R-2.3.0.tar.gz for Linux 64 bit processor
 1. Untar  tar -zxvf R-2.3.0.tar.gz
 2. changed the directory to the newly created directory R-2.3.0
 3. Typed ./configure
 4. Typed make
 5. Typed make install
 6. Typed  R

 Fatal error: unable to open the base package
 I get the error message. Please advice

-----Original Message-----
From: Andrew Perrin [mailto:clists at perrin.socsci.unc.edu] 
Sent: Wednesday, May 31, 2006 9:33 AM
To: Pramod Anugu
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Running R

At step 5, don't copy the file. Instead, do:

make install

----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Assistant Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
New Book: http://www.press.uchicago.edu/cgi-bin/hfs.cgi/00/178592.ctl
On Wed, 31 May 2006, Pramod Anugu wrote:

            
http://www.R-project.org/posting-guide.html
#
On 05/31/06 09:39, Pramod Anugu wrote:
Other things to try (aside from make check):

1. Make sure you are "root" before you say "make install".

2. Check to see that the packages really got installed, after
"make install":
ls /usr/local/lib/R/
(should have several directories)

3. Open a new terminal window before you type "R".  (Sometimes
that matters.)

4. Look at config.log.  The make may not have even worked.  There 
are many dependencies.  Sometimes you need other programs, as
described in the installation and administration manual.

Jon
#
Jonathan Baron wrote:

            
Another idea is to have a symlink (here assuming your R was unpacked 
in /usr/local/src/R-2.3.0):

ln -s /usr/local/src/R-2.3.0/bin/R /usr/local/bin/R

  which essentially runs R from that R-2.3.0 directory.

But the 'make install' solution has the advantage that you can delete 
the source directory where you did the make step to clear out the source 
and save some disk space.

Barry