Hello.

It's been quite a while since using OpenBSD (and no OpenBSD here for me to
check this out), but I do remember having to reset some of the path entries.
Can you check the directory settings in the main R script and see if that's
where the "fake-..." is coming from?  This looks like a setting for the
OpenBSD package creation that didn't get changed after package installation.

Hope this helps,

Jon


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Bruce
Sent: Mon 7/2/2007 5:19 PM
To: r-help@stat.math.ethz.ch
Subject: [R] Problem installing R packages in OpenBSD
 
OS:  OpenBSD version 4.1 i386
R version 2.4.1 (2006-12-18) installed as a binary package

$ ls
mapproj_1.1-7.1.tar.gz     maps_2.0-36.tar.gz

$ sudo R CMD INSTALL mapproj_1.1-7.1.tar.gz

/usr/local/lib/R/bin/INSTALL[118]: 
  .: /usr/obj/i386/R-2.4.1/fake-i386/usr/local/lib/R/share/sh/dcf.sh: not 
found

I get the same error message from the R command prompt using 
install.packages("mapproj", dep=TRUE)

Questions regarding  /usr/obj/i386/R-2.4.1/fake-i386:  
o Where did this path come from?  
o Is there a conflict between OpenBSD ports and R packages?
o Is OpenBSD ports trying to do the package install?  If so, how do I stop
it?

Please note that I have installed R packages successfully on Linux, Windows
XP 
and FreeBSD.

Background information
-------------------------------------------
Environment variables:
$ echo $R_HOME
/usr/local/lib/R
$ echo $R_LIBS
/usr/local/lib/R/library

R install:
$ pwd
/usr/local/lib/R/share/sh
$ ls -l
total 16
-r--r--r--  1 root  bin   392 Mar  9 00:57 dcf.sh
-r--r--r--  1 root  bin    27 Mar  9 00:57 echo.sh
-r--r--r--  1 root  bin  1506 Mar  9 00:57 help-links.sh
-r--r--r--  1 root  bin   825 Mar  9 00:57 help-print.sh

Thanks

______________________________________________
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.

Reply via email to