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/64527rf1501726r7t53qpx0w0000gn/T/Rtmpa1ob11/downloaded_packages?
library(RQuantLib)