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


source to share





All Articles