[R] add data from .RData file
David Winsemius
dwinsemius at comcast.net
Wed Mar 7 21:39:14 CET 2012
On Mar 7, 2012, at 3:16 PM, uday wrote:
> HI Sarah, thanks for reply
>
> your method works
>
> what I did
> load (" data.2005")
> load ( "data.2006")
> then
> data.new<- c( or we can save it as a new .RData also.
That looks failure prone. You have removed the context of your
original question ( and PLEASE stop doing that despite the fact that
the Nabble interface leads to to think that the rest of us see
it) .... but I seem to remember that you had the same number of
columns, so:
data.new <- cbind ( data.2005, data.2006 )
save(data.new, file="data.new.RData")
>
>
> The NULL files I can remove by selecting particular file number
> e.g data.new<- c( data.2005[1:3], data.2006[4:6])
>
--
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list