I am trying to import and merge a set of csv files using the following code, but it doesn\'t seem to be passing the by=c(\"X\",\"Y\") argument to the merge function. Any recomme
do.call accepts a list of all arguments, so try:
do.call
my.df <- do.call("merge",append(lapply(csvfiles, read.csv, header = TRUE), list(by=c("date","fx_code")) )