Re: [R] reading tables into R

From: Don MacQueen <>
Date: Sat 04 Jun 2005 - 00:05:25 EST

You will have to be more specific, if you want specific help.

However, when I get the "object is not subsettable" error, it is because I have accidentally referred to the wrong object.

For example,

> cespl[1,4]

Error in cespl[1, 4] : object is not subsettable
> mode(cespl)

[1] "function"

It is not possible to take a subset of a function; this is an action that makes no sense.


At 7:40 AM -0500 6/3/05, Wagle, Mugdha wrote:
>I have been using R and Perl. When I read in a text file using the
>read.table option, and I try to mathematically manipulate the
>individual elements in the table, I keep getting an "object is not
>subsettable" error. If I try to use a different method, it works,
>but takes too much time(basically, I then need to read in values
>individually into R instead of as a 2D array, so the number of
>function calls from Perl to R is very large). Could you suggest
>another method whereby I could read an entire matrix or a file using
>an R function call?
>Mugdha Wagle,
>Hartwell center for Bioinformatics and Biotechnology,
>St.Jude Children's Research Hospital
> mailing list
>PLEASE do read the posting guide!

Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Sat Jun 04 00:09:04 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:22 EST