Skip to content

Problem installing MASS-Package

3 messages · Kim Vanselow, Gavin Simpson, PIKAL Petr

#
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")

so I tried to install the package MASS:
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:
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
#
On Tue, 2009-02-10 at 10:22 +0100, Kim Vanselow wrote:
Did you load the package from your library first, e.g.:

library(MASS)
isoMDS(....)
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
#
Hi

Did you try to issue

library(MASS)

before calling isoMDS?

Regards
Petr

r-help-bounces at r-project.org napsal dne 10.02.2009 10:22:57:
'http://cran.rakanu.com/bin/windows/contrib/2.8/VR_7.2-45.zip'
Einstellungen\Temp
and I
http://www.R-project.org/posting-guide.html