Fox, John
2018-Apr-26 14:33 UTC
[R] Package 'data.table' in version R-3.5.0 not successfully being installed
Dear A.K. Singh, As you discovered, the data.table package has an error under R 3.5.0 that prevents CRAN from distributing a Windows binary for the package. The reason that you weren't able to install the package from source is apparently that you haven't installed the R package-building tools for Windows. See <https://cran.r-project.org/bin/windows/Rtools/>. Because a number of users of my Rcmdr and car packages have contacted me with a similar issue, as a temporary work-around I've placed a Windows binary for the data.table package on my website at <https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip>. You should be able to install the package from there via the command install.packages("https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip", repos=NULL, type="win.binary") I expect that this problem will go away when the maintainer of the data.table package fixes the error. I hope this helps, John -------------------------------------- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada Web: socialsciences.mcmaster.ca/jfox/> -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Akhilesh > Singh > Sent: Thursday, April 26, 2018 8:08 AM > To: r-help mailing list <r-help at r-project.org> > Subject: [R] Package 'data.table' in version R-3.5.0 not successfully > being installed > > 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]] > > ______________________________________________ > R-help at 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.
Duncan Murdoch
2018-Apr-26 16:14 UTC
[R] Package 'data.table' in version R-3.5.0 not successfully being installed
On 26/04/2018 10:33 AM, Fox, John wrote:> Dear A.K. Singh, > > As you discovered, the data.table package has an error under R 3.5.0 that prevents CRAN from distributing a Windows binary for the package. The reason that you weren't able to install the package from source is apparently that you haven't installed the R package-building tools for Windows. See <https://cran.r-project.org/bin/windows/Rtools/>. > > Because a number of users of my Rcmdr and car packages have contacted me with a similar issue, as a temporary work-around I've placed a Windows binary for the data.table package on my website at <https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip>. You should be able to install the package from there via the command > > install.packages("https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip", repos=NULL, type="win.binary") > > I expect that this problem will go away when the maintainer of the data.table package fixes the error.You can see the errors in the package on this web page: https://cloud.r-project.org/web/checks/check_results_data.table.html Currently it is failing self-tests on all platforms except r-oldrel, which is the previous release of R. I'd recommend backing out of R 3.5.0 and going to R 3.4.4 if that's a possibility for you. Yet another possibility is to use a version of data.table from Github, which is newer than the version on CRAN and may have fixed the errors, but that would require an installation from source, which not every Windows user is comfortable with. Duncan Murdoch
Fox, John
2018-Apr-26 17:04 UTC
[R] Package 'data.table' in version R-3.5.0 not successfully being installed
Dear Duncan, I think that your advice to downgrade may make sense if A. K. Singh actually needs to use data.table. In the case of the car package, for example, which depends on data.table indirectly via the rio package, data.table never gets used. As well, the examples and vignettes in data.table appear to work under R 2.5.0, so it's possible that (much of) the functionality of the package is intact. Best, John> -----Original Message----- > From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] > Sent: Thursday, April 26, 2018 12:14 PM > To: Fox, John <jfox at mcmaster.ca>; Akhilesh Singh > <akhileshsingh.igkv at gmail.com> > Cc: r-help mailing list <r-help at r-project.org> > Subject: Re: [R] Package 'data.table' in version R-3.5.0 not > successfully being installed > > On 26/04/2018 10:33 AM, Fox, John wrote: > > Dear A.K. Singh, > > > > As you discovered, the data.table package has an error under R 3.5.0 > that prevents CRAN from distributing a Windows binary for the package. > The reason that you weren't able to install the package from source is > apparently that you haven't installed the R package-building tools for > Windows. See <https://cran.r-project.org/bin/windows/Rtools/>. > > > > Because a number of users of my Rcmdr and car packages have contacted > > me with a similar issue, as a temporary work-around I've placed a > > Windows binary for the data.table package on my website at > > <https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.z > > ip>. You should be able to install the package from there via the > > command > > > > > > install.packages("https://socialsciences.mcmaster.ca/jfox/.Pickup/data > > .table_1.10.4-3.zip", repos=NULL, type="win.binary") > > > > I expect that this problem will go away when the maintainer of the > data.table package fixes the error. > > You can see the errors in the package on this web page: > > https://cloud.r-project.org/web/checks/check_results_data.table.html > > Currently it is failing self-tests on all platforms except r-oldrel, > which is the previous release of R. I'd recommend backing out of R > 3.5.0 and going to R 3.4.4 if that's a possibility for you. > > Yet another possibility is to use a version of data.table from Github, > which is newer than the version on CRAN and may have fixed the errors, > but that would require an installation from source, which not every > Windows user is comfortable with. > > Duncan Murdoch
Akhilesh Singh
2018-Apr-26 17:54 UTC
[R] Package 'data.table' in version R-3.5.0 not successfully being installed
My thanks to Dr. John Fox and Dr. Duncan Murdoch. But, I have upgraded all my R-3.4.3 libraries to R-3.5.0, and I have not backed-up copies of old version. So, I would give a try each to the solutions suggested by John Fox and Dengan Murdoch. With regards, Dr. A.K. Singh On Thu 26 Apr, 2018, 9:44 PM Duncan Murdoch, <murdoch.duncan at gmail.com> wrote:> On 26/04/2018 10:33 AM, Fox, John wrote: > > Dear A.K. Singh, > > > > As you discovered, the data.table package has an error under R 3.5.0 > that prevents CRAN from distributing a Windows binary for the package. The > reason that you weren't able to install the package from source is > apparently that you haven't installed the R package-building tools for > Windows. See <https://cran.r-project.org/bin/windows/Rtools/>. > > > > Because a number of users of my Rcmdr and car packages have contacted me > with a similar issue, as a temporary work-around I've placed a Windows > binary for the data.table package on my website at < > https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip>. > You should be able to install the package from there via the command > > > > install.packages(" > https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip", > repos=NULL, type="win.binary") > > > > I expect that this problem will go away when the maintainer of the > data.table package fixes the error. > > You can see the errors in the package on this web page: > > https://cloud.r-project.org/web/checks/check_results_data.table.html > > Currently it is failing self-tests on all platforms except r-oldrel, > which is the previous release of R. I'd recommend backing out of R > 3.5.0 and going to R 3.4.4 if that's a possibility for you. > > Yet another possibility is to use a version of data.table from Github, > which is newer than the version on CRAN and may have fixed the errors, > but that would require an installation from source, which not every > Windows user is comfortable with. > > Duncan Murdoch > >On 26-Apr-2018 9:44 PM, "Duncan Murdoch" <murdoch.duncan at gmail.com> wrote: On 26/04/2018 10:33 AM, Fox, John wrote:> Dear A.K. Singh, > > As you discovered, the data.table package has an error under R 3.5.0 thatprevents CRAN from distributing a Windows binary for the package. The reason that you weren't able to install the package from source is apparently that you haven't installed the R package-building tools for Windows. See <https://cran.r-project.org/bin/windows/Rtools/>.> > Because a number of users of my Rcmdr and car packages have contacted mewith a similar issue, as a temporary work-around I've placed a Windows binary for the data.table package on my website at < https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip>. You should be able to install the package from there via the command> > install.packages("https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip", repos=NULL, type="win.binary")> > I expect that this problem will go away when the maintainer of thedata.table package fixes the error. You can see the errors in the package on this web page: https://cloud.r-project.org/web/checks/check_results_data.table.html Currently it is failing self-tests on all platforms except r-oldrel, which is the previous release of R. I'd recommend backing out of R 3.5.0 and going to R 3.4.4 if that's a possibility for you. Yet another possibility is to use a version of data.table from Github, which is newer than the version on CRAN and may have fixed the errors, but that would require an installation from source, which not every Windows user is comfortable with. Duncan Murdoch [[alternative HTML version deleted]]
Reasonably Related Threads
- Package 'data.table' in version R-3.5.0 not successfully being installed
- Package 'data.table' in version R-3.5.0 not successfully being installed
- Package 'data.table' in version R-3.5.0 not successfully being installed
- Package 'data.table' in version R-3.5.0 not successfully being installed
- Package 'data.table' in version R-3.5.0 not successfully being installed