jpm miao
2012-Oct-01 03:38 UTC
[R] Input and output of time series data - any function or packages that helps?
Hello, I work with time series data. From time to time I run programs to produce results that are in time series form (e.g., quarterly or monthly data). After a few days I might need to access part of the results and to run another program. Is there any function or package (like dataframe or zoo?) that might help so that I don't need to copy the results manually to a csv or xls file? If the data are not time series (just indexed by 1, 2,3), is there any function that can help? Thanks, Miao [[alternative HTML version deleted]]
Michael Weylandt
2012-Oct-01 06:22 UTC
[R] Input and output of time series data - any function or packages that helps?
On Oct 1, 2012, at 4:38 AM, jpm miao <miaojpm at gmail.com> wrote:> Hello, > > I work with time series data. From time to time I run programs to > produce results that are in time series form (e.g., quarterly or monthly > data). After a few days I might need to access part of the results and to > run another program. Is there any function or package (like dataframe or > zoo?) that might help so that I don't need to copy the results manually to > a csv or xls file? > > If the data are not time series (just indexed by 1, 2,3), is there any > function that can help? >Many --start with write.csv() Michael> Thanks, > > Miao > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Jeff Newmiller
2012-Oct-01 06:31 UTC
[R] Input and output of time series data - any function or packages that helps?
I think this is a very vague question.
If you are exporting to some other software, csv is probably a very good choice,
unless there is something more specific about that software.
As for "manual", I think we left the scribes in the middle ages. R is
eminently scriptable for automating tasks, but I know nothing of your workflow,
so I think the ball is in your court.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live
Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
jpm miao <miaojpm at gmail.com> wrote:
>Hello,
>
> I work with time series data. From time to time I run programs to
>produce results that are in time series form (e.g., quarterly or
>monthly
>data). After a few days I might need to access part of the results and
>to
>run another program. Is there any function or package (like dataframe
>or
>zoo?) that might help so that I don't need to copy the results manually
> to
>a csv or xls file?
>
> If the data are not time series (just indexed by 1, 2,3), is there any
>function that can help?
>
> Thanks,
>
>Miao
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
Reasonably Related Threads
- Definition of "lag" is opposite in ts and xts objects!
- Any package recommended for time series graphics in R?
- What is a better way to deal with lag/difference and loops in time series using R?
- How can I tabulate time series data (in RStudio or any other R editor)?
- Why can't R understand if(num!=NA)?