Data.Table Package in R 3.5 Does Not Install

R package data.table fails to install/compile on system with R 3.5.1

The in the error message mentioned line is:

#pragma omp atomic update

which is functionality that is apparently not available in GCC before version 4.7 and on RedHat 6.9 the highest I get from standard repos is 4.4.7 at the moment.

Means I need a newer compiler, which can handle this openmp functionality.

Problems installing data.table for R

I faced a similar issue trying to install data.table using RStudio (V 0.99.903) and R (latest version 3.3.1) on windows 8. I issued the command install.packages('data.table') but it failed. What worked for me was running the install.packages with R directly. It got installed properly.



Related Topics



Leave a reply



Submit