Bernd Weiss
2005-Apr-22 06:59 UTC
[R] Error when downloading and installing ALL R packages
Hi, after updating to 2.1 (see below) I am no longer able to install all R packages as mentioned at <http://support.stat.ucla.edu/view.php?supportid=30>. After finishing the download, I received the following error: [...] trying URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/xgobi_1.2- 13.zip' Content type 'application/zip' length 102623 bytes opened URL downloaded 100Kb trying URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/yags_4.0- 1.zip' Content type 'application/zip' length 168770 bytes opened URL downloaded 164Kb package 'AMORE' successfully unpacked and MD5 sums checked package 'AlgDesign' successfully unpacked and MD5 sums checked Error in sprintf(gettext("unable to move temp installation '%d' to '%s'"), : use format %s for character objects TIA, Bernd> version_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status Patched major 2 minor 1.0 year 2005 month 04 day 18 language R
I have no idea how to solve that error, but I use the following bit of code (which I picked up from someone else on this list) to update ALL packages on CRAN and it works on 2.1.0: x <- packageStatus(repositories="http://cran.r-project.org/src/contrib") st <- x$avai["Status"] install.packages(rownames(st)[which(st$Status=="not installed")]) May want to give it a try and see if it also produces that error. Thanks, Roger On 4/22/05, Bernd Weiss <bernd.weiss at uni-koeln.de> wrote:> Hi, > > after updating to 2.1 (see below) I am no longer able to install all > R packages as mentioned at > <http://support.stat.ucla.edu/view.php?supportid=30>. > > After finishing the download, I received the following error: > > [...] > > trying URL > 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/xgobi_1.2- > 13.zip' > Content type 'application/zip' length 102623 bytes > opened URL > downloaded 100Kb > > trying URL > 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/yags_4.0- > 1.zip' > Content type 'application/zip' length 168770 bytes > opened URL > downloaded 164Kb > > package 'AMORE' successfully unpacked and MD5 sums checked > package 'AlgDesign' successfully unpacked and MD5 sums checked > Error in sprintf(gettext("unable to move temp installation '%d' to > '%s'"), : > use format %s for character objects > > TIA, > > Bernd > > > version > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status Patched > major 2 > minor 1.0 > year 2005 > month 04 > day 18 > language R > > ______________________________________________ > R-help at 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 >
Bernd Weiss wrote:> Hi, > > after updating to 2.1 (see below) I am no longer able to install all > R packages as mentioned at > <http://support.stat.ucla.edu/view.php?supportid=30>. > > After finishing the download, I received the following error: > > [...] > > trying URL > 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/xgobi_1.2- > 13.zip' > Content type 'application/zip' length 102623 bytes > opened URL > downloaded 100Kb > > trying URL > 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/yags_4.0- > 1.zip' > Content type 'application/zip' length 168770 bytes > opened URL > downloaded 164Kb > > package 'AMORE' successfully unpacked and MD5 sums checked > package 'AlgDesign' successfully unpacked and MD5 sums checked > Error in sprintf(gettext("unable to move temp installation '%d' to > '%s'"), : > use format %s for character objectsMaybe your disc is full or a package is already in use and one of its files is locked? Unfortunately, we don't know which packages comes after "AlgDesign", because of the bug in sprintf(gettext("unable to move temp installation '%d' to '%s'")) you just have discovered. Uwe Ligges> > TIA, > > Bernd > > > > >>version > > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status Patched > major 2 > minor 1.0 > year 2005 > month 04 > day 18 > language R > > ______________________________________________ > R-help at 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
Bernd Weiss
2005-Apr-25 09:17 UTC
[R] Error when downloading and installing ALL R packages
On 22 Apr 2005 at 17:53, Uwe Ligges wrote:> Bernd Weiss wrote: > > > Hi, > > > > after updating to 2.1 (see below) I am no longer able to install all > > R packages as mentioned at > > <http://support.stat.ucla.edu/view.php?supportid=30>. > > > > After finishing the download, I received the following error: > > > > [...] > > > > trying URL > > 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/xgobi_1. > > 2- 13.zip' Content type 'application/zip' length 102623 bytes opened > > URL downloaded 100Kb > > > > trying URL > > 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/yags_4.0 > > - 1.zip' Content type 'application/zip' length 168770 bytes opened > > URL downloaded 164Kb > > > > package 'AMORE' successfully unpacked and MD5 sums checked > > package 'AlgDesign' successfully unpacked and MD5 sums checked > > Error in sprintf(gettext("unable to move temp installation '%d' to > > '%s'"), : > > use format %s for character objects > > Maybe your disc is full or a package is already in use and one of its > files is locked? Unfortunately, we don't know which packages comes > after "AlgDesign", because of the bug in > sprintf(gettext("unable to move temp installation '%d' to '%s'")) > you just have discovered.Thanks to all the replies. After some playing around I found the solution which is a simple reboot after updating to R 2.1. Have a nice week, Bernd