[R] Read.table

Sean Davis sdavis2 at mail.nih.gov
Wed Mar 8 14:46:54 CET 2006




On 3/8/06 8:31 AM, "Liaw, Andy" <andy_liaw at merck.com> wrote:

> From: Uwe Ligges
>> 
>> Matias Mayor Fernandez wrote:
>> 
>>> Hi,
>>> 
>>>  
>>> 
>>> I have some column vector in txt or xls and I need to load
>> into R as 
>>> numeric vector.
>>> 
>>>  
>>> 
>>> I use the read.table  (X=read.table(123.txt") command but
>> the program 
>>> say that "X is not a numeric vector"

See here if you want to think of your data as a single-column table:

http://cran.r-project.org/doc/manuals/R-data.html#Spreadsheet_002dlike-data

Sean




More information about the R-help mailing list