最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

r - how to convert utf-8 to ascii for a list of data frames - Stack Overflow

programmeradmin2浏览0评论

I have a list of data frames, if each df have multiple vars. All variables are characters. I found that there are some special characters (such as \x96) in some variables which prevent my codes to run. I have to convert them or remove them. Is it a smart way to remove them all at once?

currently I found iconv(lst[["df1"]]$var1, from ="UTF-8", to="ASCII", sub = "") can take care one variable in a df.

发布评论

评论列表(0)

  1. 暂无评论