[R] data.table package problem
Eddie Ho
eddie.ck.ho at gmail.com
Sun Jun 21 04:46:41 CEST 2015
Hi David,
Thanks a lot, you saved my day. I installed R 3.2.0 on 7th June and then
installed package data.table on 20th June. When I installed data.table, it
downloaded "data.table" built under R 3.2.1. After I upgraded R to 3.2.1,
data.table is working now.
Regards,
Eddie
On Sun, Jun 21, 2015 at 2:52 AM, David Winsemius <dwinsemius at comcast.net>
wrote:
>
> On Jun 20, 2015, at 5:00 AM, Eddie Ho wrote:
>
> > Hi all,
> > I am new to R and currently learning through a book. Everything works
> > until I try package "data.table". I am using R3.2.1 and RStudio 0.99.441.
> > Package "data.table" is version 1.9.4.
> >
> >> require(data.table)
> > Loading required package: data.table data.table 1.9.4
> > For help type: ?data.table *** NB: by=.EACHI is now explicit. See README
> to
> > restore previous behaviour. Warning message: package ‘data.table’ was
> built
> > under R version 3.2.1
> >
> > The problem is I can't invoke tables()
> >
>
> I'm unable to reproduce on a Mac(Yosemite) with data.table 1.9.4
> >> tables()Error in paste("%", nchar(m[1, "NROW"]), "s", sep = "") :
> > 4 arguments passed to .Internal(nchar) which requires 3
>
> I don't really know the answer, but there was also an error related to an
> installation of pkg:forecast that was posted on SO today that has a similar
> error message about the number of arguments passed to nchar, but that
> questioner was on version 3.2.0.
>
>
> http://stackoverflow.com/questions/30955508/r-cannot-load-package-forecast-due-to-namespace-error
>
> I see in the news() that nchar was given a new argument in version 3.2.1
> and you got a warning when loading data.table, so I wonder if you may not
> really have 3.2.1 installed, since you got that warning.
>
> new$Text[ grep("nchar", news$Text) ]
>
> You should post the results of sessionInfo().
>
> --
> David.
>
>
> >
> >
> > or setkey
> >
> >> setkey(theDT, D)Error in setkeyv(x, cols, verbose = verbose, physical =
> physical) :
> > 4 arguments passed to .Internal(nchar) which requires 3
> >
> >
> > Would you please help me to investigate what's wrong with my
> > installation?
> >
> > Thanks,
> > Eddie
> >
> > [[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.
>
> David Winsemius
> Alameda, CA, USA
>
>
[[alternative HTML version deleted]]
More information about the R-help
mailing list