Skip to content

Error when downloading and installing ALL R packages

5 messages · Bernd Weiss, roger bos, Uwe Ligges +1 more

#
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
_              
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:
#
Bernd Weiss wrote:

            
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.

Uwe Ligges
#
Uwe Ligges <ligges <at> statistik.uni-dortmund.de> writes:
(I plead guilty having cut down the above text. And I am sure I forgot to quote 
someone important.)

I saw the same message twice already when downloading packages. This was NOT in 
an "ALL" download, I only picked 2 and 3 packages respectively, and the message 
always occurred after the last. I never have seen the message on pre 2.1.0 
versions on this system.
However, I could not reproduce this behavior, it because in both cases packages 
loaded succesfully on immediate retries.

(Vage suspect: some timeout on writing to disk?)

Dieter Menne

platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status                  
major    2              
minor    1.0            
year     2005           
month    04             
day      18             
language R
1 day later
#
On 22 Apr 2005 at 17:53, Uwe Ligges wrote:

            
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