FS#3433 - R project CRAN mirror path is wrong
Attached to Project:
Arch Linux
Opened by Norman Su (normsu) - Sunday, 06 November 2005, 07:37 GMT
Last edited by arjan timmerman (blaasvis) - Sunday, 06 November 2005, 10:09 GMT
Opened by Norman Su (normsu) - Sunday, 06 November 2005, 07:37 GMT
Last edited by arjan timmerman (blaasvis) - Sunday, 06 November 2005, 10:09 GMT
|
Details
Libraries in R can be fetched online and installed
automatically in the R environment. See page 13 of
http://cran.r-project.org/doc/manuals/R-admin.pdf
Running chooseCRANmirror() in R results in the following error: > chooseCRANmirror() Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file '/home/damir/cvsARCH/extra/science/r/pkg/usr/lib/R/doc/CRAN_mirrors.csv', reason 'No such file or directory' The above path should point to the actual installation directory of R, rather than the directory where the package was created. |
This task depends upon
Closed by Damir Perisa (damir.perisa)
Wednesday, 16 November 2005, 22:51 GMT
Reason for closing: Fixed
Additional comments about closing: thanx for reporting and patience ;-)
Wednesday, 16 November 2005, 22:51 GMT
Reason for closing: Fixed
Additional comments about closing: thanx for reporting and patience ;-)
sed -i -e 's@^R_SHARE_DIR=.*$@R_SHARE_DIR=/usr/lib/R/share@' $startdir/pkg/usr/bin/R
sed -i -e 's@^R_INCLUDE_DIR=.*$@R_INCLUDE_DIR=/usr/lib/R/include@' $startdir/pkg/usr/bin/R
sed -i -e 's@^R_DOC_DIR=.*$@R_DOC_DIR=/usr/lib/R/doc@' $startdir/pkg/usr/bin/R
Thanks.
next time i write i will do something asap and nothing happens, please remind me that nothing happened ;-)
when i come home, i will rerelease it ...