Comments (3)
Hi @zamlerd
Based on your error, I guess that the installed compiler on your MAC does not support OpenMP. So you have to install the compile which supports the OpenMP. I recommend you to install the compilers such as gcc or clang from homebrew, and after install them, you have to modify variables in your personal makeovers file (~/.R/Makevars). Here is an example of the ~/.R/Makevars files when using gcc as the compiler on the macOS.
VER=-11.0.3
CC=gcc$(VER)
CXX=g++$(VER)
CFLAGS=-mtune=native -g -O2 -Wall -pedantic -Wconversion
CXXFLAGS=-mtune=native -g -O2 -Wall -pedantic -Wconversion
FLIBS=-L/usr/local/Cellar/gcc/11.0.3/lib/gcc/11
The first line is the gcc version on your computer (type gcc --version on your terminal, you will got the information).And you also have to modify the last line according to your version of gcc.
You can use the homebrew to install it, i.e. brew install gcc
If this does not help, here are also other solutions you can follow: RcppCore/RcppArmadillo#143
Hope it helps!
Best,
Ying
from idea.
Hey Ying,
After trying both methods above I am now getting a new error
devtools::install_github('xzhoulab/iDEA')
Registered S3 method overwritten by 'cli':
method from
print.boxx spatstat
Downloading GitHub repo xzhoulab/iDEA@HEAD
Error: Failed to install 'iDEA' from GitHub:
Could not find tools necessary to compile a package
Call pkgbuild::check_build_tools(debug = TRUE)
to diagnose the problem.
I have devtools installed and can call it
from idea.
Hi @zamlerd,
Could you please call the function pkgbuild::check_build_tools(debug = TRUE) to see the output?
For example, this is the output of mine:
pkgbuild::check_build_tools(debug = TRUE)
Trying to compile a simple C file
\Running /usr/lib/R/bin/R CMD SHLIB foo.c
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c foo.c -o foo.o
gcc -std=gnu99 -shared -o foo.so foo.o -L/usr/lib/R/lib -lR
Your system is ready to build packages!
Just want to check if you have installed the tools necessary to compile the package.
Thanks!
from idea.
Related Issues (20)
- pvalue_louis from idea@gsea HOT 7
- Does not appear to be an R package (no DESCRIPTION)
- can not install iDEA HOT 4
- Using GSEA Gene Set Annotations HOT 2
- Unable to install iDEA HOT 1
- No significant pathways potentially due to p_values of 0? HOT 8
- iDEA on SEURAT object HOT 1
- Question about creating a gene set database HOT 12
- bulk RNAseq data HOT 1
- NES from GSEA HOT 6
- iDEA on n=1? HOT 1
- Error in EMMCMCStepSummary HOT 1
- Fitting the iDEA model stuck at 0% HOT 1
- Encountering Error when Correcting p-values with iDEA.louis() method HOT 5
- Time to run extremely high HOT 1
- Output explanations HOT 1
- EMMCMCStepSummary error HOT 1
- Getting error when creating an idea object HOT 2
- Order of running iDEA.BMA() and iDEA.fit(modelVariant = T) after running iDEA.fit(modelVariant = F)?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idea.