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.tabl
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
wrote:
> Hi all,
> I have a problem with writing a *.CSV file in U
CSV) file, rather a "|" separated values file.
-Matt
From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of
venkata kirankumar [kiran4u2...@gmail.com]
Sent: Tuesday, June 22, 2010 9:00 AM
To: r-help@r-project.org
Subject: [R] Pro
On 22/06/2010 9:00 AM, venkata kirankumar 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)
Hi Murdoch,
first of all thanks allot for your suggestion.
I tried the way you suggested but while opening in notepad and checking its
showing that the file is in ANSI
can any thing else I can do for this
Thanks in advance
kiran
On Tue, Jun 22, 2010 at 7:02 PM, Duncan Murdoch wrote:
> On 22/06/2
On 22/06/2010 10:39 AM, venkata kirankumar wrote:
Hi Murdoch,
first of all thanks allot for your suggestion.
I tried the way you suggested but while opening in notepad and checking its
showing that the file is in ANSI
can any thing else I can do for this
What makes you think notepad is able
Duncan and I had nearly identical code examples in our replies. This is
becoming a theme. Great minds think alike??? :-)
UTF-8 is backward compatible with ASCII. Hence, if your "|" separated
table contains only ASCII, the UTF-8 encoded file may be
indistinguishable from an ASCII encoded file. Mayb
7 matches
Mail list logo