Here are R versions of Microsoft Learn notebooks about Apache Spark in Azure Synapse.
Original Python versions:
https://microsoftlearning.github.io/mslearn-fabric/Instructions/Labs/02-analyze-spark.html
https://microsoftlearning.github.io/mslearn-fabric/Instructions/Labs/03-delta-lake.html
Note! This notebook was made primarily to be run inside Microsoft Fabric / Azure Synapse Data Engineering. You might have to make changes if you decide to open it in VS Code, for instance.