Reputation: 73
i got an error while i am running a big data. Error has explained by the following sample sample
Load data
mdata <- as.matrix(read.table('https://gubox.box.com/shared/static/qh4spcxe2ba5ymzjs0ynh8n8s08af7m0.txt', header = TRUE, check.names = FALSE, sep = '\t'))
Install and load library
source("https://bioconductor.org/biocLite.R")
biocLite("impute")
library(impute)
Sets a limit on the number of nested expressions
options(expressions = 500000)
Apply k-nearest neighbors for missing value imputation
res <-impute.knn(mdata)
and I got:
Error: protect(): protection stack overflow
If anybody has solution or suggestion, please share. Thanks
Upvotes: 3
Views: 7882
Reputation: 97
To solve my problem, i tried to use the data block by block . You can look at the post.
Upvotes: 1