[R] unable to collate and parse R files for package ‘colorspace’
Kabacoff, Robert
rkabacoff at wesleyan.edu
Wed Jul 5 20:05:47 CEST 2017
When attempting to install the colorspace package on RedHat Linux I get the following error. Any help would be appreciated.
Rob
Rob Kabacoff, Ph.D.
Professor, Quantitative Analysis Center
Wesleyan University
> install.packages("colorspace")
Installing package into /home/rkabacoff/R/x86_64-redhat-linux-gnu-library/3.3
(as lib is unspecified)
trying URL 'https://cran.mtu.edu/src/contrib/colorspace_1.3-2.tar.gz'
Content type 'application/x-gzip' length 293433 bytes (286 KB)
==================================================
downloaded 286 KB
* installing *source* package colorspace ...
** package colorspace successfully unpacked and MD5 sums checked
** libs
gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpic -fPIC -c colorspace.c -o colorspace.o
colorspace.c:589: warning: CheckGamma defined but not used
gcc -m64 -std=gnu99 -shared -L/usr/lib64/R/lib -o colorspace.so colorspace.o -L/usr/lib64/R/lib -lR
installing to /home/rkabacoff/R/x86_64-redhat-linux-gnu-library/3.3/colorspace/libs
** R
Error in parse(outFile) :
/home/rkabacoff/R/x86_64-redhat-linux-gnu-library/3.3/colorspace/R/colorspace:2:1: unexpected $end
ERROR: unable to collate and parse R files for package colorspace
* removing /home/rkabacoff/R/x86_64-redhat-linux-gnu-library/3.3/colorspace
> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Oracle Linux Server 6.8
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.3.2
[[alternative HTML version deleted]]
More information about the R-help
mailing list