gpt4 book ai didi

r - 错误 : protect(): protection stack overflow

转载 作者:行者123 更新时间:2023-12-04 14:43:31 32 4
gpt4 key购买 nike

我在运行大数据时遇到错误。错误已由以下示例示例解释

加载数据

   mdata <- as.matrix(read.table('https://gubox.box.com/shared/static/qh4spcxe2ba5ymzjs0ynh8n8s08af7m0.txt', header = TRUE, check.names = FALSE, sep = '\t')) 

安装和加​​载库

source("https://bioconductor.org/biocLite.R") 
biocLite("impute")
library(impute)

设置嵌套表达式数量的限制

options(expressions = 500000)

应用 k 最近邻进行缺失值插补

res <-impute.knn(mdata)

我得到了:

Error: protect(): protection stack overflow

如果有人有解决方案或建议,请分享。谢谢

最佳答案

为了解决我的问题,我尝试逐 block 使用数据。你可以看看post .

关于r - 错误 : protect(): protection stack overflow,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36009344/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com