When using 'scan' I had no problem reading a string that had 1000 'columns'
> x <- scan('/temp/tempxx.txt', what = list(0L, '')) Read 14 records > > str(x) List of 2 $ : int [1:14] 129876 129876 129876 129876 129876 129876 129876 129876 129876 129876 ... $ : chr [1:14] "1010101110011110011110011100111100110101010111001111001111001110011110011010101011100111100111100111001111001101010101110011110"| __truncated__ "1010101110011110011110011100111100110101010111001111001111001110011110011010101011100111100111100111001111001101010101110011110"| __truncated__ "1010101110011110011110011100111100110101010111001111001111001110011110011010101011100111100111100111001111001101010101110011110"| __truncated__ "1010101110011110011110011100111100110101010111001111001111001110011110011010101011100111100111100111001111001101010101110011110"| __truncated__ ... > nchar(x[[2]]) [1] 1184 1184 1184 1184 1184 1184 1184 1184 1184 1184 1184 1184 1184 1184 > Notice I specified the second field as character. On Fri, Apr 13, 2012 at 9:21 AM, Milan Bouchet-Valat <nalimi...@club.fr>wrote: > Le vendredi 13 avril 2012 à 05:44 -0700, efulas a écrit : > > Thank you very much for your helps guys. Both message help me to run the > data > > in R. However, R is omitting many columns from my data. Am i missing > > something? > Please read the posting guide. If you don't provide the code you ran and > the resulting objects and messages, we cannot possibly help you. > > > Regards > > ______________________________________________ > R-help@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. > -- Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. [[alternative HTML version deleted]]
______________________________________________ R-help@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.