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.
Difference between revisions of "StatET/R Help Server"
(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...") |
(Add category) |
||
Line 31: | Line 31: | ||
** <code><env id></code> = default | ** <code><env id></code> = default | ||
So <code><nowiki>http://serverwithhelp/</nowiki></code> is equal to <code><nowiki>http://serverwithhelp:80/default</nowiki></code> | So <code><nowiki>http://serverwithhelp/</nowiki></code> is equal to <code><nowiki>http://serverwithhelp:80/default</nowiki></code> | ||
+ | |||
+ | [[Category:StatET]] |
Revision as of 07:32, 26 March 2019
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