[R-SIG-Mac] install.libs error

Simon Urbanek @|mon@urb@nek @end|ng |rom R-project@org
Mon Mar 31 11:13:37 CEST 2025



> On Mar 31, 2025, at 10:04 PM, Naresh Gurbuxani <naresh_gurbuxani using hotmail.com> wrote:
> 
> Simon,
> 
> Website mac.r-project.org/tools/ lists mandatory libraries.  In the next paragraph, it has a link to “binaries of libraries and tools for Mac OS page”.  Clicking on the link takes user to mac.r-project.org/bin.  Here the only method of install described is via install.libs().  By using install.libs(), I found out that binaries (for my Intel Mac) are located at mac.r-project.org/bin/darwin20/x86_64/.  But if I did not already have R installed, I would not be able to go to this location.  
> 


You can always go directly to the binaries - the links are right on the front page. The R script is just a convenience method to resolve dependencies if you have complex requirements so you don't have to do it yourself. Besides, you can always grab R from CRAN to bootstrap it if that's what you are going for.

If there is a way to improve the documentation to make it clearer, I'm open to suggestions.


> On the page mac.r-project.org/bin, perhaps you can provide links to the binaries location.  Currently the only links provided are to liblzma and PCRE2 homepages.  When downloading from those locations, user may need to run ./configure, make, and make install.  
> 
> I am only starting out with QuantLib, so not sure if intraday feature is widely used.  
> 


Well, in that case I don't understand why you did all the work of recompiling it as that is then entirely unnecessary - all you needed to do was to simply install it from CRAN with

install.packages("RQuantLib")

I'm sure I must be missing something here ...

Cheers,
Simon



More information about the R-SIG-Mac mailing list