[R] Problem installing MASS-Package

Gavin Simpson gavin.simpson at ucl.ac.uk
Tue Feb 10 10:38:12 CET 2009


On Tue, 2009-02-10 at 10:22 +0100, Kim Vanselow wrote:
> Dear R-Help-Team,
> 
> I tried to use isoMDS-Function of the MASS-Package:
> 
> Message:
> Fehler: konnte Funktion "isoMDS" nicht finden
> (error: could not find function "isoMDS")

Did you load the package from your library first, e.g.:

library(MASS)
isoMDS(....)

> 
> so I tried to install the package MASS:

MASS is part of recommended package bundle VR and as such, should come
with every version of R on all binaries for the different OSes (IIRC),
you shouldn't need to install it.

Your .libPaths(...) call raised an error because you didn't provide a
character vector for the path to a library location. .libPaths() is not
designed to do what you appeared to think it did - it deals with
setting/getting paths to where packages are located.

Reading section 13 of the manual "An Introduction to R" would have
explained all of this.

HTH

G

> 
> > utils:::menuInstallPkgs()
> versuche URL 'http://cran.rakanu.com/bin/windows/contrib/2.8/VR_7.2-45.zip'
> Content type 'application/zip' length 1598763 bytes (1.5 Mb)
> URL geöffnet
> downloaded 1.5 Mb
> 
> Bundel 'VR' erfolgreich ausgepackt und MD5 Summen abgeglichen
> Warnung: kann alte Installation von Paket 'MASS' nicht entfernen
> 
> Die heruntergeladenen Pakete sind in 
>         C:\Dokumente und Einstellungen\kvanselow\Lokale Einstellungen\Temp\RtmpeIMdIP\downloaded_packages
> aktualisiere HTML Paketbeschreibungen
> > 
> 
> ok, MASS seems to be already installed. But I cannot run its functions and I cannot find the path:
> 
> > .libPaths(MASS)
> Fehler in path.expand(new) : objekt "MASS" nicht gefunden
> 
> What can I do?
> Thanks in advance
> 
> Kim
> 
> 
> 
> _______________________________________________________________________
> Jetzt 1 Monat kostenlos! WEB.DE FreeDSL - Telefonanschluss + DSL
> für nur 17,95 EURO/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K13805B7069a
> 
> ______________________________________________
> 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.
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090210/b4d7b006/attachment-0002.bin>


More information about the R-help mailing list