[R] Read.table

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Mar 8 11:22:20 CET 2006


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”

No, I think you got:

   Error: syntax error in "(X=read.table(123.txt"

or you have used another call without the syntax error in it.

In any case, please be more specific what you did. You might also want 
to copy the first few lines of file 123.txt in your mail.

Uwe Ligges


>  
> 
>  
> 
> Where is the problem?
> 
>  
> 
> Matías
> 
>  
> 
> University of Oviedo,
> 
>  
> 
> Spain
> 
> 
> 	[[alternative HTML version deleted]]
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list