[R] import text file into R

Erik Iverson eriki at ccbr.umn.edu
Thu Jun 3 17:48:44 CEST 2010



dhanush wrote:
> can anyone tell me how to import a text file in R? the text file I want to
> import is a large file, about 800MB in size. Thanks in advance.
> 
> I tried using the following
> 
> data<-read.table("file",header=T,sep="\t")
> 
> 

And what happened??

Your specification is incomplete, as we don't know what your text file 
looks like.  Is it CSV, etc.?  How much memory does your system have?



More information about the R-help mailing list