[R] R: max() and min() functions not found

Millo Giovanni Giovanni_Millo at Generali.com
Tue Nov 27 19:09:35 CET 2007


Dear Sirs,

thanks for helping. Opening up another instance of R *without* loading any package in fact I get the usual behaviour for max()/min(). I'm updating my packages: sorry for my laziness, I'm behind a corporate firewall and it doesn't go as smooth as at home.
Sorry for careless posting as well :^)

Cheers,
Giovanni

-----Messaggio originale-----
Da: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Inviato: martedì 27 novembre 2007 18:54
A: Millo Giovanni
Cc: r-help at r-project.org
Oggetto: Re: [R] max() and min() functions not found


You have a rogue package loaded into your session, one that was installed 
for R < 2.6.0.  The R posting guide asked for

   For questions about unexpected behavior or a possible bug, you should,
   at a minimum, copy and paste the output from sessionInfo() into your
   message.

and that would have helped us to help you further.

Assuming you have updated from R < 2.6.1, please update your packages by

update.packages(checkBuilt=TRUE)

See https://stat.ethz.ch/pipermail/r-help/2007-October/142367.html
for why you need to do this.


On Tue, 27 Nov 2007, Millo Giovanni wrote:

> Dear List,
>
> I just installed R 2.6.1 (on Win2K) and I get a strange error in 
> functions min() and max():
>
>> min(1:3)
> Errore in .Internal(min(..., na.rm = na.rm)) :
>  nessuna funzione interna "min"
>
> which, as you may have guessed, means 'no internal function "min" '. 
> The same happens for max().
>
> Maybe this is a bug in the new release, or maybe I'm missing 
> something?

The latter.

> Best,
> Giovanni
>
> Giovanni Millo
> Research Dept.,
> Assicurazioni Generali SpA
> Via Machiavelli 4,
> 34131 Trieste (Italy)
> tel. +39 040 671184
> fax  +39 040 671160
>
> ______________________________________________
> R-help at r-project.org mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

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