PyCharm
 
Get PyCharm

Setup an R project

Last modified: 28 June 2024

Whatever you do with your R scripts in PyCharm, you do it in the context of a project. So, to start coding in R, you need to create an R project and setup a working environment.

Once you've created a new R project, PyCharm generates the main.R file with some project-related information based on the R file template.

Autogenerated .R file

At this point, you are all set to start coding in R, still you might want to modify some project settings to tailor them for your needs.

When you work with R plugin in PyCharm, all scope of your R data is considered an R workspace.

To execute your R scripts on the remote environment, create a remote configuration and set is as an R interpreter.