Quantcast

.rda vs. .RData

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

.rda vs. .RData

Shi, Tao
Are they the same with .RData being the newer format?  Thanks,

...Tao


______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: .rda vs. .RData

Jeff Newmiller
No, RData saves both the variable name and corresponding content of multiple variables.  rda saves content of one variable, with no associated name.  The latter allows for greater flexibility in importing the data later into different working environments, the former is convenient for recreating a particular working environment.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<[hidden email]>        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.

"Shi, Tao" <[hidden email]> wrote:

>Are they the same with .RData being the newer format?  Thanks,
>
>...Tao
>
>
>______________________________________________
>[hidden email] 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.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: .rda vs. .RData

Ista Zahn
Hi Jeff.

Can you point me toward the documentation for "rda saves content of
one variable, with no associated name"? I don't seem to find it in
?save ?load etc.

Thanks,
Ista

On Mon, Apr 23, 2012 at 5:58 PM, Jeff Newmiller
<[hidden email]> wrote:

> No, RData saves both the variable name and corresponding content of multiple variables.  rda saves content of one variable, with no associated name.  The latter allows for greater flexibility in importing the data later into different working environments, the former is convenient for recreating a particular working environment.
> ---------------------------------------------------------------------------
> Jeff Newmiller                        The     .....       .....  Go Live...
> DCN:<[hidden email]>        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.
>
> "Shi, Tao" <[hidden email]> wrote:
>
>>Are they the same with .RData being the newer format?  Thanks,
>>
>>...Tao
>>
>>
>>______________________________________________
>>[hidden email] 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.
>
> ______________________________________________
> [hidden email] 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.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: .rda vs. .RData

Jeff Newmiller
My bad, I was thinking of rds (?saveRDS). RData and rda are mentioned under ?data as alternate file extensions for the same data format. Sorry for posting without checking first.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<[hidden email]>        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.

"Shi, Tao" <[hidden email]> wrote:

>I would like to know that too.  Many thanks.
>
>Tao
>
>
>
>----- Original Message -----
>> From: Ista Zahn <[hidden email]>
>> To: Jeff Newmiller <[hidden email]>
>> Cc: "Shi, Tao" <[hidden email]>; "[hidden email]"
><[hidden email]>
>> Sent: Monday, April 23, 2012 3:55 PM
>> Subject: Re: [R] .rda vs. .RData
>>
>> Hi Jeff.
>>
>> Can you point me toward the documentation for "rda saves content of
>> one variable, with no associated name"? I don't seem to find it in
>> ?save ?load etc.
>>
>> Thanks,
>> Ista
>>
>> On Mon, Apr 23, 2012 at 5:58 PM, Jeff Newmiller
>> <[hidden email]> wrote:
>>>  No, RData saves both the variable name and corresponding content of
>
>> multiple variables.  rda saves content of one variable, with no
>associated name.
>>  The latter allows for greater flexibility in importing the data
>later into
>> different working environments, the former is convenient for
>recreating a
>> particular working environment.
>>>
>---------------------------------------------------------------------------
>>>  Jeff Newmiller                        The     .....       .....  Go
>Live...
>>>  DCN:<[hidden email]>        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.
>>>
>>>  "Shi, Tao" <[hidden email]> wrote:
>>>
>>>> Are they the same with .RData being the newer format?  Thanks,
>>>>
>>>> ...Tao
>>>>
>>>>
>>>> ______________________________________________
>>>> [hidden email] 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.
>>>
>>>  ______________________________________________
>>>  [hidden email] 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.
>>

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: .rda vs. .RData

Barry Rowlingson
On Tue, Apr 24, 2012 at 12:51 AM, Jeff Newmiller
<[hidden email]> wrote:
> My bad, I was thinking of rds (?saveRDS). RData and rda are mentioned under ?data as alternate file extensions for the same data format. Sorry for posting without checking first.

 Understandable mistake. Confusingly similar file extensions are
confusingly similar.

 I'd have called them .Rob for the current .rds file format (single
object), and .Ros for the current .rda file format (>1 objects).

[actually I would have called them .Rob or .Robject, and .Rwk or
.Rworkspace but then I noticed that if you had a .Rob you had to have
a .Ros so as not to favour one or other of the project originators :)]

Barry

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: .rda vs. .RData

Shi, Tao
Thank you, all!




>________________________________
> From: Barry Rowlingson <[hidden email]>
>To: Jeff Newmiller <[hidden email]>
>Cc: "Shi, Tao" <[hidden email]>; Ista Zahn <[hidden email]>; "[hidden email]" <[hidden email]>
>Sent: Tuesday, April 24, 2012 12:36 AM
>Subject: Re: [R] .rda vs. .RData
>
>On Tue, Apr 24, 2012 at 12:51 AM, Jeff Newmiller
><[hidden email]> wrote:
>> My bad, I was thinking of rds (?saveRDS). RData and rda are mentioned under ?data as alternate file extensions for the same data format. Sorry for posting without checking first.
>
>Understandable mistake. Confusingly similar file extensions are
>confusingly similar.
>
>I'd have called them .Rob for the current .rds file format (single
>object), and .Ros for the current .rda file format (>1 objects).
>
>[actually I would have called them .Rob or .Robject, and .Rwk or
>.Rworkspace but then I noticed that if you had a .Rob you had to have
>a .Ros so as not to favour one or other of the project originators :)]
>
>Barry
>
>
>
        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Loading...