[R] R2BayesX (command bayesx) doesn't work

niandra gianluca.mastrantonio at yahoo.it
Wed Jun 6 17:13:32 CEST 2012


Hi all,

I have a problem with the library R2BayesX, when i try to use the command
bayesx i get this error:
dyld: Library not loaded: /usr/local/lib/libreadline.5.2.dylib
  Referenced from:
/Library/Frameworks/R.framework/Versions/2.15/Resources/library/BayesXsrc/libs/i386/BayesX
  Reason: image not found

I obtain this message also with the example in the bayesx help:

## generate some data
set.seed(111)
n <- 200

## regressor
dat <- data.frame(x = runif(n, -3, 3))

## response
dat$y <- with(dat, 1.5 + sin(x) + rnorm(n, sd = 0.6))

## estimate models with
## bayesx REML and MCMC
b1 <- bayesx(y ~ sx(x), method = "REML", data = dat)
dyld: Library not loaded: /usr/local/lib/libreadline.5.2.dylib
  Referenced from:
/Library/Frameworks/R.framework/Versions/2.15/Resources/library/BayesXsrc/libs/i386/BayesX
  Reason: image not found
Total run time was: 0.69 sec

--
View this message in context: http://r.789695.n4.nabble.com/R2BayesX-command-bayesx-doesn-t-work-tp4632541.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list