waic and loo from loo package make R studio crash -


my r studio crashes when run either

waic <- loo::waic(log_lik,na.rm = t) or

loo <- loo::loo(log_lik).

log_lik looks this

> str(log_lik)  num [1:50, 1:225305] 0.823 0.828 -0.738 0.7 -0.719 ... > max(log_lik) [1] 2.188277 > min(log_lik) [1] -128.6936 > mean(log_lik) [1] -0.600717 

try increase memory limit:

memory.limit(10^10) 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -