[R] how to install R 3.0.1

Robert Baer rbaer at atsu.edu
Sat Jun 1 01:10:19 CEST 2013


On 5/31/2013 11:59 AM, Ranjan Maitra wrote:
> Hi John,
>
> I suspect you may be missing a c()?
>
> On Fri, 31 May 2013 06:05:45 -0800 John Kane <jrkrideau at inbox.com>
> wrote:
>
>> paks  <-  install.packages( "Hmisc", "plyr")
> paks <- install.packages( c("Hmisc", "plyr"))
>
>     
>>    install.packages(paks)
>> You can use the command  library()  to get a list of what is installed on your machine.
> Is it possible to get this as a vector of only the package names, or
> is post-processing the output of library() the only way out?
Do you mean something like:
paks = library()$results[,1]
save(paks, file = 'paks.RData')
Rob

-- 

Robert W. Baer, Ph.D.
Professor of Physiology
Kirksille College of Osteopathic Medicine
A. T. Still University of Health Sciences
Kirksville, MO 63501 USA



More information about the R-help mailing list