Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.8.0, 0.9.0
-
None
-
None
-
- Zeppelin 0.8.0
- R version 3.5.2 (2018-12-20)
Description
Hi, I encounter a problem in livy-interpreter for sparkr, the output objet are not display if we don't make a direct call with plot for example
{{
%livy.sparkr
library(ggplot2)
pres_rating <- data.frame(
rating = as.numeric(presidents),
year = as.numeric(floor(time(presidents))),
quarter = as.numeric(cycle(presidents))
)
p <- ggplot(pres_rating, aes(x=year, y=quarter, fill=rating))
p <- p + geom_raster()
p
}}
render png2 (image livy_spark_error_01.PNG)
but
{{
%livy.sparkr
library(ggplot2)
pres_rating <- data.frame(
rating = as.numeric(presidents),
year = as.numeric(floor(time(presidents))),
quarter = as.numeric(cycle(presidents))
)
p <- ggplot(pres_rating, aes(x=year, y=quarter, fill=rating))
p <- p + geom_raster()
plot(p)
}}
work fine (image livy_spark_error_02.PNG)
it is not that important but due to that impossible to render functions like pairs or any plotly object
see livy_spark_error_03.PNG and livy_spark_error_05.PNG