Re: [R] .rda vs. .RData

2012-04-24 Thread Shi, Tao
Thank you, all!




>
> From: Barry Rowlingson 
>To: Jeff Newmiller  
>Cc: "Shi, Tao" ; Ista Zahn ; 
>"r-help@r-project.org"  
>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
> 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]]

__
R-help@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.


Re: [R] .rda vs. .RData

2012-04-24 Thread Barry Rowlingson
On Tue, Apr 24, 2012 at 12:51 AM, Jeff Newmiller
 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

__
R-help@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.


Re: [R] .rda vs. .RData

2012-04-23 Thread 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 NewmillerThe .   .  Go Live...
DCN:Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

"Shi, Tao"  wrote:

>I would like to know that too.  Many thanks.
>
>Tao
>
>
>
>- Original Message -
>> From: Ista Zahn 
>> To: Jeff Newmiller 
>> Cc: "Shi, Tao" ; "r-help@r-project.org"
>
>> 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
>>  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:        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"  wrote:
>>> 
>>>> Are they the same with .RData being the newer format?  Thanks,
>>>> 
>>>> ...Tao
>>>> 
>>>> 
>>>> __
>>>> R-help@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.
>>> 
>>>  __
>>>  R-help@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.
>>

__
R-help@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.


Re: [R] .rda vs. .RData

2012-04-23 Thread 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
 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:        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"  wrote:
>
>>Are they the same with .RData being the newer format?  Thanks,
>>
>>...Tao
>>
>>
>>__
>>R-help@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.
>
> __
> R-help@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.

__
R-help@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.


Re: [R] .rda vs. .RData

2012-04-23 Thread 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 NewmillerThe .   .  Go Live...
DCN:Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

"Shi, Tao"  wrote:

>Are they the same with .RData being the newer format?  Thanks,
>
>...Tao
>
>
>__
>R-help@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.

__
R-help@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.