[R] Data Package Query

David Carlson dcarlson at tamu.edu
Thu Jun 27 18:03:17 CEST 2013

You need to copy the lines you have typed in to R and send them
exactly. The only way I get an error message like the one you
indicate is with the following:

> library(data)
Error in library(data) : there is no package called 'data'

There is no Data function in R so if you typed that you would get

> Data(Titanic)
Error: could not find function "Data"

So what did you really type?

David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77840-4352

-----Original Message-----
From: r-help-bounces at r-project.org
[mailto:r-help-bounces at r-project.org] On Behalf Of Yasmine Refai
Sent: Thursday, June 27, 2013 3:03 PM
To: r-help at R-project.org
Subject: [R] Data Package Query


When i type in the below syntax:
Data (name of the data set)

I get an error message specifying that the "data" package is not

Please note that i installed all packages having the word "data"
included in them and loaded all these packages.

Please advice.

R-help at r-project.org mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list