美文网首页
2022-04-30 R报错归纳

2022-04-30 R报错归纳

作者: 千容安 | 来源:发表于2022-10-04 22:39 被阅读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

    相关文章

      网友评论

          本文标题:2022-04-30 R报错归纳

          本文链接:https://www.haomeiwen.com/subject/nvbyyrtx.html