Tancredi Caruso
2006-Oct-30 16:43 UTC
[R] no possible to load a package correctly dowloaded by the R prompt
Please, help me. I had a trouble in downloading from CRAN the package "untb". Everything seems to work. I type>install.packages(c(untb))after selecting the CRAN mirror and I get a message of successful downloading. Indeed I have the package in the library and if I check with command> library()I see untb among the various packages. But, when I type the command:>library(untb)I cannot open the package getting the message below (which I translate under brackets): <Carico il pacchetto richiesto: "partitions" (I'm loading requested package:partitions) Errore: pacchetto 'partitions' non caricato (Error: package "partitions" not loadad) Warning messages: 1: the package 'untb' has been created with R version 2.3.1 2: non c'รจ alcun pacchetto chiamato 'partitions' in: library(pkg, character.only = TRUE, logical = TRUE, lib.loc = lib.loc) (there's not a package named "partitions" in......) I have the version 2.3.0 What's wrong? By the way, I already successfully downloaded with the same procedure other packages such as ade4 or vegan. Vegan has been written within version 2.3.1 but I can open and use it. thank you. Tancredi Caruso [[alternative HTML version deleted]]
Michael Kubovy
2006-Oct-30 17:08 UTC
[R] no possible to load a package correctly dowloaded by the R prompt
Hi, On Oct 30, 2006, at 11:43 AM, Tancredi Caruso wrote:>> install.packages(c(untb)) > >> library(untb)> Carico il pacchetto richiesto: "partitions" (I'm loading requested > package:partitions) > Errore: pacchetto 'partitions' non caricato (Error: package > "partitions" not loadad) > Warning messages: > 1: the package 'untb' has been created with R version 2.3.1 > 2: non c'? alcun pacchetto chiamato 'partitions' in: library(pkg, > character.only = TRUE, logical = TRUE, lib.loc = lib.loc) (there's > not a package named "partitions" in......)This means that you need to also install.packages('partitions') You could have said install.packages('untb', dependencies = TRUE), and this would have done the job for you. _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels: Room 102 Gilmer Hall McCormick Road Charlottesville, VA 22903 Office: B011 +1-434-982-4729 Lab: B019 +1-434-982-4751 Fax: +1-434-982-4766 WWW: http://www.people.virginia.edu/~mk9y/