On 28-05-2013, at 22:41, dbertin <dber...@uoguelph.ca> wrote: >> utils:::menuInstallLocal() > package ‘surv2sample’ successfully unpacked and MD5 sums checked >> library(surv2sample) > Error in library(surv2sample) : > ‘surv2sample’ is not a valid installed package > > Furthermore, if I go through "Packages->Load package" from the top bar > surv2sample isn't in the list. It is, however in the directory that the > library() function uses and its contents look similar to the other, working > packages. One odd thing is that I had to download the package .zip and > install locally since it doesn't show up in the GUI package list even with > all repositories selected. I can't imagine why it won't load given that > everything else seems to work properly. > > Any ideas? >
That package has been archived (http://cran.r-project.org/src/contrib/Archive/surv2sample/). Only a source .tar.gz is available. AFAICS it needs to be modified to work with R >= 3.0.0. As it is now it can't be installed and doesn't pass R CMD check. It needs to be fixed. You could try to contact the original author. Berend ______________________________________________ R-help@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.