getSymbols.csv("MERFX", dir="/home/data/riingo", extension="sparky")
should print out:
file MERFX.sparky does not exist in /home/data/riingo ....skipping
instead it prints out MERFX.csv does not exist. This is because "csv" is hardcoded in
if(!file.exists(sym.file)) {
cat("\nfile ",paste(Symbols[[i]],"csv",sep='.')," does not exist ",
"in ",dir,"....skipping\n")
next
}
The"csv" should be replaced with extension.
FWIW: I was trying to use extension="" to get it to not add a ".csv" extension, but that doesn't work.
getSymbols.csv("MERFX", dir="/home/data/riingo", extension="sparky")
should print out:
file MERFX.sparky does not exist in /home/data/riingo ....skipping
instead it prints out MERFX.csv does not exist. This is because "csv" is hardcoded in
if(!file.exists(sym.file)) {
cat("\nfile ",paste(Symbols[[i]],"csv",sep='.')," does not exist ",
"in ",dir,"....skipping\n")
next
}
The"csv" should be replaced with extension.
FWIW: I was trying to use extension="" to get it to not add a ".csv" extension, but that doesn't work.