joshuaulrich / joshuaulrich/quantmod

incorrect getSymbols.csv error message

Open
#447 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
906
Forks
233
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.