I want to use the Eclipse plugin StatEt to develop R code. In order to do so, I always have to start my R Console run configuration. Otherwise I get the error
No session of R is active in the current workbench window.
When I am finished and try to close Eclipse, I get a warning popup:
Extra starting and closing the console is annoying. I use this instance of Eclipse only for StatEt
=> How can I auto-execute the run configuration on Eclipse startup and
=> How can I avoid the warning window when closing Eclipse? (How to chose "Exit Workbench now and remember my decision"? or so)
What already helped a little was to use the Options/Arguments --silent --no-save in the R Console run configuration. Otherwise there would be another annoying warning when closing the console.
Here it is stated that there is an "Auto Run" plugin, which is listed under the "Utilities" category on the StatET update site:
http://lists.r-forge.r-project.org/pipermail/statet-user/2009-March/000128.html
However, using http://download.walware.de/eclipse-4.6 I could not find such a plugin. Therefore I guess that that plugin was available for an older version of StatET?
Related questions:
How to use "R Graph Builder" and "R Graphics" view with StatEt Eclipse Plugin?
How to index R library for Help view of StatEt Eclipse plugin?
Related
I am trying to open a Jupyter Notebook file in classic Jupyter Notebook interface. I am attempting to create an interective app that uses Julia programming language in interactive codes. For that I am trying to use the Interact library, because I know it features things such as buttons, sliders, etc. It requires the WebIo extension to be installed. However, from what I have experienced so far, Jupyter notebook does not detect the WebIO extension.
I tried following the instructions at https://juliagizmos.github.io/WebIO.jl/stable/gettingstarted/ and at https://juliagizmos.github.io/WebIO.jl/stable/troubleshooting/not-detected/. In the last link I found that another extension needed to be install and I found more information in this link (https://juliagizmos.github.io/WebIO.jl/latest/providers/ijulia/). I tried executing this command in my Windows prompt and it had apperently been succesful. When executing the command suggested at the second link, I got an error in the Julia REPL saying that WebIO extension for Jupyter Lab must be installed through Python or Conda, which I had already done.
I am also a bit confused as to how I can check to see if the extension is enabled.
I believe the problem has to do either with the installation of IJulia or the pip installation of WebIO. I rarely use pip, so I don't know if I did it correctly.
Thank you.
When I show the view "R Help" of the StatEt Eclipse plugin I get following error:
HTTP ERROR 404
Problem accessing /rhelp/browse/default-workbench/. Reason:
The R library of the requested R environment <code>R</code> is not yet indexed. Please run the indexer first to enable R help support.
Powered by Jetty:// 9.4.7.v20170914
=> How do I index the R library to fix the help view?
I use Eclipse Oxygen.2 Release (4.7.2) and R-3.4.3.
I am able to execute R in the Console with Launch type Rterm.
My Environment settings are:
My run configuration settings are:
Some doc i found helpful for the first steps:
http://epbi-radivot.cwru.edu/EPBI473/files/week1Rbasics/R_Eclipse_StatET.pdf
http://www.walware.de/goto/statet
How to disable "Save workspace image?" prompt in R?
Related questions:
ClassNotFoundException for StatEt Eclipse plugin / RJ. Compatibility issue with Java9?
How does one install 'rj' in StatET plugin for Eclipse?
Instead of using the option "Default R environment" I entered a custom url for the help view: https://cran.r-project.org/manuals.html
Thanks to the comment Cedric I found following answer:
RJ needs to be used instead of Rterm (and RJ is not compatible to Java9)
I was using my own laptop to install R and I found that it only has one library. Evne though this library is still read only, everytime when I use Rstudio: install.packages("abc"), I can see that the new packages are stored automatically into that read only library folder.
In my office's desktop, I "believe" I also have administrator role, as I can install and remove anything (by far). I download the latest version of R and I right click the R-3.4.1-win.exe, there is an item "run as administrator", then it is installed in my desktop. However, when I use R studio to install new packages as in my laptop, it always automatically create a personal folder to store the new packages. I don't know why. Is that a way to only have one folder for library? I also tried on the desktop in the plain R mode (without using Rstudio). When I want to install new packages, it always says
Warning in install.packages("devtools") :
'lib = "C:/Program Files/R/R-3.4.1/library"' is not writable
And there is a window pops up to ask me "would you like to create a personal folder?" And if I say no, then
Error in install.packages("devtools") : unable to install packages.
Is there a ways to solve this problem? To just maintain one folder for library
What version of Windows are you using? You should be able to right-click on the Rstudio.exe icon, click Properties, and select an option to always run Rstudio as administrator. Be sure you use that same icon whenever you want to open Rstudio.
Incase of Mac, go to Applications, then right click on RStudio and
Select "Show Package Contents"
Go to Contents/MacOS
Now open terminal(in bash mode). Type sudo and drag the RStudio.exec into terminal and press on ENTER
Now RStudio will have admin access!
For completeness, I think there should be an Ubuntu answer to go along with the Microsoft and Apple answers. (Note:I'm using 18.06, and not 20.x.)
What doesn't work:
On my Ubuntu/Linux system, when Rstudio is installed the call start RStudio from a terminal looks something like the following:
(base) username#sysname:~$ rstudio
It starts, but has the permissions of the user, and can have access errors.
What gives admin power:
To give it better permissions, you can use sudo.
(base) username#sysname:~$ sudo rstudio
[sudo] password for username: <enter password here>
It starts in a different user location, but has more power. After it is installed you can run it the regular way and the packages are still installed.
Extra credit:
Here are some (currently) relevant links for RStudio on Ubuntu:
https://linuxhint.com/rstudio-for-ubuntu/
https://www.r-bloggers.com/2013/03/download-and-install-r-in-ubuntu/
What is the command to invoke RStudio from Command Line in linux environment?
http://web.cs.ucla.edu/~gulzar/rstudio/index.html
I'm a newbie and I am trying to run my first "Hello World!" program using atom editor. I have installed the build package but when I tried to build I get an error message saying 'no eligible build target. No configuration to build this project exists.' I am using ruby. What am I doing wrong?
This seems to be an old question, however I faced the same issue, hence would like call out on the solution I followed:-
When using "atom-build" package in Atom Editor, whenever you upgrade the package, you may have encountered this issue.
To fix this issue in your environment, what you need to do is:-
Atom Editor Menu:-
File -> "Add Project Folder"
Select your existing JS Project.
Once done, you should be able to use the "atom-build" package again, by invoking the build commands.
Refer:-
https://github.com/noseglid/atom-build/issues/230
What do I do when I get the following error message in Eclipse when trying to launch R?
"no session of R is active in the current workbench window"
I've made a tutorial for installing StatET on my Win64 system, you can find it here (mirror). Although it's no rocket science it's easy to get into issues along the way.
You need to first configure R for your system and then you also need to go into Run > Run Configurations... and add a R Console before you can run it.
You also need to be careful about the Java version that you use. I had to uninstall all my Java, then reinstall the 64-bit before it worked. I guess I could've used the 32-bit, but since I use 64-bit R I thought that it might be a better option (although I think the Eclipse environment and R don't really care about sharing bits)
for me had to select rterm, that displayed the r console/terminal. Then do run , run as -> run in R as script via source
I had the sampe problem.
go to Run > Run Configurations > RStudio
and klick on "Run"