need help installing packages in R Studio with Mac (Mojave), thanks!!

i try a lot of things and its imposible to install packages , i look at internet etc but this is the error:

The downloaded source packages are in ‘/private/var/folders/8z/3g6__9y57_sb083f4r7llnk40000gp/T/RtmpAo5j6G/downloaded_packages’ > install.package ("data.table") Error in install.package("data.table") : no se pudo encontrar la función "install.package" > install.package("data.table") Error in install.package("data.table") : no se pudo encontrar la función "install.package" > install.packages("data.table", type = "binary") Error in install.packages : type 'binary' is not supported on this platform > install.packages("data.table") Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) probando la URL 'https://cran.rstudio.com/src/contrib/data.table_1.12.8.tar.gz' Content type 'application/x-gzip' length 4948391 bytes (4.7 MB) ================================================== downloaded 4.7 MB dyld: Library not loaded: /usr/local/lib/gcc/9/libgcc_s.1.dylib Referenced from: /usr/local/opt/openblas/lib/libopenblas.0.dylib Reason: image not found /usr/local/Cellar/r/3.6.3_1/lib/R/bin/INSTALL: line 34: 11702 Done echo 'tools:::.install_packages()' 11703 Abort trap: 6 | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" myArgs --slave --args {args} Warning in install.packages : installation of package ‘data.table’ had non-zero exit status The downloaded source packages are in ‘/private/var/folders/8z/3g6__9y57_sb083f4r7llnk40000gp/T/RtmpAo5j6G/downloaded_packages’

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.