Big update, when I created the SparkContext R6 class i also made it so that spark_session could put sc into the global environment. Big mistake, CRAN does not allow this. With this update I've created a companion SparkSession R6 class and removed the input into the global environment. Now the suggested workflow is:
Big update, when I created the SparkContext R6 class i also made it so that
spark_session
could putsc
into the global environment. Big mistake, CRAN does not allow this. With this update I've created a companion SparkSession R6 class and removed the input into the global environment. Now the suggested workflow is:You could also do: