Github user shivaram commented on a diff in the pull request:
https://github.com/apache/spark/pull/10836#discussion_r50188851
--- Diff: R/install-dev.sh ---
@@ -35,12 +35,19 @@ LIB_DIR="$FWDIR/lib"
mkdir -p $LIB_DIR
pushd $FWDIR > /dev/null
+if [ ! -z "$1" ]
+ then
+ R_HOME="$1/bin"
+ else
+ R_HOME="$(dirname $(which R))"
--- End diff --
`R_HOME` is a reasonably well defined concept ?
http://www.inside-r.org/r-doc/base/R.home
Regardless I think you will need to use a different R binary for running
sparkR if you don't want it to use the default R ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]