To expand on what Bert suggests. Use:
loadToEnv <- function(file, ..., envir = new.env()) {
base::load(file = file, envir = envir, ...)
}
envA <- loadToEnv("a.RData")
envB <- loadToEnv("b.RData")
and then access the objects in environments envA and envB using
environment access methods, e.g.
?load
Read this carefully. Pay attention to its instructions re: overwriting
existing objects.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On T
ne
object).
BTW, what do you mean exactly by "combine/consolidate"?
And finally, post your questions in plain text not html, otherwise
they can be mangled.
Cheers
Petr
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of
Steven Yen
Sent: Tue
?
>>>
>>> And finally, post your questions in plain text not html, otherwise
>>> they can be mangled.
>>>
>>> Cheers
>>> Petr
>>>
>>>> -Original Message-
>>>> From: R-help [mailto:r-help-boun...@r-proje
W, what do you mean exactly by "combine/consolidate"?
And finally, post your questions in plain text not html, otherwise they can be
mangled.
Cheers
Petr
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Steven Yen
Sent: Tuesday, January 16, 2
t not html, otherwise they can
> be mangled.
>
> Cheers
> Petr
>
>> -Original Message-
>> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Steven Yen
>> Sent: Tuesday, January 16, 2018 9:44 AM
>> To: r-help@r-project.org
>> Su
"?
And finally, post your questions in plain text not html, otherwise they can be
mangled.
Cheers
Petr
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Steven Yen
> Sent: Tuesday, January 16, 2018 9:44 AM
> To: r-help@r-project.org
&g
On 16/01/2018 3:43 AM, Steven Yen wrote:
I ran two separate hours-long projects. Results of each were saved to
two separate .RData files.
Content of each includes, among others, the following:
me se t p sig
pc21.age 0.640 0.219 2.918 0.004 ***
pc21.agesq
I ran two separate hours-long projects. Results of each were saved to
two separate .RData files.
Content of each includes, among others, the following:
me se t p sig
pc21.age 0.640 0.219 2.918 0.004 ***
pc21.agesq 0.000 0.000 NaN NaN
pc21.inc
9 matches
Mail list logo