4/27/2023 0 Comments Text file encoding for macHopefully the encoding is specified in the documentation that accompanied your data. To read a text file with non ASCII encoding into R you should a) determine the encoding and b) read it in such a way that the information is re-encoded into UTF-8, and c) ignore the bug in the ame print method on Windows. Additional background and discussion is presented in later sections. If you are on a deadline and just need to get the job done this section should be all you need. The issues described here by and large to not apply on Mac or Linux they are specific to running R on Windows. This section gives the basic facts and recommendations for importing files with arbitrary encoding on Windows. Note: the title of this post was inspired by this question on stackoverflow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |