[R-SIG-Mac] install.libs error
Naresh Gurbuxani
n@re@h_gurbux@n| @end|ng |rom hotm@||@com
Mon Mar 31 14:58:57 CEST 2025
Sent from my iPhone
> On Mar 31, 2025, at 5:13 AM, Simon Urbanek <simon.urbanek using r-project.org> wrote:
>
>
>
>> 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.
>
In the Index section, there is a link to “Sources for tools and binaries”. But on the tools page, there are only links to liblzma and PCRE2 websites. Here you can also provide links to binaries above.
>
>> 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 ...
>
I just wanted a “clean” or “complete” package install, not knowing how much trouble that would create. A new user can be unsettled by warnings coming from loading a package.
> Cheers,
> Simon
>
>
More information about the R-SIG-Mac
mailing list