Re: [ESS] Can't load libraries after upgrading to R 3.3.2

2016-12-14 Thread Simon Bonner
Note also that the most recent version of JAGS is 4.2.0 
(http://mcmc-jags.sourceforge.net/). It’s probably worth upgrading. JAGS is 
available via homebrew if you want an easy way to install it and keep it up to 
date.

Simon Bonner
Assistant Professor of Environmetrics/Director MMASc
Department of Statistical and Actuarial Sciences/Department of Biology
University of Western Ontario
 
Office: Western Science Centre rm 276
 
Email: sbonn...@uwo.ca | Telephone: 519-661-2111 x88205 | Fax: 519-661-3813
Twitter: @bonnerstatslab | Website: http://simon.bonners.ca/bonner-lab/wpblog/
 

On 2016-12-13, 6:42 PM, "ESS-help on behalf of ross.darn...@data61.csiro.au" 
 
wrote:

A quick google found this

https://martynplummer.wordpress.com/2014/09/08/jags-3-4-0-for-mavericks/

Ross

-Original Message-
From: ESS-help [mailto:ess-help-boun...@r-project.org] On Behalf Of Gonçalo 
Ferraz
Sent: Wednesday, 14 December 2016 2:58 AM
To: ess-help@r-project.org
Subject: [ESS] Can't load libraries after upgrading to R 3.3.2

Hi, 

I just upgraded R to version 3.3.2 on a Mac OS X system. I suspect 
something may have gone wrong with the installation (despite a ‘successfully 
installed’ message) because the R.App is nowhere to be found.
Nevertheless, I can open R in ESS, which how I always use it. The problem 
though, is I can’t install packages from the R command line within ESS. Here is 
a sample error message:

> install.packages("rjags")
--- Please select a CRAN mirror for use in this session --- trying URL 
'https://vps.fmvz.usp.br/CRAN/bin/macosx/mavericks/contrib/3.3/rjags_4-6.tgz' 
<https://vps.fmvz.usp.br/CRAN/bin/macosx/mavericks/contrib/3.3/rjags_4-6.tgz'>
Content type 'application/x-gzip' length 249529 bytes (243 KB) 
==
downloaded 243 KB

The downloaded binary packages are in

/var/folders/kf/zkk64rtj5197pzwq94qfls0wgn/T//RtmpuSb7P1/downloaded_packages
> library(rjags)
Loading required package: coda
Error : .onLoad failed in loadNamespace() for 'rjags', details:
 call: dyn.load(file, DLLpath = DLLpath, ...)
 error: unable to load shared object 
'/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so':
 
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so,
 10): Library not loaded: /usr/local/lib/libjags.4.dylib  Referenced from: 
/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so
 Reason: image not found
Error: package or namespace load failed for ‘rjags’

This happens with other packages as well. Does anyone know what may be 
going on?

Thank you,

Gonçalo
[[alternative HTML version deleted]]

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: [ESS] Can't load libraries after upgrading to R 3.3.2

2016-12-14 Thread Ross.Darnell
A quick google found this

https://martynplummer.wordpress.com/2014/09/08/jags-3-4-0-for-mavericks/

Ross

-Original Message-
From: ESS-help [mailto:ess-help-boun...@r-project.org] On Behalf Of Gonçalo 
Ferraz
Sent: Wednesday, 14 December 2016 2:58 AM
To: ess-help@r-project.org
Subject: [ESS] Can't load libraries after upgrading to R 3.3.2

Hi, 

I just upgraded R to version 3.3.2 on a Mac OS X system. I suspect something 
may have gone wrong with the installation (despite a ‘successfully installed’ 
message) because the R.App is nowhere to be found.
Nevertheless, I can open R in ESS, which how I always use it. The problem 
though, is I can’t install packages from the R command line within ESS. Here is 
a sample error message:

> install.packages("rjags")
--- Please select a CRAN mirror for use in this session --- trying URL 
'https://vps.fmvz.usp.br/CRAN/bin/macosx/mavericks/contrib/3.3/rjags_4-6.tgz' 
<https://vps.fmvz.usp.br/CRAN/bin/macosx/mavericks/contrib/3.3/rjags_4-6.tgz'>
Content type 'application/x-gzip' length 249529 bytes (243 KB) 
==
downloaded 243 KB

The downloaded binary packages are in

/var/folders/kf/zkk64rtj5197pzwq94qfls0wgn/T//RtmpuSb7P1/downloaded_packages
> library(rjags)
Loading required package: coda
Error : .onLoad failed in loadNamespace() for 'rjags', details:
 call: dyn.load(file, DLLpath = DLLpath, ...)
 error: unable to load shared object 
'/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so':
 
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so,
 10): Library not loaded: /usr/local/lib/libjags.4.dylib  Referenced from: 
/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so
 Reason: image not found
Error: package or namespace load failed for ‘rjags’

This happens with other packages as well. Does anyone know what may be going on?

Thank you,

Gonçalo
[[alternative HTML version deleted]]

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: [ESS] Can't load libraries after upgrading to R 3.3.2

2016-12-13 Thread Martin Maechler
I'm sure this is unrelated to ESS.   You did post to R-help, too, right?

I suspect the problem is entirely a Mx OS X problem.  The error
message points to
  /usr/local/lib/libjags.4.dylibdoes that file exist ?

On Tue, Dec 13, 2016 at 5:58 PM, Gonçalo Ferraz  wrote:
> Hi,
>
> I just upgraded R to version 3.3.2 on a Mac OS X system. I suspect something 
> may have gone wrong with the installation (despite a ‘successfully installed’ 
> message) because the R.App is nowhere to be found.
> Nevertheless, I can open R in ESS, which how I always use it. The problem 
> though, is I can’t install packages from the R command line within ESS. Here 
> is a sample error message:
>
>> install.packages("rjags")
> --- Please select a CRAN mirror for use in this session ---
> trying URL 
> 'https://vps.fmvz.usp.br/CRAN/bin/macosx/mavericks/contrib/3.3/rjags_4-6.tgz' 
> 
> Content type 'application/x-gzip' length 249529 bytes (243 KB)
> ==
> downloaded 243 KB
>
> The downloaded binary packages are in
> 
> /var/folders/kf/zkk64rtj5197pzwq94qfls0wgn/T//RtmpuSb7P1/downloaded_packages
>> library(rjags)
> Loading required package: coda
> Error : .onLoad failed in loadNamespace() for 'rjags', details:
>  call: dyn.load(file, DLLpath = DLLpath, ...)
>  error: unable to load shared object 
> '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so':
>  
> dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so,
>  10): Library not loaded: /usr/local/lib/libjags.4.dylib
>  Referenced from: 
> /Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so
>  Reason: image not found
> Error: package or namespace load failed for ‘rjags’
>
> This happens with other packages as well. Does anyone know what may be going 
> on?
>
> Thank you,
>
> Gonçalo
> [[alternative HTML version deleted]]
>
> __
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

[ESS] Can't load libraries after upgrading to R 3.3.2

2016-12-13 Thread Gonçalo Ferraz
Hi, 

I just upgraded R to version 3.3.2 on a Mac OS X system. I suspect something 
may have gone wrong with the installation (despite a ‘successfully installed’ 
message) because the R.App is nowhere to be found.
Nevertheless, I can open R in ESS, which how I always use it. The problem 
though, is I can’t install packages from the R command line within ESS. Here is 
a sample error message:

> install.packages("rjags")
--- Please select a CRAN mirror for use in this session ---
trying URL 
'https://vps.fmvz.usp.br/CRAN/bin/macosx/mavericks/contrib/3.3/rjags_4-6.tgz' 

Content type 'application/x-gzip' length 249529 bytes (243 KB)
==
downloaded 243 KB

The downloaded binary packages are in

/var/folders/kf/zkk64rtj5197pzwq94qfls0wgn/T//RtmpuSb7P1/downloaded_packages
> library(rjags)
Loading required package: coda
Error : .onLoad failed in loadNamespace() for 'rjags', details:
 call: dyn.load(file, DLLpath = DLLpath, ...)
 error: unable to load shared object 
'/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so':
 
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so,
 10): Library not loaded: /usr/local/lib/libjags.4.dylib
 Referenced from: 
/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rjags/libs/rjags.so
 Reason: image not found
Error: package or namespace load failed for ‘rjags’

This happens with other packages as well. Does anyone know what may be going on?

Thank you,

Gonçalo
[[alternative HTML version deleted]]

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help