I'm sorry to bother everyone with a stupid question but, when I am at an R prompt in Windows, is there a way to see what packages you already have installed from the R site so that you can just do library(name_of_package) and it will work. I've looked at help etc but I can't find a command like this. Maybe there isn't one which is fine. Mark ********************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}
"Mark Leeds" <Mleeds at kellogggroup.com> writes:> I'm sorry to bother everyone with a stupid > question but, when I am at an R prompt in Windows, > is there a way to see what packages > you already have installed from the R site so > that you can just do library(name_of_package) > and it will work. > > I've looked at help etc but I can't find > a command like this. Maybe there > isn't one which is fine.Just library() (w/no arguments) -- O__ ---- Peter Dalgaard ??ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
On Tue, 2006-01-03 at 16:07 -0500, Mark Leeds wrote:> I'm sorry to bother everyone with a stupid > question but, when I am at an R prompt in Windows, > is there a way to see what packages > you already have installed from the R site so > that you can just do library(name_of_package) > and it will work. > > I've looked at help etc but I can't find > a command like this. Maybe there > isn't one which is fine.library() HTH, Eric This email message, including any attachments, is for the so...{{dropped}}
On Tue, 3 Jan 2006, Mark Leeds wrote:> I'm sorry to bother everyone with a stupid > question but, when I am at an R prompt in Windows, > is there a way to see what packages > you already have installed from the R site so > that you can just do library(name_of_package) > and it will work. > > I've looked at help etc but I can't find > a command like this. Maybe there > isn't one which is fine.library()> > Mark > > > ********************************************************************** > This email and any files transmitted with it are confidentia...{{dropped}} > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no
On Tue, 3 Jan 2006, Mark Leeds wrote:> I'm sorry to bother everyone with a stupid > question but, when I am at an R prompt in Windows, > is there a way to see what packages > you already have installed from the R site so > that you can just do library(name_of_package) > and it will work. > > I've looked at help etc but I can't find > a command like this. Maybe there > isn't one which is fine.library() (no arguments) lists all the installed packages (by library). -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Thanks to all. I didn't Realize that you Got so many packages Automatically. I've used S+ for roughly 10 years on and off and I am starting to switch over ( was finally forced to because my new company preferred me to use R for cost. I am the only user ) and it's unbelievable what has been done in R by everyone. Truly amazing. You should all be quite proud about what you have created. Mark -----Original Message----- From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] Sent: Tuesday, January 03, 2006 4:16 PM To: Mark Leeds Cc: R-Stat Help Subject: Re: [R] newbie R question On Tue, 3 Jan 2006, Mark Leeds wrote:> I'm sorry to bother everyone with a stupid > question but, when I am at an R prompt in Windows, > is there a way to see what packages > you already have installed from the R site so > that you can just do library(name_of_package) > and it will work. > > I've looked at help etc but I can't find > a command like this. Maybe there > isn't one which is fine.library() (no arguments) lists all the installed packages (by library). -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ********************************************************************** This email and any files transmitted with it are confidentia...{{dropped}}