Skip to content

Commit 92a68b5

Browse files
committed
Set R_HOME
1 parent 8ce3e88 commit 92a68b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env sh
22

3+
# Set R_HOME based on where R is
4+
: ${R_HOME=$(R RHOME)}
35
# Find R compilers
46
CC=`${R_HOME}/bin/R CMD config CC`
57
CFLAGS=`${R_HOME}/bin/R CMD config CFLAGS`

0 commit comments

Comments
 (0)