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

Bos, Roger roger@bo@ @end|ng |rom roth@ch||d@com
Fri Apr 27 15:27:12 CEST 2018


Akhilesh,

I don't know if I am adding signal or noise here, but I installed R 3.5.0 yesterday and installed data.table just fine, but I have Rtools installed.  "Building packages from source" may sound intimidating, but Rtools is really easy to install and once installed, it does all the work for you.

Thanks,

Roger


-----Original Message-----
From: R-help [mailto:r-help-bounces using r-project.org] On Behalf Of Fox, John
Sent: Friday, April 27, 2018 9:21 AM
To: Akhilesh Singh
Cc: r-help mailing list
Subject: Re: [R] Package 'data.table' in version R-3.5.0 not successfully being installed

Dear Akhilesh,

I hope that it's clear that the Windows binary I provided for the data.table package is a temporary solution, and that the maintainer should fix the package so that it passes its own tests. You should be careful using the package in its current state.

Best,
 John

> -----Original Message-----
> From: Akhilesh Singh [mailto:akhileshsingh.igkv using gmail.com]
> Sent: Friday, April 27, 2018 4:10 AM
> To: Fox, John <jfox using mcmaster.ca>
> Cc: r-help mailing list <r-help using r-project.org>
> Subject: Re: [R] Package 'data.table' in version R-3.5.0 not successfully being
> installed
>
> Dear Dr. John Fox,
>
> The solution provided by you has worked. I downloaded the binary file of
> data.table package made available your website
> <https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip
> <https://socialsciences.mcmaster.ca/jfox/.Pickup/data.table_1.10.4-3.zip> >,
> installed it in R and RStudio. And I happy to report that it has successfully
> worked. Many thanks to you, and to other members of R-team who have tried
> help me.
>
>
> With regards,
>
>
> Dr. A.K. Singh
>
> On Thu, Apr 26, 2018 at 8:03 PM, Fox, John <jfox using mcmaster.ca
> <mailto:jfox using mcmaster.ca> > 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/ <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
> <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
> <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/
> <http://socialsciences.mcmaster.ca/jfox/>
>
>
>
>
> > -----Original Message-----
> > From: R-help [mailto:r-help-bounces using r-project.org <mailto:r-help-
> bounces using r-project.org> ] On Behalf Of Akhilesh
> > Singh
> > Sent: Thursday, April 26, 2018 8:08 AM
> > To: r-help mailing list <r-help using r-project.org <mailto:r-help using 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 using r-project.org <mailto:R-help using r-project.org>  mailing list --
> To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> <https://stat.ethz.ch/mailman/listinfo/r-help>
> > PLEASE do read the posting guide http://www.R-
> project.org/posting- <http://www.R-project.org/posting->
> > guide.html
> > and provide commented, minimal, self-contained, reproducible
> code.
>
>

______________________________________________
R-help using 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.



This message and any attachments are for the intended recipient’s use only. This message may contain confidential, proprietary or legally privileged information. No right to confidential or privileged treatment of this message is waived or lost by an error in transmission.
If you have received this message in error, please immediately notify the sender by e-mail, delete the message, any attachments and all copies from your system and destroy any hard copies. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message or any attachments if you are not the intended recipient.






More information about the R-help mailing list