Hello,
I am having trouble installing binary packages on Rstudio, I receive the same results everytime I try and install:
" Warning in install.packages :
error in running command
Warning in install.packages :
'tar' returned non-zero exit code 127
Error in install.packages : file ‘/var/folders/35/83hw3y1s5sb6z767cl_9kb280000gn/T//RtmpEhWotM/downloaded_packages/cli_3.4.1.tgz’ is not a macOS binary package"
R is R 4.2.1 GUI 1.79 Big Sur ARM build (8095) Rstudio 2022.07.2 Build 576
I am using Mac mini Chip Apple M1 / MacOS Monetary version 12.5/
Note that I can install package through R app , but not R studio.
sh: tar: command not found
Warning in install.packages :
error in running command
Warning in install.packages :
'tar' returned non-zero exit code 127
Error in install.packages : file ‘/var/folders/35/83hw3y1s5sb6z767cl_9kb280000gn/T//RtmpEhWotM/downloaded_packages/cli_3.4.1.tgz’ is not a macOS binary package
library(dslabs)
Error in library(dslabs) : there is no package called ‘dslabs’
Sorry, this one is outside of my expertise. I have never had the "sh: tar: command not found" or "not a macOS binary package" error with either Intel or Apple M1 processors. Best of luck!!