I have just been upgraded to Windows 10 on my company laptop and I have installed R (64-bit 3.5.0) and RStudio desktop (latest version, installed a couple of days ago). Unfortunately RStudio just will not open (click the launch icon and nothing happens).
I have looked through https://support.rstudio.com/hc/en-us/articles/200488508-RStudio-Desktop-Will-Not-Start and not had any luck yet. My findings as follows:
1. Check for Startup Files = there are no .Rprofile, .Renviron, and .RData files there.
2. RStudio cannot find R = see question below.
3. Check firewall and proxy settings = I understand from my IT colleagues that we don't have any blocks like this.
4. Reset RStudio's state = this didn't make any difference. The folder just recreated itself. I also checked the log file (this is blank).
5. Using Macports R = n/a.
Thus, I had two questions:
QUESTION 1: re. 2.: when I hold Ctrl on opening RStudio, still nothing happens. Is there possibly another way to set the search path for RStudio? Or a different keyboard shortcut in Windows 10? Also, just to note this is the message I get in R (I guess the tilde aren't a problem?
QUESTION 2: any other ideas?
FIX IDENTIFIED BY MY IT DEPT:
CAUSE: There appears to be a conflict between rStudio and the so-called 'Wacom ISD Service' on my laptop [which I believe is to do with the tablet/touchscreen functionality].
FIX: In Windows, go to >> Computer Management >> Services & Applications >> Services, disable 'Wacom ISD Service' [set 'startup type' to 'manual'].
In another question:
Juno IDE for Julia, how to interact?
One of the answers stated:
You can't enter commands into the console in Juno--that's for displaying output. Commands can be submitted from within the editor by setting your cursor in the line to submit and pressing Ctrl+Enter or Shift+Enter. The value will then be displayed in a small popup next to the line and the output will be printed to the console if you have the console visible.
Note that the inability to use the console as you desire is by design. See here for information about the console from the Juno docs.
I am encountering an issue that might make this design decision a bit impractical at times.
First, let me say that I am new to Julia and Juno (not to coding, just trying to learn Julia now), so there might be a way to fix this and I do not know about it.
I am using the package RCall, that allows to include R code into Julia, so I am trying to install some R packages. One of the packages is asking me a "y/n:" question and I cannot answer it because I cannot access the console, and sending code from the editor to the console using command+Enter is blocked (because the console line is executing).
To reproduce this issue (note that R 3.2.0 or above needs to be installed, and I had to restart Juno after installing RCall for it to work):
Pkg.add("RCall")
Pkg.build("RCall")
restart Juno
using RCall
reval("install.packages(\"rgdal\")")
A pop-up will appear asking to select a mirror, just choose 0 and OK. Then the package is asking me if I want to install some dependencies "y/n:" and the whole execution is blocked.
I guess that this can be fixed just by using Julia from the command line (and forgetting about Juno), but I like to use IDEs.
Do you have any ideas about how to circumvent this issue? or another IDE for Julia?
I recently discovered a portable version of R and RStudio #
http://rportable.sourceforge.net/
Open source rocks!
At any-rate, I am jumping from pc to pc at my university, and I'd like to get Portable R-studio to recognize Portable R as the default R version. Most computers at the university already have several versions of r-installed, and RStudio uses one of those versions of R. When I go into the Global Options to change the default version, it does not "see" portable R on the USB drive.
I am basically hopping I can run R without constantly having to download packages, specifying the work directory, downloading Scripts, data from Google Drive, etc...
Any suggestions? I am open. Thanks for your help.
I did not need to touch the registry.
I first installed R portable and then R Studio portable, both from Sourceforge.
After launching R Studio for the first time, I was shown the option of choosing the installation of R to be used, as shown in
https://support.rstudio.com/hc/en-us/articles/200486138-Using-Different-Versions-of-R
I browsed to branch \PortableApps\R-Portable\App\R-Portable\bin, where executables are located. There I selected the 64-bit version.
If you want to change later the version used, you open R Studio and go to Tools -> Option -> General -> R Version.
This avoids modifying the registry, with the two advantages of Portable Apps:
Leaving no trace of the app in the system (or, at least, a much milder one).
Being really portable (or, at least, much more so).
On Windows, RStudio uses the system registry to find where installed versions of R are located. You'll need to edit the registry yourself to let it know about new versions. Fortunately you can do this in HKEY_CURRENT_USER so admin rights shouldn't be required. Here are the keys and values you'll want to write:
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Does-R-use-the-Registry_003f
More detail about how RStudio selects the R version to run here:
https://support.rstudio.com/hc/en-us/articles/200486138-Using-Different-Versions-of-R
The link to R Portable above is a bit misleading. In order to run a portable version of R AND RStudio, you also need the 27MB portable RStudio here. What's even more confusing is that it has the same name as the RPortable file.
It took me a bit of time to figure that one out. Perhaps you could edit your question to point to both for those who wish for an IDE?
And, IMHO, it's not truly portable, because when you move from one machine to another you need to specify the R version on your USB drive and also the work directory. Pity.
I manage to link RStudio (not portable version) to the aforementioned version of R Portable, directly through Global Options -> R Version -> Choose a specific version of R -> Browse,
and the trick was selecting the R-Portable\App\R-Portable folder. Choosing another one doesnt allow RStudio to find the instalation.
Im running RStudio 1.1.463.
Bye!
Why RStudio does not display structure of Makefile, especially specific targets, in RStudio's Build tab? I would expect it to display them and allow one to build those specific targets. Is this feature lacking in RStudio and RStudio Server or it's there and I just need to know where to enable it?
Submitted as feature request to RStudio Team: https://support.rstudio.com/hc/communities/public/questions/200956606-Feature-request-Implement-Makefiles-targets-processing.
I just installed R Studio on my mac (was previously using on my virtual Windows machine). I am taking a class in which we learn to use R. The fix() function was demonstrated and when I ran it on my dataset it opened up an editor that was pretty ugly and done in X11 - that is, X11 launched automatically. The person next to me ran the same function but on her computer the pretty and I assume default R editor popped up. I have searched the internet and the options/preferences within R but cannot figure out how to both find out what the default would be if I did not have X11 installed AND change the editor in R Studio back to that program.
I can handle basic command line stuff if this is buried in a file I have to access through terminal/fancy preferences.
Has anyone run into this or have an idea of where to look? I don't want to use a text editor; just that nice-looking default program. Thanks!