[R] Read dataset in R language.

Petr PIKAL petr.pikal at precheza.cz
Wed Dec 16 12:58:01 CET 2009


Hi

r-help-bounces at r-project.org napsal dne 16.12.2009 11:26:03:

> 
> Hi all,
> 
> I tried many things to read any dataset but I receive different error 
messages
> every time.
> One new message is: vector size specified is too large
> 
> Can any one please send any part from any dataset just for testing a 
> regression system and to know where is the problem??

Here is a simple data which you can read by

mydat <- read.delim("barva.txt")

However I looked to you earlier post with your data and they are not well 
structured. You would need to fix them before trying to read them into R. 
Or you can try to read e.g. your trainingset by

read.table("trainingset.txt", sep=",", fill=T, header=T)

and look if all values are correctly aligned to columns

Regards
Petr





> 
> Many thanks,
> Nancy 
> _________________________________________________________________
> Keep your friends updated—even when you’re not signed in.
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: barva.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091216/c55b0e01/attachment-0002.txt>


More information about the R-help mailing list