I am trying to use the R foreach package on a list. In traditional R this works perfectly fine :
foreach
dat <- list(\'a\'=1, \'b\'=2, \'c\'=3)