Libraries: mt4R for new MQL4 - page 5

 
Hello gyse
I instaled mt4r.dll in library and mt4r.mqh to includ folder. 
but I don't know access forex data (h,o,l,c,v) in Rstudio for use them. can you help me pleas?
 
MetaQuotes Software Corp.:

mt4R for new MQL4:

Author: micclly

Hello, 

I don't have the vector of (o,h,l,c) in RStudio, How to download data in R and work with them in RStudio? when I run "head(price)" this massge shown:

> head(price)

Error in head(price) : object 'price' not found

> # The MT4 numbering bars from the most recent to oldest. The R on the contrary,

>     # from the old to the new, new bar last, then use "rev" function to reverse this.

>     price <- cbind(Open = rev(o), High = rev(h), Low = rev(l), Close = rev(c))

Error in rev(o) : object 'o' not found