Skip to content
Prev 320481 / 398506 Next

How to search in each excel in my working dir and extract part information of one product in each country?

Why?
If you are doing the original analyses in R why not just run them put the results for the countries in a list.  Then just convert the list to a data.frame and subset.

Quick and dirty example.

md1  <-  data.frame(aa = 1:10, b = letters[1:5])
 md2  <-  data.frame(aa = 11:20, b = letters[6:10])
  
  mlist  <-  list(md1,md2)
  
  dd1  <-  do.call(rbind.data.frame, mlist)

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!