[R] Problem with writing a CSV file in UTF-8 formate
jim holtman
jholtman at gmail.com
Tue Jun 22 15:12:34 CEST 2010
If you look at the help for write.table you will see that there is no
'fileEncoding' parameter. I would suggest you use a connection
('file') where you can specify the encoding.
On Tue, Jun 22, 2010 at 9:00 AM, venkata kirankumar
<kiran4u2all at gmail.com> wrote:
> Hi all,
> I have a problem with writing a *.CSV file in UTF-8 formate
>
> I tried to write a dataframe named "dfPREINDX" to the new file named
> "preindx.csv" in below formate
>
> write.table(dfPREINDX,PreIndex,fileEncoding="UTF-8",sep="|",row.names=FALSE)
>
> but its throed an error like
>
> Error in write.table(dfPREINDX, "preindx.csv", fileEncoding = "UTF-8", sep =
> "|", :
> unused argument(s) (fileEncoding = "UTF-8")
>
> can any one please help me how to create a file in UTF-8 formate.
>
>
> Thanks in advance
> kiran.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?
More information about the R-help
mailing list