[R] reading in a (very simple) list from a file

VA Smith vas1 at st-andrews.ac.uk
Fri Oct 12 13:53:19 CEST 2012

Hi again! Just in case someone ends up googling this for the same thing I
did, here is a modification to get around a little problem:

splitlist <- split(dat1,dat1$keys)
[1] 4

Because the list after split is stored in alphabetical order by name, it
reorders things, so you need to use that order when you name it.

Thanks again,

View this message in context: http://r.789695.n4.nabble.com/reading-in-a-very-simple-list-from-a-file-tp4645741p4645985.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list