How to pass compiler option to R source package

Installing a package sp

on Linux from source. To use the Intel compiler I need to pass -std=c99

to the compiler, otherwise =for(int j...

= gives errors. But install.packages("sp", configure.vars = data.frame(CFLAGS = "-std=c99"))

ignores my added argument. The R documentation is vague on this point.

+3
r icc


source to share


No one has answered this question yet

Check out similar questions:

289
How do I install the R package from source?
54
Install udunits2 package for R3.3
54
Installing the R package and dependencies offline
nineteen
Data.table package in R 3.5 does not install
3
Installing R package `forecast` on a Linux cluster: compiler problems?
3
How to use the -std = c99 option to install R packages
2
Install package from original "package not available" throws in R
0
failed to set quants directly or through source
0
Installing source package in R, getting errors
0
The original version of the R package, no compiler



All Articles
Loading...
X
Show
Funny
Dev
Pics