I have been using the function the last months but the last couple of day it stopped working:
library(quantmod)
getFX("USD/JPY")
Error in open.connection(con, "rb") : HTTP error 404.
Anyone else having the same problem? Any alternatives in R for downloading FX data?
UPDATE: the quantmod creator provided a fix for the issue, just copying the code for installing it:
install.packages("curl")
library(devtools)
devtools::install_github("joshuaulrich/quantmod", ref="225_getsymbols_oanda")