# 1.1 - Introduction to R Studio

1.1 - Introduction to R Studio

While I now do almost all of my work in R using RStudio, RStudio is just one user environment, and there are others also - I've had good luck with both JGR and Rkward in the past.

I do recommend that you use RStudio if you can, at least to get started - it makes it easier to work in R. Here I demonstrate some of the useful features of R studio:

• File browser and file chooser
• Viewing of data objects
• Import data from text file wizard
• Auto-complete of objecsts in workspacetab to autocomplete or for function hints in the console

Newer (and more advanced RStudio features will be demo'd later). Also note:

• there are a host of keyboard shortcuts in RStudio and that the assignment operator <- can be inserted using alt + -.
• you may want to change a couple of options in RStudio to make the editor easier to use: Go to Tools>Options>Code Editing, and then select "Soft-wrap R source files", and "Highlight selected line".
• Most of the videos that follow will feature only the R console or the R console + the Plot pane. This is done only to limit the filesize for the videos. It is best practice to write your code in the editor (R script) pane, and submit it to the console usingCtrl + Enter (Mac: Cmd + Enter). This is because the console is not saved - the script file is saved. Not saving the console may seem like a limitation, but in a few chapters, we'll introduce tools that make this limitation irrelevant.

 [1] Link ↥ Has Tooltip/Popover Toggleable Visibility