View the most recent entries in the Spark log. This can be useful when inspecting output / errors produced by Spark during the invocation of various commands.
spark_log(sc, n = 100, filter = NULL, ...)
The max number of log entries to retrieve. Use
Character string to filter log entries.
Optional arguments; currently unused.