1.path[1]="C:/Users/???/Documents":
Sys.setenv(R_USER="E:/R/")

参考链接https://blog.csdn.net/wangzhepaohui/article/details/122739461
关于R语言显示“Warning message: In normalizePath(path.expand(path), winslash, mustWork) : path[1]=”问题的解决办法

2.Error: ‘list‘ object cannot be coerced to type ‘double‘

https://blog.csdn.net/zhongkeyuanchongqing/article/details/120623173

3.# NAs introduced by coercion
We can remove these commas by using the gsub function:
https://statisticsglobe.com/warning-message-nas-introduced-by-coercion-in-r