I am trying to use Spark in RStudio but when I enter the command
"sc<-spark_connect(master = "local")"
I get the following error message:
"Error in spark_connect_gateway(gatewayAddress, gatewayPort, sessionId, :
Gateway in localhost:8880 did not respond."
How can I resolve this issue and get Spark to run? I have a PC with Windows 11, Java and Spark version 3.0.3 installed.