Dear Sir:
I have installed the BayesX, R2BayesX and BayesXsrc on my Mac using OSX10.7.4.
I have tried several examples from R help without success. For example:
> set.seed(111)
> n <- 500
> ## regressors
> dat <- data.frame(x = runif(n, -3, 3))
> ## response
> dat$y <- with(dat, 10 + sin(x) + rnorm(n, sd = 0.6))
>
> ## estimate models with
> ## bayesx MCMC and REML
> b1 <- bayesx(y ~ sx(x), method = "MCMC", 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.877 sec
Please let me know how to fix this problem.
I also tried the demo without obtaining any worthwhile output.
Demos in package R2BayesX:
forest A SpaceTime Study on Forest Health
zambia Determinants of Childhood Malnutrition in Zambia
Since I am not the only person having this problem and reluctant to
move forward with one of the following recommendations below, I am curious if
the problem has been diagnosed further and clear cut fix has been determined.
To be frank, I need more information to implement the first two recommendations.
> 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
So your R installation on your unstated OS is incomplete/corrupt.
It looks like this is OS X, so:
- wrong list (use R-sig-mac)
- you need to tell the correct list a lot more, including the 'at a
minimum' information asked for in the R posting guide (see below), and
how you installed R.
- a possible answer is to install
http://r.research.att.com/src/readline-5.2.tar.gz : see the OS X
documentation.
Thanks,
Paul
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac