> On Apr 26, 2018, at 5:07 AM, Akhilesh Singh <akhileshsingh.i...@gmail.com> > wrote: > > 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
I'm guessing you don't have the proper Rtools installation for 3.5: https://cran.r-project.org/bin/windows/Rtools/index.html Rtools35.exe https://cran.r-project.org/bin/windows/Rtools/Rtools35.exe > 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]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.