I just installed R 3.5.0 and tried to install data.table in two ways:
from CRAN repository:
> install.packages("data.table") Installing package into ‘C:/Users/Owner/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘data.table’
I also tried downloading the zip file and installing from it. It looked like it was installing and then gave the following warning:
Warning in install.packages : installation of package ‘C:/Users/Owner/Downloads/data.table_1.10.4-3.tar.gz’ had non-zero exit status
Looking at previous questions, I installed RTools but still didn't help....