Re: [R] Importing data by targeting in filenames inside a nested list

2015-12-09 Thread PIKAL Petr
Hi I did not see any answer so I give it a try. Your approach seems to be OK. However you probably need to polish your code to get the correct part of nested list. > lll<-list(a=rnorm(10), b= list(x=1:10, y<-letters)) > lll[[1]] [1] -0.1876418 1.5933030 -0.1799642 0.1713959 1.1079227 -0.58

Re: [R] Importing data by targeting in filenames inside a nested list

2015-12-08 Thread Ivan Calandra
Hi Mario, It is at the limit of my skills so I'm not sure this will be a real solution. But it might help you anyway (and there will be more competent people anyway). What does not make sense to me is why you set the names of your files and then use them to list them with list.files() What