There's a history of previous plots and an option to export a plot to an image file or PDF. The window at bottom right shows a plot if you've created a data visualization with your R code. There's also a history tab with a list of your prior commands what's handy there is that you can select one, some or all of those lines of code and one-click to send them either to the console or to whatever file is active in your code editor. The top right window shows your workspace, which includes a list of objects currently in memory. Any lines of code that are run from the editor window also appear in the console. That's the R code editor allowing you to create a file with multiple lines of R code - or open an existing file - and then run the entire file or portions of it.īottom left is the interactive console where you can type in R statements one line at a time. The top left window is where you'll probably do most of your work. Although you don't need the free RStudio IDE to get started, it makes working with R much easier. I also like its four-pane workspace, which better manages multiple R windows for typing commands, storing scripts, viewing command histories, viewing visualizations and more. It's got useful features you'd expect from a coding platform, such as syntax highlighting and tab for suggested code auto-completion. However, I'd suggest also installing the free R integrated development environment (IDE) RStudio. Installing R is actually all you need to get started. It runs on Windows, OS X and "a wide variety of Unix platforms." To begin using R, head to to download and install R for your desktop or laptop.
0 Comments
Leave a Reply. |