2022-04-30 R报错归纳

2022-10-04  本文已影响0人  千容安
不允许有重复的'row.names'

row.names = NULL


invalid multibyte string at '<ff><fe><69>'

导入为txt时误选unicode,选择文本文件(制表符分隔)


Error: (list) object cannot be coerced to type 'double'

data<-as.numeric(unlist(data))


删除NA:

d<-na.omit(d)


no applicable method for 'depth' applied to an object of class "NULL"

再试一遍


cannot open file '.\pr.nt.csv': Invalid argument
> setwd("C:\\Users\\Administrator.DESKTOP-4UQ3Q0K\\Desktop")
> write.csv(pr.nt,file=".\\pr.nt.csv",row.names = FALSE)

更改工作路径在桌面,能保存在桌面,不能保存在E盘。虽然不知道为啥但能解决就行。。


cannot allocate vector of size

memory.limit(size = 35000)


problem copying rlang.dll: Permission denied
以管理员权限打开R

上一篇下一篇

猜你喜欢

热点阅读