[R] add data from .RData file
Sarah Goslee
sarah.goslee at gmail.com
Wed Mar 7 21:08:39 CET 2012
You can use load() to load them both, if they do not have objects with
identical names, then save() to make a new RData file.
I'm not clear on what you mean by a NULL file, though. If you know
which objects you want to get rid of, you can do that with rm().
Sarah
On Wed, Mar 7, 2012 at 12:46 PM, uday <uday_143_4u at hotmail.com> wrote:
> I got two .RData file e.g data.2005.RData & data.2006.RData
> I would like to combine these two different data set and make single RData
> file.
> in both file there are some NULL files are also available and I would like
> to clear this NULL files also.
> $ : NULL
> $ : NULL
> $ : num [1:43285, 1:8] -21.1 -21.1 -24.9 -24.9 -24.9 ...
> ..- attr(*, "dimnames")=List of 2
> .. ..$ : NULL
> .. ..$ : chr [1:8] "latitude" "longitude" "time" "ch4" ...
> $ : num [1:44730, 1:8] 5.74 5.74 5.74 -21.06 -21.06 ...
> ..- attr(*, "dimnames")=List of 2
> .. ..$ : NULL
> .. ..$ : chr [1:8] "latitude" "longitude" "time" "ch4" ...
>
> I never worked with RData files, so it will be very nice if somebody can
> help me to do this operation.
>
> --
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list