[R] Converting to XTS loses data.frame structure

2012-05-29 Thread Noah Silverman
Hello, I noticed something odd when working with data frames and xts objects. If I read in a CSV file, R creates a nice data.frame. This works well. If I then convert to an XTS object, I see that all the values in the data are now quoted. My data is a mix of numeric and character. This is

Re: [R] Converting to XTS loses data.frame structure

2012-05-29 Thread Joshua Ulrich
On Tue, May 29, 2012 at 2:11 PM, Noah Silverman noahsilver...@ucla.edu wrote: Hello, I noticed something odd when working with data frames and xts objects. If I read in a CSV file, R creates a nice data.frame.  This works well. If I then convert to an XTS object, I see that all the values

Re: [R] Converting to XTS loses data.frame structure

2012-05-29 Thread Jeff Newmiller
Only convert numeric columns to time series. This is a fundamental limitation of ts, xts, and zoo. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics:

Re: [R] Converting to XTS loses data.frame structure

2012-05-29 Thread Noah Silverman
Thanks Joshua, Appreciate it! -- Noah Silverman UCLA Department of Statistics 8208 Math Sciences Building Los Angeles, CA 90095 On May 29, 2012, at 12:17 PM, Joshua Ulrich wrote: On Tue, May 29, 2012 at 2:11 PM, Noah Silverman noahsilver...@ucla.edu wrote: Hello, I noticed something odd

Re: [R] Converting to XTS loses data.frame structure

2012-05-29 Thread steven mosher
is there a statement of work for the summer of code work. On May 29, 2012 12:19 PM, Joshua Ulrich josh.m.ulr...@gmail.com wrote: On Tue, May 29, 2012 at 2:11 PM, Noah Silverman noahsilver...@ucla.edu wrote: Hello, I noticed something odd when working with data frames and xts objects.

Re: [R] Converting to XTS loses data.frame structure

2012-05-29 Thread R. Michael Weylandt
Hi Steven, I am the GSOC student in question and I think the best statement of work is probably this one here on the GSOC-R Wiki (as well as for the other projects): http://rwiki.sciviews.org/doku.php?id=developers:projects:gsoc2012:xts If you log into Google Melange, my project proposal should