From 072dbbf1a278e518a10c7711bd07f71f690ab813 Mon Sep 17 00:00:00 2001 From: Hyukjin Kwon Date: Tue, 1 Jan 2019 12:38:35 +0800 Subject: [PATCH] Deduplicate "Starting Up from RStudio" documentation --- R/README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/R/README.md b/R/README.md index d77a1ecffc99..e238a0efe4b5 100644 --- a/R/README.md +++ b/R/README.md @@ -39,15 +39,7 @@ To set other options like driver memory, executor memory etc. you can pass in th #### Using SparkR from RStudio -If you wish to use SparkR from RStudio or other R frontends you will need to set some environment variables which point SparkR to your Spark installation. For example -```R -# Set this to where Spark is installed -Sys.setenv(SPARK_HOME="/Users/username/spark") -# This line loads SparkR from the installed directory -.libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths())) -library(SparkR) -sparkR.session() -``` +If you wish to use SparkR from RStudio, please refer [SparkR documentation](https://spark.apache.org/docs/latest/sparkr.html#starting-up-from-rstudio). #### Making changes to SparkR