Updating to latest version of R and reinstalling RQuantLib worked.  

Thanks
> On Sep 24, 2023, at 5:29 PM, David Winsemius <dwinsem...@comcast.net> wrote:
> 
> 
> On 9/24/23 08:23, Ivan Krylov wrote:
>> On Sun, 24 Sep 2023 02:19:20 +0000
>> Naresh Gurbuxani <naresh_gurbux...@hotmail.com> wrote:
>> 
>>>> install.packages("RQuantLib", repos = "https://cran.r-project.org";)
>>> Installing package into ‘/usr/local/lib/R/4.1/site-library’
>>> (as ‘lib’ is unspecified)
>>> trying URL
>>> 'https://cran.r-project.org/src/contrib/RQuantLib_0.4.17.tar.gz'
> 
> 
> Ivan is undoubtedly more knowledgeable on these matters than I, but I noticed 
> that you are trying to install the current version of RQuantLib into a 
> library that appears associated with a significantly older version of R than 
> is current the current version. (And I second the advice that this is a 
> question properly addressed to the R_SIG-mac mailing list but only with a 
> much better description of version of your setup and how R was installed. You 
> might want to install RQuantLib for a time frame that matched R 4.1.x. The 
> archive is here:
> 
> https://cran.r-project.org/src/contrib/00Archive/RQuantLib/
> 
> You may also want to set the compile flags so that R can find your version of 
> gfortran. That can be done within install.packages but most experts would 
> prefer that you do it from a system terminal session with $ R CMD INSTALL. 
> You can find details at the r help page `
> 
> ?INSTALL -- David
> 
>>  
>>> dyld[29996]: Library not loaded:
>>> /usr/local/opt/gcc/lib/gcc/11/libgfortran.5.dylib
>>> Referenced from: <383F3774-06DE-3792-AA2C-C9D6B37A2D89>
>>> /usr/local/Cellar/r/4.1.2/lib/R/lib/libR.dylib
>> So you're installing source packages into a Homebrew-built R, and they
>> fail to load after being compiled?
>> 
>> If you don't get an answer here, try r-sig-...@r-project.org or
>> <https://github.com/orgs/Homebrew/discussions>.
>> 

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to