Brand new to R and not a sys admin or programmer type.  I am trying to work
through the intro tutorial in the sample session here
http://cran.r-project.org/doc/manuals/R-intro.html#A-sample-session.

I have an error when following the instructions below:

> The next section will look at data from the classical experiment of
> Michelson to measure the speed of light. This dataset is available in the
> morley object, but we will read it to illustrate the read.table function.
> filepath <- system.file("data", "morley.tab" , package="datasets")filepath
>
> Get the path to the data file.
> file.show(filepath)
>
> Optional. Look at the file.
> mm <- read.table(filepath)mm
>
> Read in the Michelson data as a data frame, and look at it. There are five
> experiments (column Expt) and each has 20 runs (column Run) and sl is the
> recorded speed of light, suitably coded.
>
Here is my result:

> > filepath <- system.file("data", "moreley.tab", package="datasets")

> filepath

[1] ""

> file.show(filepath)

> mm <- read.table(filepath)

Error in read.table(filepath) : no lines available in input

In addition: Warning message:

In file(file, "rt") :

  file("") only supports open = "w+" and open = "w+b": using the former


Is it because I am missing this "morley object"?  How do I see a list of
what objects I have installed?  I installed
R-2.15.3.pkg<http://cran.r-project.org/bin/macosx/old/R-2.15.3.pkg>,
because
I am teaching myself on a 32-bit Macbook.

	[[alternative HTML version deleted]]

