R Studio not loading on my new MAC

Hello - R studio running great on my MacBook Pro M1 - new machine and not working out.

Message: R not found

Could not locate an R installation on the system.

Hi @jonahfer1

Thanks for your question and congratulations on your new Mac.

I'm glad RStudio is able to open though it is a shame you're getting this error message.

Have you installed R on your machine?
https://cran.r-project.org/mirrors.html

Hi @craig.parylo
Thanks for the quick reply. Just downloaded R and it looks like the RStudio is now coming up. Also attempted the Rosetta install. Using R for one of my classes. Appreciate the help.
Hopefully things will work from here.