Open RStudio and enter the following command into the console:
A new web browser window should open with the RAVE splash screen. RAVE is developed and tested using Google Chrome: some features in the Volume/Surface viewer, such as recording videos and loading volumetric MRIs, may not work in other browsers.
Shutting down RAVE
Closing the browser window containing the RAVE GUI does not affect the RAVE server. To stop the server:
- Click the red "stop sign" icon in the RStudio window. This will gray out the browser window, indicating that the browser is disconnected from the RAVE server; close the window if desired. (Note that you will still be able to interact with the browser window but it will appear dim.)
- From the RStudio menu bar, select "RStudio"/"Quit RStudio". You will be asked "Save workspace image?". Click "Don't Save". To disable asking, select "RStudio"/"Preferences". In the "General" Tab, change "Save Workspace to .Rdata on exit" to "Never".
Advanced: Launch RAVE in server mode
To launch a RAVE server, enter the following command on the server machine:
rave::start_rave(host = 'Server_IP_Address', launch.browser=FALSE, port = 1111)
Port numbers 0-1023 are reserved and should not be used but any other port value should be fine. Client computers on the local network can interact with the RAVE server using a web browser:
where Server_IP_Address and 1111 match the server values above. A server can host multiple RAVE instances by opening a new RStudio session ("Session"/"New Session") and launching RAVE with a different port number.