[R] Unable to load rjags

2009-10-07 Thread JLucke
I am trying to install rjags.  Although I can install the library, I 
cannot load the package.  See below.

Here is my session
 sessionInfo()
R version 2.9.2 (2009-08-24) 
i386-pc-mingw32 
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United 
States.1252;LC_MONETARY=English_United 
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base 
other attached packages:
[1] coda_0.13-4 lattice_0.17-26
loaded via a namespace (and not attached):
[1] grid_2.9.2  tools_2.9.2

Here I install the rjags package

 utils:::menuInstallPkgs()
trying URL 
'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/2.9/rjags_1.0.3-10.zip'
Content type 'application/zip' length 308968 bytes (301 Kb)
opened URL
downloaded 301 Kb

package 'rjags' successfully unpacked and MD5 sums checked

The downloaded packages are in
C:\Documents and Settings\jlucke\Local 
Settings\Temp\RtmpRAkMZy\downloaded_packages
updating HTML package descriptions

BUT,
 library(rjags)
Error in fun(...) : Failed to locate JAGS 1.0.3 installation
Error : .onLoad failed in 'loadNamespace' for 'rjags'
Error: package/namespace load failed for 'rjags'

Any advice?

Joe 
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Unable to load rjags

2009-10-07 Thread Uwe Ligges



jlu...@ria.buffalo.edu wrote:
I am trying to install rjags.  Although I can install the library, I 
cannot load the package.  See below.


Here is my session

sessionInfo()
R version 2.9.2 (2009-08-24) 
i386-pc-mingw32 
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United 
States.1252;LC_MONETARY=English_United 
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base 
other attached packages:

[1] coda_0.13-4 lattice_0.17-26
loaded via a namespace (and not attached):
[1] grid_2.9.2  tools_2.9.2

Here I install the rjags package


utils:::menuInstallPkgs()
trying URL 
'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/2.9/rjags_1.0.3-10.zip'

Content type 'application/zip' length 308968 bytes (301 Kb)
opened URL
downloaded 301 Kb

package 'rjags' successfully unpacked and MD5 sums checked

The downloaded packages are in
C:\Documents and Settings\jlucke\Local 
Settings\Temp\RtmpRAkMZy\downloaded_packages

updating HTML package descriptions

BUT,

library(rjags)

Error in fun(...) : Failed to locate JAGS 1.0.3 installation
Error : .onLoad failed in 'loadNamespace' for 'rjags'
Error: package/namespace load failed for 'rjags'

Any advice?



You need to install jags separately. The package contains rhe interface 
only.


Uwe Ligges

Joe 
	[[alternative HTML version deleted]]


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.