In drop-down menu, click ‘Select packages from R 2.Click magnifying glass icon next to Package Search box.In your menus, navigate to Packages & Data / Package Installer (or, in OS X, press alt+cmd+i). ![]() Open R (If you use RStudio, open the actual R program, not the RStudio interface). ![]() Install the current version of R by clicking the the appropriate “Download R for” and following the prompts.If both R and ggplot2 are old, first install the current version of R and then update your packages. (Or if you don’t have ggplot2 installed, run install.packages("ggplot2")) If you have the most recent version of R, but your ggplot2 is somehow out of date, run: update.packages("ggplot2"). To be clear, I do not need / want to know the version of R that I'm using (e.g., R version 3.2.2 () - 'Fire Safety' ). plyr_1.8 proto_0.3-10 RColorBrewer_1.0-5 reshape2_1.2.2 scales_0.2.3 stringr_0.6.2Īs of February 10, 2013, the current version of R is 2.15.2 and the current version of ggplot is ggplot2_0.9.3 (found under ‘other attached packages’). So, I need a command - within RStudio itself, ideally - that can tell me the underlying R executable that is being used for this RStudio window that I am currently working with. ![]() Loaded via a namespace (and not attached): stats graphics grDevices utils datasets methods base en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 How to check if R is installed on a Windows PC Check if there is an R icon on the desktop of the computer that you are using.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |