systemla.blogg.se

Download rstudio on mac
Download rstudio on mac













download rstudio on mac

To load a package, run library(name of the package) (this time "" around the name of the package are optional, but can still be used if you wish).

download rstudio on mac

Once the package is installed, you must load the package and only after it has been loaded you can use all the functions it contains. Some packages are installed by default, all others must be installed by running install.packages("name of the package") (do not forget "" around the name of the package!). You are then able to use this package (and all functions built inside this package) for free. Remind that R is open source everyone can write code and publish it as a package. Everything else must be installed from packages. Only fundamental functionalities come with R.

  • Packages: where you see all your installed packages.
  • Those buttons are located just under the Plot tab (see figure below) You can open the plot in a new window by clicking on Zoom and export your plot by clicking on Export. If you plotted more than one plots, you can navigate between them by clicking on the arrows. For instance, run plot(1:10) and you should see it in this tab.
  • Plot: where you will see the rendered plots.
  • I discuss about the Files tab in more detail here so let’s discuss about the other tabs:

    download rstudio on mac

    The last pane (blue) is where you will find everything else such as your files, the plots, the packages, the help documentation, etc. In this pane you can also see a tab with a history of the code executed and a button to import a dataset (more on importing a dataset in RStudio). This means that you can now perform any computations with a, such that if you execute a + 1, RStudio will render 2 in the console.















    Download rstudio on mac