We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd5b85 commit ed607bdCopy full SHA for ed607bd
R/pkg/inst/profile/shell.R
@@ -17,7 +17,6 @@
17
18
.First <- function() {
19
home <- Sys.getenv("SPARK_HOME")
20
- sparkVer <- Sys.getenv("SPARK_VERSION")
21
.libPaths(c(file.path(home, "R", "lib"), .libPaths()))
22
Sys.setenv(NOAWT=1)
23
@@ -28,8 +27,9 @@
28
27
sc <- SparkR::sparkR.init()
29
assign("sc", sc, envir=.GlobalEnv)
30
sqlContext <- SparkR::sparkRSQL.init(sc)
+ sparkVer <- SparkR:::callJMethod(sc, "version")
31
assign("sqlContext", sqlContext, envir=.GlobalEnv)
32
- cat("\n Welcome to SparkR!")
+ cat("\n Welcome to")
33
cat("\n")
34
cat(" ____ __", "\n")
35
cat(" / __/__ ___ _____/ /__", "\n")
0 commit comments