Re: [R] assign vectors to objects

2012-08-01 Thread David Winsemius
On Aug 1, 2012, at 8:50 AM, John linux-user wrote: Hi everyone, I try to add many vectors (L1,L2,L3) to multiple list objects (a.list, b.list) in a workspace. Somethings like below, but it is not working. Any suggestions will be appreciated. Best, John lf=ls(pattern=".lst") for

Re: [R] assign vectors to objects

2012-08-01 Thread R. Michael Weylandt
I'm afraid I don't quite understand what you're getting at: can you say what you're trying to do big-picture wise. This advice might help making a reproducible example: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example Best, Michael PS -- Just a hunch -- but

[R] assign vectors to objects

2012-08-01 Thread John linux-user
Hi everyone, I try to add many vectors (L1,L2,L3) to multiple list objects (a.list, b.list) in a workspace. Somethings like below, but it is not working. Any suggestions will be appreciated. Best, John lf=ls(pattern=".lst")  for (x in listfiles) {     dat=read.delim(x,header=F)