<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>hi,</div>

<div> </div>

<div>I have tried this</div>

<div> </div>

<div>load.packages("TTR,PerformanceAnalytics,quantmod")</div>

<div> </div>

<div>getFX("USD/JPY",src="oanda",from="2013-01-01",to="2013-07-01")</div>

<div> </div>

<div>but I receive the following error msg</div>

<div> </div>

<div>Error in xts(as.numeric(fr[1:length(fr)%%2 != 1]), as.Date(fr[1:length(fr)%%2 ==  : <br/>
  NROW(x) must match length(order.by)<br/>
In addition: Warning messages:<br/>
1: In readLines(tmp) :<br/>
  incomplete final line found on '/var/folders/23/shh8stb17gz9fgtsk0q4wl2w0000gn/T//Rtmp2PmND4/file43a7cc6d'<br/>
2: In xts(as.numeric(fr[1:length(fr)%%2 != 1]), as.Date(fr[1:length(fr)%%2 ==  :<br/>
  NAs introduced by coercion</div>

<div> </div>

<div>Any idea ??</div>

<div> </div>

<div>Best Regards</div>

<div>Martin</div></div></body></html>