aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index be9c36bdfe..682384d424 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1589,6 +1589,20 @@ Apart from these, the following properties are also available, and may be useful
Number of threads used by RBackend to handle RPC calls from SparkR package.
</td>
</tr>
+<tr>
+ <td><code>spark.r.command</code></td>
+ <td>Rscript</td>
+ <td>
+ Executable for executing R scripts in cluster modes for both driver and workers.
+ </td>
+</tr>
+<tr>
+ <td><code>spark.r.driver.command</code></td>
+ <td>spark.r.command</td>
+ <td>
+ Executable for executing R scripts in client modes for driver. Ignored in cluster modes.
+ </td>
+</tr>
</table>
#### Cluster Managers
@@ -1629,6 +1643,10 @@ The following variables can be set in `spark-env.sh`:
<td>Python binary executable to use for PySpark in driver only (default is <code>PYSPARK_PYTHON</code>).</td>
</tr>
<tr>
+ <td><code>SPARKR_DRIVER_R</code></td>
+ <td>R binary executable to use for SparkR shell (default is <code>R</code>).</td>
+ </tr>
+ <tr>
<td><code>SPARK_LOCAL_IP</code></td>
<td>IP address of the machine to bind to.</td>
</tr>