[R] convert to csv file
William Dunlap
wdunlap at tibco.com
Fri Sep 17 18:21:46 CEST 2010
> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of lord12
> Sent: Friday, September 17, 2010 9:02 AM
> To: r-help at 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 at 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.
>
More information about the R-help
mailing list