Sorry for previously posting on R-help. Thanks to a few people for pointing out -p 0 on patch, but that was not enough (at least under Solaris). It seems Solaris tries to figure out which of the two files is to be updated, and if it finds them both then it starts asking for names. What I actually had to do was 1/ mv R-0.50-a1 R-0.50-a2 2/ cd R-0.50-a2 3/ patch -p 0 <R-0.50-a1.patch If you cp -r R-0.50-a1 R-0.50-a2 rather than mv, then you must rename R-0.50-a1 or the above mentioned problem occurs. Paul =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
The CHANGES file says that libraries can now have a .First.lib and .Last.lib function. While this is certainly true the functions don't seem to get called... Thomas Lumley ------------------------------------------------------+------ Biostatistics : "Never attribute to malice what : Uni of Washington : can be adequately explained by : Box 357232 : incompetence" - Hanlon's Razor : Seattle WA 98195-7232 : : ------------------------------------------------------------ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I have made an autoload library, with a nicer version of the autoload code I posted a few weeks ago. It now stores things in a special environment and it will re-autoload libraries that have been detached. It only works with the new alpha R. The syntax is eg autoload("line","eda") to automatically load library("eda") when the function line() is invoked. The library file is at http://www.biostat.washington.edu/~thomas/autoload.tar.gz -thomas =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-