[R] error in gregmisc package

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Dec 26 14:48:54 CET 2004

On Sun, 26 Dec 2004, Kjetil Brinchmann Halvorsen wrote:

> Snæbjörn Gunnsteinsson wrote:
>>    I just installed the gregmisc bundle. When I do library(gdata)  (or 
>> library(gtools), library(gmodels)) everything works fine.
>> When I do library(gplots) I get
>>      Error in parse(file, n, text, prompt) : syntax error on line 1850
>>      Error in library(gplots) : package/namespace load failed
>> I'm using R-1.7.0 on Mac OS 10.3.
> That's very old and probably does'nt know about namesapces?

It does: they were introduced for packages other than base in 1.7.0.
However, that line is

     m[[1]] <- graphics:::plot.formula

and the ::: operator was introduced in 1.8.0 and package `graphics' in 

>> Can anybody help me with this? Could I be doing something wrong or is there
>> an error in the package (related to R-1.7.0, or Mac OS X or in general)?

gregmisc should have a dependence on R>=1.9.0 (at least).  It won't be the 
only package that does not have such a dependence, including many of those 
introduced since 1.7.0 came out (over two years ago) as people tend not to 
test on past versions of R.

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