Message-ID: <CAHDRDJXMq6VD1sGzRy-ptMA+hdxyAH0K9fgKb7QoDaazb6TTmA@mail.gmail.com>
Date: 2016-03-10T10:43:28Z
From: Peter Neumaier
Subject: write.csv conversion problem
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]]