I've been using RStudio for years. I just installed it on a new machine. When I try to launch it, I get an error: The version of R you are using (R 4.6.1) is newer than the maximum version of R supported by this version of RStudio (R 4.6.0).
Yes, technically this version of RStudio was released a few days before 4.6.1, but it was very much expected. It's really odd that the latest version of RStudio is not working with the latest version of R.
Yup, looking at the code, this message is only shown when there is a problem at startup of RStudio. Just having a version > 4.6.0 is not enough on its own to trigger the message.
There's no problem with 4.6.1 and current RStudio. I've opened an issue to bump the constant so this red-herring message isn't shown.
This warning was added, I believe, because R 4.6.0 was a hard-break; we had to make significant changes to RStudio to support it, and earlier version of RStudio would crash with R 4.6.0.
That does seem unusual. Minor R releases like 4.6.1 are normally compatible with the latest RStudio release. It may be an overly strict version check or a bug in that specific build rather than an actual compatibility problem.
I'd check if there's a newer RStudio patch release available or try the daily preview build to see if the issue has already been fixed. If not, it's worth reporting it to the RStudio/Posit team, as they can confirm whether it's a known issue. In the meantime, temporarily using R 4.6.0 (if feasible) is a reasonable workaround until an updated RStudio version is released.