On Jul 3, 2009, at 1:21 PM, Mark Knecht wrote:

Hi,
  Two easy questions I'm sure.

snipped as already answered

2) Related to the above, how do I tell what packages are currently
loaded at any given time so that I don't waste time loading things
that are already loaded? search() tells me what's available, but
what's loaded? The best I can find so far goes like this:

a<-.packages(all.available = FALSE)
a
[1] "zoo" "stats" "graphics" "grDevices" "utils" "datasets"
[7] "methods"   "base"


What's wrong with using sessionInfo() ?

...or if you want (a lot) more information about the non-base packages try:

sessionInfo()$otherPkgs

David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
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.

Reply via email to