Gorjanc Gregor
2005-Mar-15 09:29 UTC
[Rd] Package Installation on networked disk (was: Package Installation in RGui (PR#7262))
Hi again! I would just like to add that this surely must be a problem with network disks. As I reported yesterady in, https://stat.ethz.ch/pipermail/r-devel/2005-March/032431.html I have problems with installing packages on network drive (where I have R installed), marked N:> install.packages("gap")trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 26936 bytes opened URL downloaded 26Kb trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/gap_0.8-3.zip' Content type `application/zip' length 437644 bytes opened URL downloaded 427Kb package 'gap' successfully unpacked and MD5 sums checked Delete downloaded files (y/N)? y updating HTML package descriptions Warning message: unable to move temp installation 'N:/Ovce/Programi/R/rw2001/library\file4821/gap' to 'N:/Ovce/Programi/R/rw2001/library/gap'> library("gap")Error in library("gap") : There is no package called 'gap' But if I try to install package on local disk, marked C:> install.packages("gap", lib="C:/Programs/R/library") > install.packages("gap", lib="C:/Programs/R/library")trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 26936 bytes opened URL downloaded 26Kb trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/gap_0.8-3.zip' Content type `application/zip' length 437644 bytes opened URL downloaded 427Kb package 'gap' successfully unpacked and MD5 sums checked Delete downloaded files (y/N)? y updating HTML package descriptions> library("gap")Error in library("gap") : There is no package called 'gap'> library("gap", lib.loc="C:/Programs/R/library") > ?hwe.hardyI also reported yesterday that this is not 100% reproducible. I tried to install today bundle 'gregmisc' and the installation failed only partly, due to failure of moving temporary installation directory for 'gplots', while others packages passed OK. Strange. Look below:> install.packages("gregmisc")trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 26936 bytes opened URL downloaded 26Kb trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/gregmisc_2.0.3.zip' Content type `application/zip' length 821874 bytes opened URL downloaded 802Kb bundle 'gregmisc' successfully unpacked and MD5 sums checked Delete downloaded files (y/N)? y updating HTML package descriptions Warning message: unable to move temp installation 'N:/Ovce/Programi/R/rw2001/library\file1347/gplots' to 'N:/Ovce/Programi/R/rw2001/library/gplots'> library("gdata")Loading required package: gtools> library("gplots")Error in library("gplots") : There is no package called 'gplots' Can someone try this with local and networked installation of package to confirm my thoughts. Local system: Windows XP SP1 R 2.0.1 Administrator rights Network system (host of disk): Sorry I don't have this information. -- Lep pozdrav / With regards, Gregor GORJANC ------------------------------------------------------------------------ University of Ljubljana Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan Zootechnical Department email: gregor.gorjanc <at> bfro.uni-lj.si Groblje 3 tel: +386 (0)1 72 17 861 SI-1230 Domzale fax: +386 (0)1 72 17 888 Slovenia