Hi,
I'm new to the R program.
I'm trying to install general packages like dplyr, tidyverse, etc., but not having any luck. There's a message that keeps showing up as below. I tried on R version 4.2.2 (2022-10-31) -- "Innocent and Trusting" and RStudio Version 2022.12.0+353 (2022.12.0+353).
Any advice on how to solve this issue?
Thanks a lot
Best,
install.packages("dplyr")
......
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/6m/xj_gflw10_5bbkmg3xnqxghr0000gn/T//RtmpVenHjP/downloaded_packages/cli_3.6.0.tgz' is not a macOS binary package