title: ** caught segfault *** address 0xfffffffc0fcd6248, cause 'memory not mapped'
body: <p>Hi every one I am working on shiny app using bnlearn for Bayesian networks and using r studio I get a fatal error and when I use R GUI I get this error  </p>
  
  <pre><code>** caught segfault ***
  
  address 0xfffffffc0fcd6248, cause 'memory not mapped' Traceback: 1:
  .Call("mappred", node = node, fitted = fitted, data = data, n =
  as.integer(n), from = from, prob = prob, debug = debug) 2:
  map.prediction(node = node, fitted = object, data = data, n =
  extra.args$n, from = extra.args$from, prob = prob, debug = debug) 3:
  predict.bn.fit(values10$fitted, input$targetvariables, combn2, prob =
  TRUE, method = "bayes-lw") 4: predict(values10$fitted,
  input$targetvariables, combn2, prob = TRUE, method = "bayes-lw") 5:
  t(attr(predict(values10$fitted, input$targetvariables, combn2, prob =
  TRUE, method = "bayes-lw"), "prob")) 6: observeEventHandler(...) 7:
  ..stacktraceon..(observeEventHandler(...)) 8: handlerFunc() 9:
  ..stacktraceon..(expr) 10: contextFunc() 11: env$runWith(self, func)
  12: withReactiveDomain(.domain, { env &lt;- .getReactiveEnvironment()
  .graphEnterContext(id) on.exit(.graphExitContext(id), add = TRUE)
  env$runWith(self, func)}). ......
  </code></pre>
  
  <p>I tried to get the latest version of R and rstudio but it still happens </p>
  
  <p>is it my computer memory that is small ?? or something else </p>
  
  <p>thanks in advance </p>