Hello,

I am trying to recursively append some data from multiple files into a
common object

For this, I am using in a loop

NewObject <- rbind(NewObject,tempObject)


For the first loop, obviously there is no NewObject ... so I wanted to do
NewObject <- tempObject[0,]

Now when it loops again I want to put the statement do "NewObject <-
tempObject[0,]" inside a if statement ... so that it does I can skip it once
NewObject has been initialized.

But, is.object doesn't seem to work. 

What is the alternative check that I can do? And is there a better way to
achieve what I want?

Thanks,
S

______________________________________________
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.

Reply via email to