[R] Interpreting script - write.csv
David Winsemius
dwinsemius at comcast.net
Thu Jan 19 14:29:35 CET 2012
On Jan 18, 2012, at 10:48 PM, Jhope wrote:
> Hi All,
>
> I am a beginner to R and a prof helped me with some script. I am
> having
> trouble understanding the below line. Is it finding the file
> turtlehatch.csv? I do not have my working directory set to this
> file. If so
> I tried ("file.choose") and it did not work.
I don't think you can use file.choose() to create a new file for output.
> R did nothing in response, no
> error message with this entry and the below entry.
It probably _did_ work. Generally R will report errors to the
console. You just don't know where to find it because it went to your
working directory. Try this to find where it went:
getwd()
>
> Can you please help me interpret? :
>
> write.csv(data.to.analyze, "turtlehatch.csv", row.names=FALSE)
>
> Thanks, J
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Interpreting-script-write-csv-tp4309068p4309068.html
> Sent from the R help mailing list archive at Nabble.com.
R-help is not _at_ Nabble. And Nabble is _not_ rhelp's archive.
--
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list