hadley / plyr

A R package for splitting, applying and combining large problems into simpler problems
plyr.had.co.nz
Other
494 stars 117 forks source link

x86_64-conda_cos6-linux-gnu-c++ not found #288

Open nick-youngblut opened 6 years ago

nick-youngblut commented 6 years ago

This is probably a conda issue instead of plyr itself, but maybe someone has ideas on what to do about it. I've installed R via conda: r-base v3.4.1 from the "r" channel. When trying to install plyr (or any packages depending on plyr) with install.packages(), I get the error:

/ebio/abt3_projects/software/dev/miniconda3/envs/test/bin/x86_64-conda_cos6-linux-gnu-c++  -I/ebio/abt3_projects/software/dev/miniconda3/envs/test/lib/R/include -DNDEBUG -I../inst/include/  -D_FORTIFY_SOURCE=2 -O2 -I/ebio/abt3_projects/software/dev/miniconda3/envs/test/include   -fpic  -fvisibility-inlines-hidden  -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -I/ebio/abt3_projects/software/dev/miniconda3/envs/test/include  -c Date.cpp -o Date.o
make: /ebio/abt3_projects/software/dev/miniconda3/envs/test/bin/x86_64-conda_cos6-linux-gnu-c++: Command not found
/ebio/abt3_projects/software/dev/miniconda3/envs/test/lib/R/etc/Makeconf:167: recipe for target 'Date.o' failed

I've tried conda install gcc_linux-64, but this doesn't install x86_64-conda_cos6-linux-gnu-c++. The closest file to this is "x86_64-conda_cos6-linux-gnu-c++filt", and symlinking this as "x86_64-conda_cos6-linux-gnu-c++" doesn't work.

Is there a way to bypass using x86_64-conda_cos6-linux-gnu-c++?

nick-youngblut commented 6 years ago

Looking back at the error, I think the install actually fails for Rccp, not plyr. I'll post this on RcppCore. Sorry about that.