Skip to content
Prev 386027 / 398513 Next

write.csv covert Åland to <c5>land

Hi there,

Why the same string is displayed in different form?

 > abc[,1]
[1] "?land"       "Afghanistan"
 > abc
          name
1    <c5>land
2 Afghanistan

And more...

 > dput(abc, "aa.txt")
 > dget("aa.txt")
          name
1    <c5>land
2 Afghanistan
 > dget("aa.txt")[,1]
[1] "<c5>land"    "Afghanistan"

Best,
Jinsong
On 2020/10/20 17:13, Jinsong Zhao wrote: