Ummm... Have you actually read ?load to see how do this using the "environment" argument?
-- Bert On Thu, Feb 7, 2013 at 1:58 PM, Shi, Tao <shida...@yahoo.com> wrote: > In fact, they have objects with exact same names. They were created by the > same code at different time points. The code is not version-controlled, so I > only have the most recent version, but I want to know what's changed. > > Tao > > > > > ----- Original Message ----- >> From: Bert Gunter <gunter.ber...@gene.com> >> To: R. Michael Weylandt <michael.weyla...@gmail.com> >> Cc: "Shi, Tao" <shida...@yahoo.com>; "r-help@r-project.org" >> <r-help@r-project.org> >> Sent: Thursday, February 7, 2013 1:30 PM >> Subject: Re: [R] compare objects in two different workspaces >> >> ... but you need to load them into different environments in case they >> have objects with the same name, right? >> >> -- Bert >> >> On Thu, Feb 7, 2013 at 1:25 PM, R. Michael Weylandt >> <michael.weyla...@gmail.com> wrote: >>> On Thu, Feb 7, 2013 at 5:53 PM, Shi, Tao <shida...@yahoo.com> wrote: >>>> Hi list, >>>> >>>> Is there a easy way to compare objects in two different workspace files >> (i.e. .RData files) in R? I can use some generic file compare softwares >> (e.g. >> BeyondCompare) to binary comparison, but when it says they're different you >> can't tell where the difference are from. >>> >>> Load them both and compare within R? >>> >>> MW >>> >>>> >>>> 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. >> >> >> >> -- >> >> Bert Gunter >> Genentech Nonclinical Biostatistics >> >> Internal Contact Info: >> Phone: 467-7374 >> Website: >> http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm >> -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm ______________________________________________ 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.