aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index d0c76aaad0..6e98f67b73 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1786,6 +1786,14 @@ showDF(properties, numRows = 200, truncate = FALSE)
Executable for executing R scripts in client modes for driver. Ignored in cluster modes.
</td>
</tr>
+<tr>
+ <td><code>spark.r.shell.command</code></td>
+ <td>R</td>
+ <td>
+ Executable for executing sparkR shell in client modes for driver. Ignored in cluster modes. It is the same as environment variable <code>SPARKR_DRIVER_R</code>, but take precedence over it.
+ <code>spark.r.shell.command</code> is used for sparkR shell while <code>spark.r.driver.command</code> is used for running R script.
+ </td>
+</tr>
</table>
#### Deploy
@@ -1852,7 +1860,8 @@ The following variables can be set in `spark-env.sh`:
</tr>
<tr>
<td><code>SPARKR_DRIVER_R</code></td>
- <td>R binary executable to use for SparkR shell (default is <code>R</code>).</td>
+ <td>R binary executable to use for SparkR shell (default is <code>R</code>).
+ Property <code>spark.r.shell.command</code> take precedence if it is set</td>
</tr>
<tr>
<td><code>SPARK_LOCAL_IP</code></td>