Render Stream
Collects streaming statistics to render the stream as an 'htmlwidget'.
stream_render(stream = NULL, collect = 10, stats = NULL, ...)
stream |
The stream to render |
collect |
The interval in seconds to collect data before rendering the 'htmlwidget'. |
stats |
Optional stream statistics collected using |
... |
Additional optional arguments. |
## Not run: library(sparklyr) sc <- spark_connect(master = "local") dir.create("iris-in") write.csv(iris, "iris-in/iris.csv", row.names = FALSE) stream <- stream_read_csv(sc, "iris-in/") %>% stream_write_csv("iris-out/") stream_render(stream) stream_stop(stream) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.