Hi: The first argument of ifelse is a logical statement that must evaluate to either TRUE or FALSE. I'm guessing that you're using the append function here, which is not a logical statement. Perhaps it would help if you described what you wanted to do with a reproducible example to illustrate the problem.
HTH, Dennis On Fri, Sep 17, 2010 at 9:02 AM, lord12 <gaut...@yahoo.com> wrote: > > I get an error message: > > Error in file(file, ifelse(append, "a", "w")) : invalid 'open' argument > > How do I resolve this? > -- > View this message in context: > http://r.789695.n4.nabble.com/convert-to-csv-file-tp2543232p2544070.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. > [[alternative HTML version deleted]] ______________________________________________ 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.