[R] Masked help page

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 16 12:18:52 CEST 2004


I get the sammon help from MASS when I do that in 1.8.1 and 1.9.0, and
that is the design. I suspect your version of MASS is not installed
properly.  If you just do

library(MASS)
help(sammon)

do you get any help for sammon?

On Fri, 16 Apr 2004, Christian Hennig wrote:

> Hi list,
> 
> not really a problem to solve but a strange unwanted behavior (at least I
> do not like it):
> 
> I'm loading
> library(multiv)
> to use sammon.
> Later I load 
> library(MASS)
> which tells me that sammon is masked now, because
> there is also a MASS version of sammon.
> 
> Since I believe that the MASS version is at least as good as the multiv
> version, I would also use the MASS version, but
> help(sammon)
> still gives the help page for multiv's sammon.
> The MASS version runs, though (and gives an error if I call it like I
> would call the multiv version with dimension called p instead of k).
> 
> Is it a general behavior that if a function is masked, the help page still
> is the old one?
> 
> That would not be too user friendly...
> 
> Best,
> Christian
> 
> > version
>          _                
> platform i686-pc-linux-gnu
> arch     i686             
> os       linux-gnu        
> system   i686, linux-gnu  
> status                    
> major    1                
> minor    8.0              
> year     2003             
> month    10               
> day      08               
> language R                
> 
> 
> ***********************************************************************
> Christian Hennig
> Fachbereich Mathematik-SPST/ZMS, Universitaet Hamburg
> hennig at math.uni-hamburg.de, http://www.math.uni-hamburg.de/home/hennig/
> #######################################################################
> ich empfehle www.boag-online.de
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.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




More information about the R-help mailing list