Message-ID: <0a97d769-48d5-7105-1a09-eb5cf68debc1@lisse.NA>
Date: 2020-10-20T09:23:43Z
From: Dr Eberhard W Lisse
Subject: write.csv covert Åland to <c5>land
In-Reply-To: <e72f7f23-6320-4ee4-a5c8-89d92d2d0a4c@yeah.net>
?file.write()
look for fileEncoding?
el
On 20/10/2020 11:13, Jinsong Zhao wrote:
> Hi there,
>
> I tried to export the names of country to a csv file with write.csv(). In the resulted file, ?land was coverted to <c5>land. Is there any way could prevent this happening? Thanks!
>
>> abc
> [1] "?land"
>> write.table(abc, file = "")
> "x"
> "1" "<c5>land"
>
> Best,
> Jinsong
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
--
Dr. Eberhard W. Lisse \ / Obstetrician & Gynaecologist
el at lisse.NA / * | Telephone: +264 81 124 6733 (cell)
PO Box 8421 Bachbrecht \ / If this email is signed with GPG/PGP
10007, Namibia ;____/ Sect 20 of Act No. 4 of 2019 may apply