[R-SIG-Finance] write.csv conversion problem
Peter Neumaier
peter.neumaier at gmail.com
Thu Mar 10 11:43:28 CET 2016
Hi all,
I am writing a matrix (typeof = double) into a CSV file with write.csv.
My first column of the matrix is a date in the form yyyy-mm-dd hh:mm:ss:
> a_fetchdata[1,0]
2016-02-09 07:30:00
> typeof(a_fetchdata[1,0])
[1] "double"
My CSV file contains a sequence of integers (from 1 to x) instead of the
expected date.
How can I prevent that conversion to happen when writing into CSV?
Thanks
Peter
[[alternative HTML version deleted]]
More information about the R-SIG-Finance
mailing list