[R] Error installing rjags in Ubuntu Linux
Paul Heinrich Dietrich
paul.heinrich.dietrich at gmail.com
Mon Feb 9 12:31:53 CET 2009
Dirk helped me by pointing out some other downloads I needed in another
thread to get updates working with R. After I got that working, in answer
to this question, I installed rjags and it worked...next came R2jags, and I
ran my first JAGS example with Gelman's school example. Success! Many
thanks to all.
Frank E Harrell Jr wrote:
> Paul Heinrich Dietrich wrote:
>> Hi Frank,
>> Thanks for the suggestion. It looks like that is an excellent way to
>> install JAGS. I've also been successful with installing JAGS, but cannot
>> get the rjags package to install, so I can call JAGS from R. Any
>> suggestions there? Thanks.
> After getting jags installed, I did not encounter problems running just
> install.packages('rjags'). You might provide some details to the group
> and someone may spot the problem.
>> Frank E Harrell Jr wrote:
>>> See if this helps:http://biostat.mc.vanderbilt.edu/JAGSInstallExample
>>> Improvements to this approach are welcomed.
>>> Paul Heinrich Dietrich wrote:
>>>> Here is a step-by-step guide to exactly how I've installed R in Ubuntu:
>>>> Regarding rjags, here is what happened:
>>>> This webpage
>>>> recommends logging into R as sudo R, and then typing:
>>>> ...but I get...
>>>> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>>>> unable to load shared library
>>>> ...which is virtually identical to this thread
>>>> about a 64-bit install. Although my computer has dual AMD64's, I'm
>>>> it's a 32-bit system. I have removed rjags with
>>>> Does anybody know how to install rjags in Ubuntu Linux (I'm specifying
>>>> because I am very new and don't know what I'm doing yet)? Thanks.
>>> Frank E Harrell Jr Professor and Chair School of Medicine
>>> Department of Biostatistics Vanderbilt
>>> R-help at r-project.org mailing list
>>> PLEASE do read the posting guide
>>> and provide commented, minimal, self-contained, reproducible code.
> Frank E Harrell Jr Professor and Chair School of Medicine
> Department of Biostatistics Vanderbilt University
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
View this message in context: http://www.nabble.com/Error-installing-rjags-in-Ubuntu-Linux-tp21900345p21911131.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help