Hi,
I have a data file with hundreds of rows, with every first, second, third,
and fourth line representing a set of numbers for row names x, y, fit, and
residuals, respectively. However, any given group of these lines might be
from 10 to 2 values long.
When I try
fits=read.delim2(test)
Hi,
I have a data file with hundreds of rows, with every first, second, third,
and fourth line representing a set of numbers for row names x, y, fit, and
residuals, respectively. However, any given group of these lines might be
from 10 to 2 values long.
When I try
fits=read.delim2(test)
fitLines=read.delim(testOut,header=FALSE,quote=)
worked pretty well.
I have a bunch of NA's that I don't want, but at least I can access the data
I do want.
Thank you,
Sean
--
View this message in context:
Actually, I take that back, this is only reading in 18 values at the most in
a list, but some lists should be over 200 values in length...
--
View this message in context:
http://r.789695.n4.nabble.com/How-do-I-read-multiple-rows-of-different-lengths-tp3015986p3016151.html
Sent from the R help
Using the text itself works, although slightly annoying. I ended up just
processing the text each time I wanted a value inside it, which turns out to
be about the same thing. The key to processing the text ended up being a
command: library(CGIwithR) followed by another command scanText(textLine)
For those interested in the data, as I did receive at least one request, I'll
post it here:
http://r.789695.n4.nabble.com/file/n3016233/testOut testOut
--
View this message in context:
http://r.789695.n4.nabble.com/How-do-I-read-multiple-rows-of-different-lengths-tp3015986p3016233.html
Sent
Thanks, that is awesome!
--
View this message in context:
http://r.789695.n4.nabble.com/How-do-I-read-multiple-rows-of-different-lengths-tp3015986p3016413.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing
7 matches
Mail list logo