Chris Evans wrote:
I prefer to use R on a linux box and ultimately need things to end up there to serve things up using David Firth's excellent CGIwithR and apache, but one step at a time and I've installed 1.8.1 under win2k. Another question that I'm sure is simple: is there a simple way to find the list of installed libraries I had in my 1.7.1 installation and use that to drive install.packages?

I've done it with a rather ugly bit of copy and paste using library() in the 1.7.1 installation and then using install.packages("xxx") on each of the package names from the first column of the output from library(). How should I have done it more elegantly gurus?


ip <- installed.packages(lib.loc = "pathToYourOldLibraryDir") ip <- ip[ip[,1]!="base" ,1] install.packages(ip)

Uwe Ligges



TIA,

Chris
PSYCTC: Psychotherapy, Psychology, Psychiatry, Counselling
and Therapeutic Communities; practice, research, teaching and consultancy.
Chris Evans & Jo-anne Carlyle
http://psyctc.org/ Email: [EMAIL PROTECTED]


______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to