[R] Error : package 'xxx' was built before R 3.0.0: please re-install it

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Feb 27 01:10:13 CET 2016


Which mirror are you using?

spdep is availabe in binary form for Windows and R-3.2.3 and should be 
installed without the need for compilation.

Best,
Uwe Ligges



On 27.02.2016 00:51, Cem Girit wrote:
> Hello,
>
>
>
> Here are the steps to the error:
>
>
>
> 1.       Uninstall R version 2.x.y.
>
> 2.       Install the latest version (3.2.3) of R.
>
> 3.       Copy all my libraries that were not in the new version into the new
> R library.
>
> 4.       Run  "> update.packages(checkBuilt=TRUE, ask=FALSE)" under
> R-Studio.
>
>
>
>                  Many packages were updated but for some I received:
>
>
>
>                  "Error : package 'xxx' was built before R 3.0.0: please
> re-install it" error.
>
>
>
>                  Here is an example:
>
>
>
> * installing *source* package 'agricolae' ...
>
> * package 'agricolae' successfully unpacked and MD5 sums checked
>
> ** R
>
> ** data
>
> ** inst
>
> ** preparing package for lazy loading
>
> Error : package 'spdep' was built before R 3.0.0: please re-install it
>
> ERROR: lazy loading failed for package 'agricolae'
>
> * removing 'C:/Program Files/R/R-3.2.3/library/agricolae'
>
> Warning in install.packages :
>
>    running command '"C:/PROGRA~1/R/R-32~1.3/bin/i386/R" CMD INSTALL -l
> "C:\Program Files\R\R-3.2.3\library"
> C:\Users\user\AppData\Local\Temp\RtmpG8mSYd/downloaded_packages/agricolae_1.
> 2-3.tar.gz' had status 1
>
> Warning in install.packages :
>
>    installation of package 'agricolae' had non-zero exit status
>
>
>
> The downloaded source packages are in
>
>
> 'C:\Users\user\AppData\Local\Temp\RtmpG8mSYd\downloaded_packages'
>
>
>
>                  If I try to install "spdep" package first I get the
> following error:
>
>
>
>
>
>> install.packages("spdep")
> also installing the dependency 'sp'
>
> Packages which are only available in source form, and may need compilation
> of C/C++/Fortran:
>    'sp' 'spdep'
>    These will not be installed
>
>
>
> How can I fix such errors? I can
>
>
>                      Thank you.
>
> Cem
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list