Dear R users, I did install R. 2.0.1, and try to load "gap" package. However, below is the message shown when I did load it. Can anybody please let me know my mistakes? ----> library() > library(gap)Loading required package: MASS Loading required package: genetics Loading required package: combinat Loading required package: gdata Error: package 'gdata' could not be loaded In addition: Warning message: There is no package called 'gdata' in: library(pkg, character.only TRUE, logical = TRUE, lib.loc = lib.loc) ---- Thanks, Edwin
Eduwin Pakpahan wrote:> Dear R users, > I did install R. 2.0.1, and try to load "gap" package. > However, below is the message shown when I did load it. Can anybody > please let me know my mistakes? > > ---- > >>library() >>library(gap) > > Loading required package: MASS > Loading required package: genetics > Loading required package: combinat > Loading required package: gdata > Error: package 'gdata' could not be loaded > In addition: Warning message: > There is no package called 'gdata' in: library(pkg, character.only > TRUE, logical = TRUE, lib.loc = lib.loc) > ----Let me read the error message for you: "There is no package 'gdata'" simply means the package is not there... So what about installing it? Hint: it is part of the package bundle "gregmisc". Uwe Ligges> Thanks, > > Edwin > > ______________________________________________ > 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
On Wed, 4 May 2005, Eduwin Pakpahan wrote:> Dear R users, > I did install R. 2.0.1, and try to load "gap" package.Did you install the dependencies of that package and their dependencies ...> library(help=gap)... Depends: MASS, genetics, R (>= 2.0.0)> library(help=genetics)Depends: combinat, gdata, MASS gdata is part of the gregmisc bundle, and install.packages("gap", dependencies=TRUE) would have done this for you.> However, below is the message shown when I did load it. Can anybody > please let me know my mistakes? > > ---- >> library() >> library(gap) > Loading required package: MASS > Loading required package: genetics > Loading required package: combinat > Loading required package: gdata > Error: package 'gdata' could not be loaded > In addition: Warning message: > There is no package called 'gdata' in: library(pkg, character.only > TRUE, logical = TRUE, lib.loc = lib.loc) > ---- > > Thanks, > > Edwin > > ______________________________________________ > 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 >-- 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