On my Intel mac Sequoia, I installed R from package manager at 
https://cran.r-project.org

How can below problem be fixed?

> source("https://mac.R-project.org/bin/install.R";)

Usage: install.libs(names)

Example: install.libs('cairo')

names can be a vector or a special value 'all'.
See args(install.libs) for defaults.
> install.libs("QuantLib", action = "list")
Downloading https://mac.R-project.org/bin/REPOS ...
Using repository  https://mac.R-project.org/bin/darwin20/x86_64 ...
Downloading index  https://mac.R-project.org/bin/darwin20/x86_64/PACKAGES ...
[1] 
"https://mac.R-project.org/bin/darwin20/x86_64/QuantLib-1.35-darwin.20-x86_64.tar.xz";
[2] 
"https://mac.R-project.org/bin/darwin20/x86_64/boost-1.86.0-darwin.20-x86_64.tar.xz";
 
> install.libs("boost")
Downloading https://mac.R-project.org/bin/REPOS ...
Using repository  https://mac.R-project.org/bin/darwin20/x86_64 ...
Downloading index  https://mac.R-project.org/bin/darwin20/x86_64/PACKAGES ...
Downloading + installing  
https://mac.R-project.org/bin/darwin20/x86_64/boost-1.86.0-darwin.20-x86_64.tar.xz
 ...
bzip2: (stdin) is not a bzip2 file.
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
curl: (23) Failure writing output to destination, passed 8192 returned 0
> sessionInfo()
R version 4.4.3 (2025-02-28)
Platform: x86_64-apple-darwin20
Running under: macOS Sequoia 15.3.2

Matrix products: default
BLAS:   
/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRblas.0.dylib
 
LAPACK: 
/Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRlapack.dylib;
  LAPACK version 3.12.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] hexbin_1.28.5  lattice_0.22-6 zoo_1.8-13    

loaded via a namespace (and not attached):
[1] compiler_4.4.3 tools_4.4.3    grid_4.4.3     tcltk_4.4.3   
> system("which bzip2")
/opt/local/bin/bzip2
> system("which curl")
/opt/local/bin/curl
>

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to