RPresto | based adapter for Presto for the statistical programming | Database library
kandi X-RAY | RPresto Summary
kandi X-RAY | RPresto Summary
RPresto is a DBI-based adapter for the open source distributed SQL query engine Presto for running interactive analytic queries.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of RPresto
RPresto Key Features
RPresto Examples and Code Snippets
Community Discussions
Trending Discussions on RPresto
QUESTION
I have an R package with a list of imports and have never had a problem loading the latest version. I have just added data.table
to the list, and now cannot load the package.
OS : macOS Sierra 10.12.5/6
gcc :
...ANSWER
Answered 2017-Oct-12 at 12:34I had the same issue yesterday and after some googling I managed to install data.table
by specifying ~./R/Makevars.
In my case I used macports and installed gcc7. Which under macports are referenced by gcc-mp-7 and g++-mp-7
So to specify the compiler to use these instead of the default clang on macOS you need to create a file ~./R/Makevars . Then add the following lines:
CC=gcc-mp-7 -fopenmp
CXX=g++-mp-7 -fopenmp
You should also be able to do the same with newer versions of clang
just change the gcc-mp-7
to clang-omp
(or something equivalent depending on where it's installed) and don't forget the same -fopenmp
flag in order to enable multi threading.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install RPresto
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page