![]() To load the package, find the package you want to load in the Packages window (you can use the search box), then click on the checkbox next to the name of the package. You will see that the code appears in the console. For this, click on the button Install under Packages, type the name of the package you want to install and then click on Install. ![]() You also have the possibility to install and load packages via the buttons under the Packages tab. 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). 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. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |