[R] Package 'data.table' in version R-3.5.0 not successfully being installed

Akhilesh Singh @khile@h@ingh@igkv @ending from gm@il@com
Thu Apr 26 14:07:40 CEST 2018


Dear Sir,

I am using R on Windows OS platform. I upgraded my R-system to version
R-3.5.0. While upgrading my libraries in R as well as in RStudio, I am
stuck up in the package 'data.table', which is required by many other
packages in R-codes in my R-Markdown files.

I tried to install 'data.table' from "USA-berkely" and "UK-bristol"  as
well as "RStudio" mirrors when the following errors are being shown:

From  USA-berkely and UK-bristol mirrors:
=================================
Package which is only available in source form, and may need
  compilation of C/C++/Fortran: ‘data.table’
  These will not be installed
Warning message:
In download.file(url, destfile = f, quiet = TRUE) :
  InternetOpenUrl failed: ''

From RStudio mirror:
================
Package which is only available in source form, and may need compilation of
  C/C++/Fortran: ‘data.table’
  These will not be installed

Afterwards, I consulted google users, I downloaded the source package:
"data.table_1.10.4-3.tar.gz" from CRAN, stored it on desktop, and tried
following command for installing from source only:


install.packages("C:\\Users\\Dr. A.K.
Singh\\Desktop\\data.table_1.10.4-3.tar.gz", repos = NULL, type="source")

This generated following errors messages:

> install.packages("C:\\Users\\Dr. A.K.
Singh\\Desktop\\data.table_1.10.4-3.tar.gz", repos = NULL, type="source")
Installing package into ‘C:/Users/Dr. A.K.
Singh/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package 'data.table' ...
** package 'data.table' successfully unpacked and MD5 sums checked
** libs
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'data.table'
* removing 'C:/Users/Dr. A.K. Singh/Documents/R/win-library/3.5/data.table'
* restoring previous 'C:/Users/Dr. A.K.
Singh/Documents/R/win-library/3.5/data.table'
In R CMD INSTALL
Warning message:
In install.packages("C:\\Users\\Dr. A.K.
Singh\\Desktop\\data.table_1.10.4-3.tar.gz",  :
  installation of package
‘C:/Users/DRAK~1.SIN/Desktop/data.table_1.10.4-3.tar.gz’ had non-zero exit
status
>


I is requested to kindly help. I was writing a book using R-Markdown. And I
am stuck up as described above.

Dr. A.K. Singh
Professor and Head
Department of Agricultural Statistics
Indira Gandhi Krishi Vishwavidyalaya
Raipur
Chhattisgarh
India

	[[alternative HTML version deleted]]




More information about the R-help mailing list