[Rd] update.packages() and loaded packages (PR#8448)

gregor.gorjanc@bfro.uni-lj.si gregor.gorjanc at bfro.uni-lj.si
Wed Dec 28 11:46:56 CET 2005


Hello!

This is not a severe bug, but an inconsistency in update.packages(). I 
updated packages and I was not carefull enough to detach loaded 
packages. The update.packages() warrned me about this, which is fine, 
but at the end of the update the following warrning was issued (the 
whole session output can be found at the end of this mail):

...
The downloaded packages are in
         C:\Documents and Settings\GGorjan\Local 
Settings\Temp\RtmpVwI1ob\downloaded_packages
updating HTML package descriptions
Warning message:
number of rows of result
         is not a multiple of vector length (arg 1) in: cbind(1, pkgs, lib)

R> version
          _
platform i386-pc-mingw32
arch     i386
os       mingw32
system   i386, mingw32
status   Patched
major    2
minor    2.1
year     2005
month    12
day      26
svn rev  36870
language R

-- 
Lep pozdrav / With regards,
     Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty
Zootechnical Department     URI: http://www.bfro.uni-lj.si/MR/ggorjan
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si 

SI-1230 Domzale             tel: +386 (0)1 72 17 861
Slovenia, Europe            fax: +386 (0)1 72 17 888 

----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
  you have no certainty until you try." Sophocles ~ 450 B.C.
----------------------------------------------------------------------

R> update.packages(ask='graphics')
--- Please select a CRAN mirror for use in this session ---
Warning: packages 'gdata, gplots, gtools, R2WinBUGS' are in use and will 
not be installed
trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/coda_0.10-3.zip'
Content type 'application/zip' length 288711 bytes
opened URL
downloaded 281Kb

trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/hdrcde_1.01.zip'
Content type 'application/zip' length 102191 bytes
opened URL
downloaded 99Kb

trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/limma_2.4.4.zip'
Content type 'application/zip' length 1331703 bytes
opened URL
downloaded 1300Kb

trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/locfit_1.5-2.zip'
Content type 'application/zip' length 577663 bytes
opened URL
downloaded 564Kb

trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/Matrix_0.99-3.zip'
Content type 'application/zip' length 2395983 bytes
opened URL
downloaded 2339Kb

trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/vcd_0.9-7.zip'
Content type 'application/zip' length 1278635 bytes
opened URL
downloaded 1248Kb

package 'coda' successfully unpacked and MD5 sums checked
package 'hdrcde' successfully unpacked and MD5 sums checked
package 'limma' successfully unpacked and MD5 sums checked
package 'locfit' successfully unpacked and MD5 sums checked
package 'Matrix' successfully unpacked and MD5 sums checked
package 'vcd' successfully unpacked and MD5 sums checked

The downloaded packages are in
         C:\Documents and Settings\GGorjan\Local 
Settings\Temp\RtmpVwI1ob\downloaded_packages
updating HTML package descriptions
Warning message:
number of rows of result
         is not a multiple of vector length (arg 1) in: cbind(1, pkgs, lib)

R> detach(package:gdata)
R> detach(package:gplots)
R> detach(package:gtools)
R> detach(package:R2WinBUGS)
R> update.packages(ask='graphics')
trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/gdata_2.1.2.zip'
Content type 'application/zip' length 336256 bytes
opened URL
downloaded 328Kb

trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/gplots_2.2.0.zip'
Content type 'application/zip' length 441270 bytes
opened URL
downloaded 430Kb

trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/gtools_2.2.3.zip'
Content type 'application/zip' length 127243 bytes
opened URL
downloaded 124Kb

trying URL 
'http://www.fastmirrors.org/cran/bin/windows/contrib/2.2/R2WinBUGS_1.1-0.zip'
Content type 'application/zip' length 1188431 bytes
opened URL
downloaded 1160Kb

package 'gdata' successfully unpacked and MD5 sums checked
package 'gplots' successfully unpacked and MD5 sums checked
package 'gtools' successfully unpacked and MD5 sums checked
package 'R2WinBUGS' successfully unpacked and MD5 sums checked

The downloaded packages are in
         C:\Documents and Settings\GGorjan\Local 
Settings\Temp\RtmpVwI1ob\downloaded_packages
updating HTML package descriptions



More information about the R-devel mailing list