RfastOfficial / Rfast

A collection of Rfast functions for data analysis. Note 1: The vast majority of the functions accept matrices only, not data.frames. Note 2: Do not have matrices or vectors with have missing data (i.e NAs). We do no check about them and C++ internally transforms them into zeros (0), so you may get wrong results. Note 3: In general, make sure you give the correct input, in order to get the correct output. We do no checks and this is one of the many reasons we are fast.
141 stars 19 forks source link

Alamalinux install issue #113

Open anusurendra opened 1 month ago

anusurendra commented 1 month ago

Hi,

I am having an issue installing RFast. I am getting the following error:

In file included from ../inst/include/Rfast/templates.h:10,
                 from ../inst/include/Rfast/matrix.hpp:14,
                 from ../inst/include/Rfast.h:5,
                 from mn.h:4,
                 from Coeff.cpp:4:
../inst/include/Rfast/parallel.h:20:10: fatal error: execution: No such file or directory
 #include <execution>
          ^~~~~~~~~~~
compilation terminated.
make: *** [/usr/lib64/R/etc/Makeconf:204: Coeff.o] Error 1
ERROR: compilation failed for package ‘Rfast’
* removing ‘/usr/lib64/R/library/Rfast’
* restoring previous ‘/usr/lib64/R/library/Rfast’

The downloaded source packages are in
        ‘/tmp/RtmpzgMkSz/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: package(s) not installed when version(s) same as or greater than current; use
  `force = TRUE` to re-install: 'ChemmineR'
2: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl,  :
  installation of package ‘Rfast’ had non-zero exit status

Desktop Information:

Any help would be appreciated.

ManosPapadakis95 commented 1 month ago

Update gcc to a newer version and it will be ok.