[R] "Warning message: package '...' was built under R version 2.3.0"

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Nov 16 19:03:54 CET 2005


Tuszynski, Jaroslaw W. wrote:

> Uwe,
> 
> I think I used following repositories: PA1, PA2 and NC, which are the
> closest to me and I think I got the same results in all. The package I
> downloaded was "coin" which downloaded other packages. The consol printout
> follows:
> 
> 
> 
>>chooseCRANmirror()
>>utils:::menuInstallPkgs()
> 
> trying URL
> 'http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.2/coin_0.
> 3-3.zip'
> Content type 'application/zip' length 793299 bytes
> opened URL
> downloaded 774Kb
> 
> package 'coin' successfully unpacked and MD5 sums checked
> 
> The downloaded packages are in
>         C:\Documents and Settings\tuszynskij\Local
> Settings\Temp\Rtmp7594\downloaded_packages
> updating HTML package descriptions
> 
>>library(coin)
> 
> Loading required package: survival
> Loading required package: splines
> Loading required package: mvtnorm
> Loading required package: modeltools
> Error in load(dataFile, ns) : ReadItem: unknown type 241
> In addition: Warning messages:
> 1: package 'mvtnorm' was built under R version 2.3.0 


I have just downloaded
http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.2/mvtnorm_0.7-2.zip
and its DESCRIPTION file correctly has:
"Built: R 2.2.0; i386-pc-mingw32; 2005-10-14 14:44:12; windows"


My guess is that you are using one library for two different R versions 
and you have installed some R-devel package into the library you are now 
using with R-2.2.0 ...

You cannot mix binary packages for R < 2.3.0 with those for R-devel due 
to changes in environment handling.

Uwe Ligges




> 2: package 'modeltools' was built under R version 2.3.0 
> Error: unable to load R code in package 'modeltools'
> Error: package 'modeltools' could not be loaded
> 
> Jarek Tuszynski
> 
> -----Original Message-----
> From: ligges at statistik.uni-dortmund.de
> [mailto:ligges at statistik.uni-dortmund.de] 
> Sent: Wednesday, November 16, 2005 11:27 AM
> To: Tuszynski, Jaroslaw W.
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] "Warning message: package '...' was built under R version
> 2.3.0"
> 
> 
> Tuszynski, Jaroslaw W. wrote:
> 
> 
>>Hi,
>>
>>While installing precompiled packages I often get warnings like the 
>>one in the subject. I usually ignore them, but I still do not 
>>understand why windows packages are build with unreleased versions of 
>>R. Is there some way to get packages build under R-2.2.0?
> 
> 
> Well, those in the corresponding "2.2" repository on CRAN should all be 
> build with R-2.2.0. If not, please tell me which one is wrong.
> 
> Where did you get the packages for R-devel from?
> 
> Uwe Ligges
> 
> 
> 
>>What are potential problems that can result from that version 
>>mismatch?
>>
>>My system: winXP
>>R version: 2.2.0
>>
>>Jarek Tuszynski
>>
>>	[[alternative HTML version deleted]]
>>
>>______________________________________________
>>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




More information about the R-help mailing list