How to solve Pycharm+R Language issue
已回答
I’d like to know if there’s a solution to the following problem:
I installed PyCharm and use it with Python, and I use the R language in RStudio. I’m having trouble using Python in RStudio. So I thought about using R in PyCharm.
However, I’m using Ubuntu 24.04 LTS Pro and installed PyCharm via Snap. Since it runs in a sandbox, even though I have the R language plugin installed, it doesn’t appear in the “Languages & Frameworks” list, so I can’t install the necessary packages or use everything I need.
Is there a solution for this? From what I’ve found, the only solution would be to uninstall it from Snap and install it via AppImage. I’d rather not do that. Any help would be appreciated.
Thank you.
请先登录再写评论。
Hi Beto,
The snap is not the cause. PyCharm's snap package requires classic confinement (
sudo snap install pycharm --classic), and classic confinement means full system access, just like a normally packaged application. So an AppImage reinstall would change nothing about plugin availability, and that step can be skipped.For the missing R entry, a few details would narrow down the cause. A plugin that is installed but contributes no settings page is usually present on disk without actually being loaded.
1. Open Settings | Plugins | Installed, find
R Language, and check whether the checkbox is ticked and whether any warning sits next to the entry. Note the plugin version shown there.2. Press Shift twice to open Search Everywhere and type R Settings. That action registers only when the plugin is genuinely loaded, so an empty result points at an inactive plugin rather than a hidden settings page.
3. Open Help | About and copy the whole block (product name, build number, runtime).
The two build numbers, from steps 1 and 3, are the most useful part. The R Language plugin publishes tightly scoped builds, and the current one targets 2026.2.x only, so an IDE and a plugin that came from different update channels can end up on incompatible builds. In that state the plugin stays listed as installed while remaining disabled, which matches the symptom exactly.
Hi Mikhail, thanks for your reply.
Following your instructions, “R settings” appeared and suggested the version installed on my PC, which hadn't been happening before—even though “R Language” was checked in the list of plugins. I selected the suggested version, and now it seems to be working fine.
I'm starting to use PyCharm with R because RStudio on my Linux system is giving me some trouble with errors and incompatibilities. So I'm trying out this alternative, and it seems really good.
Here are some screenshots of PyCharm with R.
Thanks again.
Best regards