Не удается установить пакет data.table на R 3.3.0 - PullRequest
0 голосов
/ 29 января 2019

Я попытался установить пакет data.table с R 3.3.0, но он возвращает данную ошибку, как показано ниже.Я установил все необходимые пакеты, но это мне совсем не помогло.

Я гуглил по той же проблеме, но ничего нет.

Пожалуйста, поделитесь своим опытом, чтобы исправить это, если у вас былта же проблема.Это очень странно для меня сейчас.

Большое спасибо, Шон

> install.packages('data.table')
Installing package into ‘/usr/lib64/R/library’
(as ‘lib’ is unspecified)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3233k  100 3233k    0     0  2098k      0  0:00:01  0:00:01 --:--:-- 2205k
* installing *source* package ‘data.table’ ...
** package ‘data.table’ successfully unpacked and MD5 sums checked
** libs
gcc -m64 -std=gnu99 -I/usr/lib64/R/../../include/R -DNDEBUG  -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/zlib -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/xz -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/bzip2 -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include    -fopenmp -fpic  -g -O2  -c assign.c -o assign.o
gcc -m64 -std=gnu99 -I/usr/lib64/R/../../include/R -DNDEBUG  -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/zlib -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/xz -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/bzip2 -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include    -fopenmp -fpic  -g -O2  -c between.c -o between.o
gcc -m64 -std=gnu99 -I/usr/lib64/R/../../include/R -DNDEBUG  -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/zlib -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/xz -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/bzip2 -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include    -fopenmp -fpic  -g -O2  -c bmerge.c -o bmerge.o
gcc -m64 -std=gnu99 -I/usr/lib64/R/../../include/R -DNDEBUG  -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/zlib -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/xz -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/bzip2 -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include    -fopenmp -fpic  -g -O2  -c chmatch.c -o chmatch.o
gcc -m64 -std=gnu99 -I/usr/lib64/R/../../include/R -DNDEBUG  -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/zlib -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/xz -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/bzip2 -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include    -fopenmp -fpic  -g -O2  -c dogroups.c -o dogroups.o
gcc -m64 -std=gnu99 -I/usr/lib64/R/../../include/R -DNDEBUG  -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/zlib -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/xz -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/bzip2 -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include    -fopenmp -fpic  -g -O2  -c fastmean.c -o fastmean.o
gcc -m64 -std=gnu99 -I/usr/lib64/R/../../include/R -DNDEBUG  -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/zlib -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/xz -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/bzip2 -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include    -fopenmp -fpic  -g -O2  -c fcast.c -o fcast.o
gcc -m64 -std=gnu99 -I/usr/lib64/R/../../include/R -DNDEBUG  -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/zlib -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/xz -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/bzip2 -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include    -fopenmp -fpic  -g -O2  -c fmelt.c -o fmelt.o
gcc -m64 -std=gnu99 -I/usr/lib64/R/../../include/R -DNDEBUG  -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/zlib -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/xz -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include/bzip2 -I/builddir/build/BUILD/R-3.3.0/port/Linux-X64/include    -fopenmp -fpic  -g -O2  -c forder.c -o forder.o
forder.c: In function ‘range_str’:
forder.c:296: error: expected end of line before ‘update’
make: *** [forder.o] Error 1
ERROR: compilation failed for package ‘data.table’
* removing ‘/usr/lib64/R/library/data.table’

The downloaded source packages are in
        ‘/tmp/RtmpCfSYUU/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning message:
In install.packages("data.table") :
  installation of package ‘data.table’ had non-zero exit status
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...