Re: [R-SIG-Mac] R-SIG-Mac Digest, Vol 264, Issue 10
> On Mar 23, 2025, at 3:37 PM, Simon Urbanek > wrote: > > Please ignore this "advice" - it makes the mess even worse. As you can tell > if you look closer at the output it's about 3rd party tools like homebrew > messing up the build which causes the problem in the first place. > > BTW: the page you quote is complete nonsense: CRAN does provide binaries - > that's the whole point of the recipes so that users don't have to re-compile > it and can just install it from CRAN. > > Cheers, > Simon I saw no errors in the output. I did see this. checking for Boost development files... yes checking for minimal Boost version… yes Which seemed to be the original point of failure. I think he used MacPorts for boost. How is that better than homebrew in this instance? ___ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] R-SIG-Mac Digest, Vol 264, Issue 10
> However, I am still not able to install RQuantLib. It does not find boost.
>> install.packages("RQuantLib", type = "source", lib = .libPaths()[2],
>> configure.args = c("--with-boost-include=/opt/R/x86_64/include/boost"),
>> configure.vars = c("CPPFLAGS='-DQL_HIGH_RESOLUTION_DATE'"))
> trying URL 'https://cran.r-project.org/src/contrib/RQuantLib_0.4.24.tar.gz'
> Content type 'application/x-gzip' length 195836 bytes (191 KB)
> ==
It worked for me ARM using homebrew boost
brew install boost
And installing with…
install.packages(
"RQuantLib",
type = "source",
configure.args =
c("--with-boost-include=/opt/homebrew/opt/boost/include/"),
configure.vars =
c("CPPFLAGS='-DQL_HIGH_RESOLUTION_DATE'") # for intraday calculations
)
As per…
https://github.com/eddelbuettel/rquantlib/wiki/RQuantLib
The downloaded source packages are in
‘/private/var/folders/mp/64527rf1501726r7t53qpx0wgn/T/Rtmpa1ob11/downloaded_packages’
> library(RQuantLib)
>
[[alternative HTML version deleted]]
___
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] R-SIG-Mac Digest, Vol 264, Issue 10
Please ignore this "advice" - it makes the mess even worse. As you can tell if
you look closer at the output it's about 3rd party tools like homebrew messing
up the build which causes the problem in the first place.
BTW: the page you quote is complete nonsense: CRAN does provide binaries -
that's the whole point of the recipes so that users don't have to re-compile it
and can just install it from CRAN.
Cheers,
Simon
> On Mar 24, 2025, at 8:25 AM, Michael Hall wrote:
>
>
>> However, I am still not able to install RQuantLib. It does not find boost.
>>> install.packages("RQuantLib", type = "source", lib = .libPaths()[2],
>>> configure.args = c("--with-boost-include=/opt/R/x86_64/include/boost"),
>>> configure.vars = c("CPPFLAGS='-DQL_HIGH_RESOLUTION_DATE'"))
>> trying URL 'https://cran.r-project.org/src/contrib/RQuantLib_0.4.24.tar.gz'
>> Content type 'application/x-gzip' length 195836 bytes (191 KB)
>> ==
>
> It worked for me ARM using homebrew boost
>
> brew install boost
>
> And installing with…
>
> install.packages(
> "RQuantLib",
> type = "source",
> configure.args =
>c("--with-boost-include=/opt/homebrew/opt/boost/include/"),
> configure.vars =
>c("CPPFLAGS='-DQL_HIGH_RESOLUTION_DATE'") # for intraday calculations
> )
>
> As per…
>
> https://github.com/eddelbuettel/rquantlib/wiki/RQuantLib
>
> The downloaded source packages are in
>
> ‘/private/var/folders/mp/64527rf1501726r7t53qpx0wgn/T/Rtmpa1ob11/downloaded_packages’
>> library(RQuantLib)
>>
> [[alternative HTML version deleted]]
>
> ___
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
___
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] R-SIG-Mac Digest, Vol 264, Issue 10
For the list, to be clear, installing using homebrew did work for me. As per the package author’s directions in the link provided. Whatever other issues with homebrew there might be. > On Mar 23, 2025, at 4:45 PM, Michael Hall wrote: > > > >> On Mar 23, 2025, at 3:37 PM, Simon Urbanek >> wrote: >> >> Please ignore this "advice" - it makes the mess even worse. As you can tell >> if you look closer at the output it's about 3rd party tools like homebrew >> messing up the build which causes the problem in the first place. >> >> BTW: the page you quote is complete nonsense: CRAN does provide binaries - >> that's the whole point of the recipes so that users don't have to re-compile >> it and can just install it from CRAN. >> >> Cheers, >> Simon > > I saw no errors in the output. > I did see this. > > checking for Boost development files... yes > checking for minimal Boost version… yes > > Which seemed to be the original point of failure. I think he used MacPorts > for boost. How is that better than homebrew in this instance? > > ___ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] R-SIG-Mac Digest, Vol 264, Issue 10
You might make sure the lib = .libPaths()[2] Isn’t messing you up somehow > On Mar 23, 2025, at 11:37 AM, [email protected] wrote: > > However, I am still not able to install RQuantLib. It does not find boost. >> install.packages("RQuantLib", type = "source", lib = .libPaths()[2], >> configure.args = c("--with-boost-include=/opt/R/x86_64/include/boost"), >> configure.vars = c("CPPFLAGS='-DQL_HIGH_RESOLUTION_DATE'")) [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
