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 af2365c commit cd184b3Copy full SHA for cd184b3
examples/src/main/r/RSparkSQLExample.R
@@ -18,7 +18,7 @@
18
library(SparkR)
19
20
# $example on:init_session$
21
-sparkR.session()
+sparkR.session(appName='MyApp', sparkConfig=list(spark.executor.memory="1g"))
22
# $example off:init_session$
23
24
@@ -29,7 +29,7 @@ df <- read.json("examples/src/main/resources/people.json")
29
head(df)
30
31
# Another method to print the first few rows and optionally truncate the printing of long values
32
-head(df)
+showDF(df)
33
# $example off:create_DataFrames$
34
35
0 commit comments