> -----Original Message----- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of lord12 > Sent: Friday, September 17, 2010 9:02 AM > To: r-help@r-project.org > Subject: Re: [R] convert to csv file > > > I get an error message: > > Error in file(file, ifelse(append, "a", "w")) : invalid > 'open' argument > > How do I resolve this?
More context would help. E.g., what command did you type to get that message? You can get it from > sink("junk.txt", append=NULL) Error in file(file, ifelse(append, "a", "w")) : invalid 'open' argument or > sink("junk.txt", append=c(TRUE,FALSE)) Error in file(file, ifelse(append, "a", "w")) : invalid 'open' argument or > sink("junk.txt", append=NA) Error in file(file, ifelse(append, "a", "w")) : invalid 'open' argument because sink expect append to be either TRUE or FALSE. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -- > View this message in context: > http://r.789695.n4.nabble.com/convert-to-csv-file-tp2543232p25 44070.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. > ______________________________________________ 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.