-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Hi,
Trying to install data.table on R 3.2.2 on AIX, and am getting the following error. Any suggestions would be greatly appreciated.
> install.packages("data.table", repo = "http://cran.stat.ucla.edu")
trying URL 'http://cran.stat.ucla.edu/src/contrib/data.table_1.9.4.tar.gz'
Content type 'application/x-tar' length 949746 bytes (927 KB)
==================================================
downloaded 927 KB
* installing *source* package 'data.table' ...
** package 'data.table' successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/sas/outmva/opt/lib/R/include -DNDEBUG -I/usr/local/include -mno-fp-in-toc -g -O2 -c assign.c -o assign.o
gcc -std=gnu99 -I/sas/outmva/opt/lib/R/include -DNDEBUG -I/usr/local/include -mno-fp-in-toc -g -O2 -c bmerge.c -o bmerge.o
bmerge.c:25:17: error: 'nearest' redeclared as different kind of symbol
static Rboolean nearest=FALSE, enc_warn=TRUE;
^
In file included from /sas/outmva/opt/lib/R/include/R.h:31:0,
from data.table.h:1,
from bmerge.c:1:
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.8.3/include-fixed/math.h:1383:21: note: previous declaration of 'nearest' was here
extern double nearest(double);
^
bmerge.c:109:21: error: 'class' redeclared as different kind of symbol
static SEXP ic, xc, class;
^
In file included from /sas/outmva/opt/lib/R/include/R.h:31:0,
from data.table.h:1,
from bmerge.c:1:
/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.8.3/include-fixed/math.h:1398:21: note: previous declaration of 'class' was here
extern int class();
^
/sas/outmva/opt/lib/R/etc/Makeconf:134: recipe for target 'bmerge.o' failed
make: *** [bmerge.o] Error 1
ERROR: compilation failed for package 'data.table'
* removing '/sas/outmva/opt/lib/R/library/data.table'
The downloaded source packages are in
'/tmp/Rtmpf3o7ma/downloaded_packages'
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("data.table", repo = "http://cran.stat.ucla.edu") :
installation of package 'data.table' had non-zero exit status
Metadata
Metadata
Assignees
Labels
No labels