[R] Problem installing R packages in OpenBSD
Bruce
bthatcher at att.net
Mon Jul 2 23:19:32 CEST 2007
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
More information about the R-help
mailing list