Mashranga
Mashranga

Reputation: 73

Error: protect(): protection stack overflow

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

Answers (1)

To solve my problem, i tried to use the data block by block . You can look at the post.

Upvotes: 1

Related Questions