Problem is that I can not execute any codes on R script, but still can execute them on R console.
One more thing is when I open Rstudio, there's always a notification saying "The "git" command requires the command line developer tools. Would you like to install the tools now?" However, when I clik "install", I always get the noti saying "Can't install the software because it's not available from Software update server."
I'm using MacOS Catalina 10.15.6, and installed R-4.0.2.pkg and Rstudio-1.3.1093.dmg. Please tell if there's anything I can do to fix these?
Try using ALt+Ctrl+R to run the code from the script. (It is a command to run all lines in the R script) or you can select Code(it is on the right side of File option on the top) and then select Run Region and then Run All.