[R-SIG-Finance] write.csv conversion problem
josh.m.ulrich at gmail.com
Thu Mar 10 12:58:39 CET 2016
On Thu, Mar 10, 2016 at 4:43 AM, Peter Neumaier
<peter.neumaier at gmail.com> wrote:
> 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:
> 2016-02-09 07:30:00
>  "double"
Your a_fetchdatra object isn't a matrix. It looks like it's either an
xts or a zoo object. I'm not sure how you concluded that the first
column is a date-time, based on the result of extracting the 0-th
> 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?
> [[alternative HTML version deleted]]
> R-SIG-Finance at r-project.org mailing list
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2016 | www.rinfinance.com
More information about the R-SIG-Finance