Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
StatET/R Help Server
Revision as of 07:29, 26 March 2019 by Unnamed Poltroon (Talk) (Created page with "== Requirements == * Java * RJSrv (e.g. GNU R with https://gitlab.com/walware/de.walware.rj-server.gr) == Installation & Configuration == * Download and unpack the file <co...")
Contents
Requirements
- Java
- RJSrv (e.g. GNU R with https://gitlab.com/walware/de.walware.rj-server.gr)
Installation & Configuration
- Download and unpack the file
statet-rhelpserver-*.zip
- Edit the configuration(s) for the R environments in the folder
renvs
:- One configuration file per R environment
- The name of the file is the id of the R environment
Run the Server
- Just start the jar:
java -jar org.eclipse.statet.rhelp.server.jar &
Special modes
-index-and-exit
- creates or updates the help index only
Options
The server is based on Spring Boot; see documentation of Spring Boot e.g. how to configure the webserver.
Configuration in the IDE
To use the server in the IDE, specify the URI as follows:
http://<name or ip>:<port>/<env id>
For example:
http://serverwithhelp:8080/r35
The following defaults can be optionally omitted:
-
<port>
= 80 -
<env id>
= default
-
So http://serverwithhelp/
is equal to http://serverwithhelp:80/default