So on my system (Mac OS X), file.path(R.home("bin"), "R") was the most accurate. Which eventually resolves (2 symbolic links) to: /usr/local/Cellar/r/3.2.2_1/R.framework/Resources/bin/R Lrwxr-xr-x 1 mike admin 25 Nov 14 17:31 /usr/local/bin/R ->. If I look for /usr/local/bin/R outside of R, I see: $ ls -l /usr/local/bin/R "/usr/local/Cellar/r/3.2.2_1/R.framework/Resources/bin/R"Īs those of you familiar can see, I am using brew. Step 2: Click on the Download R for Windows link. In my case, I found that: > system("type R") To install R and RStudio on windows, go through the following steps: Install R on windows Step 1: Go to CRAN R project website. There are a lot of great discussions here, and some are OS-specific. Instead, I want to know the actual path that RStudio is using to get to R - looking at it from within RStudio - so that I know "for reals" which version it's using. 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'). R and RStudio (Open Source, Freely Available) R is a programming language and environment for statistical computing and graphics. 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. I simply want to know, when I run RStudio, which flavor of R is it pointing to. Syntax highlighting editor with code completion. Some of its features include: Customizable workbench with all of the tools required to work with R in one place (console, source, plots, workspace, help, history, etc.). This seems easy and has likely been asked before, but I could not find it via a search. RStudio is an integrated development environment (IDE) for the R programming language.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |