Hi everybody, Could I consult one problem? I want to access database with RODBC, first download this package from http://www.microsoft.com/data/odbc as part of MDAC, the version is the newest version 2.7.0. But after I have installed this Package(RODBC) and run command libaray(RODBC), the R system report the fillowing warning information. Error in eval(expr, envir, enclos) : couldn't find function "lazyLoad" In addition: Warning message: package RODBC was built under R version 2.0.0 Error in library(RODBC) : package/namespace load failed why? Thanks for helping me! Best Regards! Ivy Li£¨Àîè¡£© YMS in Production & Testing Semiconductor Manufactory International(ShangHai) Corporation #18 ZhangJiang Road, PuDong New Area, Shanghai, China Tel: 021-5080-2000 *11754 Email: Ivy_Li at smics.com
Ivy_Li wrote:> Hi everybody, > Could I consult one problem? > > I want to access database with RODBC, first download this package from http://www.microsoft.com/data/odbc as part of MDAC, the version is the newest version 2.7.0. But after I have installed this Package(RODBC) and run command libaray(RODBC), the R system report the fillowing warning information. > > Error in eval(expr, envir, enclos) : couldn't find function "lazyLoad" > In addition: Warning message: > package RODBC was built under R version 2.0.0 > Error in library(RODBC) : package/namespace load failedSo you have an R version < R-2.0.0, but using the RODBC package compiled for R-2.0.0. That cannot work. Either get a version of RODBC that fits to your version of R by install.packages("RODBC") or upgrade to R-2.0.0! Uwe Ligges> why? > Thanks for helping me! > > Best Regards! > Ivy Li£¨Àîè¡£© > YMS in Production & Testing > Semiconductor Manufactory International(ShangHai) Corporation > #18 ZhangJiang Road, PuDong New Area, Shanghai, China > Tel: 021-5080-2000 *11754 > Email: Ivy_Li at smics.com > > ______________________________________________ > 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
You are trying to use a package built for R 2.0.0 under R < 2.0.0. How you managed to do that we have no idea, as RODBC is not available on http://www.microsoft.com/data/odbc! Almost certainly you got it from the wrong place, from CRAN/bin/windows/contrib/2.0/, so please do read the rw-FAQ and get the correct version. The posting guide asks you to give your R platform and version, which you have (again) not done. On Wed, 27 Oct 2004, Ivy_Li wrote:> Hi everybody, > Could I consult one problem?You mean `yet another problem', surely?> I want to access database with RODBC, first download this package > from http://www.microsoft.com/data/odbc as part of MDAC, the version is > the newest version 2.7.0. But after I have installed this Package(RODBC) > and run command libaray(RODBC), the R system report the fillowing > warning information. > > Error in eval(expr, envir, enclos) : couldn't find function "lazyLoad" > In addition: Warning message: > package RODBC was built under R version 2.0.0 > Error in library(RODBC) : package/namespace load failed > > why? > Thanks for helping me!-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595