Have RStudio run on RRO by default - r

I installed the beta version of R Open from:
http://mran.revolutionanalytics.com/documents/rro/installation/
It also installs the usual R GUI and I couldn't not find documentation on the MRAN site to switch to RStudio. Anyone has found a way to have RStudio run on RRO?

Thanks Jason. This is the right move.

Related

How do I install packages?

After i tried to install a package in R i can't install packages anymore, it's somehow blocked. I get this box with the question if i want to create a personal library etc. and if i press yes the same box comes again and again, if i press no then comes a box that says unable to install packages. I've tried several solutions but nothing has worked. Any ideas? I'm really desperate cause I can't go further with my studying for the university. Thanks in advance!
I've tried uninstalling and reinstalling R and Rstudio, closing Firewalls and Antiviruses, opening Rstudio as administrator. Maybe i've done somthings the wrong way, so any tips from zero point would be helpful. Thanks
I had used R-studio for exploratory Data analysis a few months back. I also faced the same issue, some times R-studio refuses to install packages, so what I did was uninstall the IDE and install it again, it starts from the beginning and loads up with default configuration. Once installed I used the command
install.packages('tidyverse')
Here's the link to official R-studio IDE documentation :
https://support.posit.co/hc/en-us/articles/200554786-Problem-Installing-Packages-in-the-RStudio-IDE
The above solution worked for me.

After install R v3.4.3 inline help menu does not work

I've installed R version 3.4.3 ("Kite Eating Tree") onto my Ubuntu 16.04 computer. When I run RStudio I can access the help manuals inline with no issue (e.g. if I type ?lm the documentation will come up), however when I run a session of R in the Terminal the inline documentation does not work. I've tried ?lm or help(lm), I've also loaded other R packages and tried to access their help documentation and I receive the same error ( the terminal will freeze and I'll have to press Ctrl-C to exit the command).
I downloaded the tarball to install R, and after compiling it I ran make install-info and make install-pdf, and these haven't made any difference.
Any advice or help would be greatly appreciated.

Install old version of R on Windows 10

How do I install an old version of R on a window 10 64 PC.
I am currently running R 3.2.3 with RStudio without any problems. However a package I want to use (GSIF) only works on R2.15. I have found that it is possible to easily get RStudio to work with different R versions and I have found and downloaded the old version of R I want ( R-2.15.1-w.tar.gz) from the CRAN archives. My problems is cannot work out how to install the R-2.15.1-w.tar.gz package on a windows machine or in fact even if it is the right package for windows. All the instruction I can find seem to relate to Linux.
Any guidance greatly appreciated.
You can hold down the Control key during the launch of RStudio you can cause the R version selection dialog to display at startup.
https://support.rstudio.com/hc/en-us/articles/200486138-Using-Different-Versions-of-R

Specify R for Jupyter Notebook with Anaconda Windows

I feel pretty comfortable working with R, and I want to get into Python through Anaconda.
Upon trying the Jupyter Notebook and finding it has compatibility with R, I really want to use it.
I'm having problem installing the R packages that don't come in R-essentials; and mainly because I noticed it uses a different R installation than the one I had before. Not only is this a different R installation, but it also uses a previous version of R. In my local installation I have updated to 3.2.3 but in the Anaconda environment for Jupyter I got 3.1.
I also found a post to change the .libPaths variable to include the packages that I had already installed. Still, I see this as a potential problem because of the different R versions.
I wanted to know if I can update the R version that's used in Anaconda, or if I can point to the one that's installed locally.
Thank you.
You can install IRkernel in the normal R installation and then register the kernel: simply follow the instructions at http://irkernel.github.io/installation/

System Error after installing R package

I am running R 3.2.2 on Windows 8. After installing R packages, rattle and rpart.plot in RStudio an error message propped up in a separate panel.
Rterm.exe - System Error.
The program can't start because libatk-1.0-0.dll is missing from your computer.
Try reinstalling the program to fix this problem.
Does anybody have any clue as to what this means and how to fix this?
Thank you all for your inputs. I managed to figure it out.
The problem arose as a result of missing GTK+ file. I'm not exactly sure what GTK+ really is, but I know that GTK+ is a preliminary file needed to install the Rattle Package. Here's the step I took to download the GTK+ file.
First, remove all the tabs opened in RStudio.
Use install.packages to download Rattle package. A window should pop up asking to see if you want to download GTK+. Click Yes.
Restart RStudio.
I tried closing all the tabs and installing rattle but no pop up appear for me. I then tried installing the package "RGTK2" (fyi, my R studio is version 3.2.0) and after completing this installation, the error message can be closed off.
I restarted Rstudio and the rterm.exe error didn't appear anymore.
I had this issue.
1) Close all open source code tabs
2) install.packages("RGtk2")
I didn't even need to restart R-Studio
I just wanted to add a variation of this error. The error only appeared when using RStudio and not in the RGui. I followed Daniel Lee's answer but with no luck at first, but it pointed me in the right direction. I closed RStudio and opened The R console (RGui), and decided to uninstall the rattle package first, and then reinstalled it again. I never got the pop-up asking about downloading the GTK+. It was only when I specifically tried to run rattle: rattle() that rattle complained that the it could not find the GTK+ and prompted me to download and install it. As it turned out I had already downloaded this via another source, so rattle could not install it as it was already installed and was presented with the following warning:
Warning messages:
1: Failed to load RGtk2 dynamic library, attempting to install it.
2: In dir.create(config_path, recursive = TRUE) :
'C:\Users\[me]\Documents\R\win-library\3.3\RGtk2\gtk\x64\etc\gtk-2.0' already exists
I then attempted to start rattle, which was successful. I then started up RStudio and again fire up rattle again with success, and the error libatk-1.0-0.dll is missing has now disappeared.
Current setup: R version 3.3.0, RStudio version 0.99.896
Try uninstalling the rattle package, then it will prompt to install GTK+. Install that and then cancel the uninstall of the rattle package. Quit R studio and restart it. The libtak error will disappear.
I would only get this error when running RStudio. I did close all my RStudio tabs and cleared the workspace as suggested by others. Installing rattle from RStudio would still produce the error. For me, it looks like RStudio could not install RGtk2 due to some permissions issue (i.e. Access Denied with removing the old RGtk2).
I had to manually delete rattle and RGtk2 folders from my R library folder (for me it was in my users folder My Documents\R\win-library\3.3). Then from Rgui (NOT RStudio), I did install.packages("rattle"). This also installed RGtk2 without any permissions issues. The error is now gone.
Incase if it has occured from installing the rattle package in R,Just uninstall the package using remove.packages() and restart the R session. The error dissapears :)
To answer the question:
Does anybody have any clue as to what this means ?
It happens in RStudio and is related to rattle which uses RGtk2. -
This problem is because you had order version of RGtk2 installed (likely 2.20.30), which was the highest possible version for earlier version of RStudio (likely 1.0.44 or earlier) and which is required for rattle. Now when you installed new version of RStudio (1.0.143), it is not compatible with older RGtk2 version. Once you install RGtk2 again (just from Tools menu or run install.packages("RGtk2") in RStudio) , it will overwrite the old version of RGtk2 with newest (2.20.33 version), which is now compatible with 1.0.143 version of RStudio, and this fixes the problem.

Resources