Skip to content
Prev 318916 / 398521 Next

Issue when reading a table into R

Since nobody else has mentioned it: if you are seeing that message
when you are reading data in, then you probably failed to assign the
data to an R object.

mydata <- read.table("somefile") # correct
read.table("somefile") # will simply print your data to the console, not save it

I'm not entirely sure what you meant by "retrieve" so maybe you
already knew this.

You can use e.g.
dim(mydata)
to find out whether it's the size you expect.

Sarah
On Wed, Mar 6, 2013 at 3:58 PM, Paul Bernal <paulbernal07 at gmail.com> wrote: