Skip to content

incorrect getSymbols.csv error message #447

Description

@jwmincy

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions