[R] How to convert .Rdata file into .csv or something else?

Jim Lemon drjimlemon at gmail.com
Thu Aug 17 13:07:24 CEST 2017


Hi Yohei,
Were there any error messages that indicated that the file could not
be found? As you are using a *NIX operating system, remember that
".rdata" is not the same as ".Rdata". What does:

file.exists("~/docdis/input/ch2/WV6_Data_R_v_2016_01_01.rdata")

return?

Jim

On Thu, Aug 17, 2017 at 4:49 PM, y tanaka <marineband2007 at gmail.com> wrote:
> Dear mailing list members,
>
> I am a beginner of this community.
>
> I would like to analyze data in a .rdata file.
> I ran the following code, but the object "d" remained empty.
>
> d <- load("~/docdis/input/ch2/WV6_Data_R_v_2016_01_01.rdata")
>
> I would like to know how to convert this file format into .csv or .txt.
> I suppose this question is very basic, but I could not find solutions on
> internet or in my textbooks.
> I would appreciate it if someone would help me.
>
> Yohei Tanaka (Tohoku University)
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.



More information about the R-help mailing list