From k.jewell at campden.co.uk  Fri Nov 11 14:32:45 2011
From: k.jewell at campden.co.uk (Keith Jewell)
Date: Fri, 11 Nov 2011 13:32:45 +0000
Subject: [Rd] use() might take a list of packages
References: <1B5E1D00-397B-429B-B20C-0FBA060841A9@gmail.com>
Message-ID: <j9j85v$5hp$1@dough.gmane.org>


"Timothy Bates" <timothy.c.bates at gmail.com> wrote in message 
news:1B5E1D00-397B-429B-B20C-0FBA060841A9 at gmail.com...
I heard that a function called use() had been mooted as being more 
intuitively named than library()

If so, it might be handy if this worked

use(c("MASS","car?))

currently this fails?

library(c("MASS","car"))
--------------------------------------------
This seems to work, and doesn't seem much effort

> sapply(c("MASS","car"), library, character.only = TRUE)

KJ



[Rd] use() might take a list of packages
Keith Jewell