[R] loading gap package

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 4 11:06:49 CEST 2005


On Wed, 4 May 2005, Constantinos Antoniou wrote:

>
> On 4 œ±Ê 2005, at 11:35 À¼, Uwe Ligges wrote:
>
>> 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".
>> 
>
> I have a similar problem with R 2.1.0 on Mac OSX 10.3.9.
>
>> library(gregmisc)
> 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)
>
> At first I tried getting this gdata from somewhere else, but I could not find 
> it (evidence indicated that it is part of the gregmisc, as I suspected 
> originally... You email confirms this...)
>
> (For the record, my goal is to get read.xls, which is part (?) of gdata)

The current version of gregmisc is 2.0.6.  That does contain gdata.  It 
looks to me as if the MacOS X binary is broken (2kb) so you will need to 
install from the sources.

I think we have been here before: it seems the MacOS X binary packaging 
does not work for bundles.

-- 
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


More information about the R-help mailing list