[R] Listing the data contents of a package

John Fox jfox at mcmaster.ca
Mon Jan 14 23:03:03 CET 2008

Dear Gregory,

data(package="MASS") will do what you want.


On Mon, 14 Jan 2008 15:17:54 -0500 (EST)
 Gregory Gentlemen <gregory_gentlemen at yahoo.ca> wrote:
> Hi R users,
> Simply question: On the command line, how do I list the datasets
> contained within a package, e.g. MASS?
> I scanned the mailing list history but was unable to find the answer.
> Thanks in advance.
> Gregory

More information about the R-help mailing list