[Rd] Startup problem in 2.0.1 with install to /opt/R (PR#7437)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Dec 21 09:36:20 CET 2004


Stephen.Harker at spme.monash.edu.au writes:

> Full_Name: Stephen Harker
> Version: 2.0.1
> OS: Linux ppc YDL 3.01
> Submission from: (NULL) (130.194.13.106)
> 
> 
> I have made R 2.0.1 using YellowDog Linux 3.0.1 (kernel 2.6.7) on a 
> powerpc machine.  This is to replace R 1.9.1. It makes without an error.
> However, when I do `make check' towards the end I obtain the 
> following: 
> 
> make[3]: Entering directory `/home/sjh/GS/R-2.0.1/tests'
> running code in 'internet.R' ...make[3]: *** [internet.Rout] Error 1
> make[3]: Leaving directory `/home/sjh/GS/R-2.0.1/tests'
> make[2]: [test-Internet] Error 2 (ignored)
> make[2]: Leaving directory `/home/sjh/GS/R-2.0.1/tests'
> make[1]: Leaving directory `/home/sjh/GS/R-2.0.1/tests'
> 
> Beyond that  I found that running R from the build directory works okay.
> T he configure script was set to install to /opt/R (using `configure
> --prefix=/opt/R').  After `make install' when I try running version
> 2.0.1 I get :
> 
> Error in gzfile(file, "rb") : unable to open connection
> In addition: Warning message: 
> cannot open compressed file `/opt/R/lib/R/library/base/R/base.rdx' 
> Error: couldn't find function "attach"
> 
> R : Copyright 2004, The R Foundation for Statistical Computing
> Version 2.0.1  (2004-11-15), ISBN 3-900051-07-0
> 
> None of the base commands are understood.
> This suggests that a path somewhere is not being set correctly.

Or that something didn't get copied into place by "make install".
E.g., does /opt/R/lib/R/library/base/R/base.rdx actually exist?
One common problem is if you have a competing "install" script/command
in your path, although I suspect that normally bites earlier.

It's normal to have failures from internet.R (if for instance you are
not on-line at the time) which is why they are ignored.

        -p

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list