Urgent help required: R studio giving error and stops responding on my mac MacOS Sequia 15.5 M2

The app shown in your screenshot is NOT RStudio. It is the R.app that comes with R itself, and it looks like you opened the disk image for RStudio in the R.app, which makes no sense.