Sending date and time to R

Posted By: cyiannaki

Sending date and time to R - 11/10/17 06:47

Hi guys,

I am trying to pass the time and data with the OHLC prices to a function in R but it seems to convert it to a double.

Is it possible to pass it as a string?

For example something like:
vars DT = series(strdate("%y%m%d %H:%M:%S", wdate()));

Many thanks,

Charlie
Posted By: jcl

Re: Sending date and time to R - 11/10/17 08:20

Yes, indirectly, you can insert the string in an R expression that you send with Rx or Ri.
© 2024 lite-C Forums