powered by
Stop the Spark Session and Spark Context.
sparkR.session.stop()sparkR.stop()
sparkR.stop()
Also terminates the backend this R session is connected to.