[R] loading gap package

Constantinos Antoniou costas at mit.edu
Wed May 4 12:35:36 CEST 2005


On 4 ÎœÎ±ÏŠ 2005, at 12:06 Î¼Î¼, Prof Brian Ripley wrote:

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

Thank you. I had the current  version (binary). Reinstalling from 
source fixed the issue....

Costas

> 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