From OpenWetWare
Jump to navigationJump to search
RAVE logo R Analysis and Visualization of iEEG


Launching RAVE

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.

In the RAVE Toolbar click on Select Data to explore the provided demo data. If you receive a "No valid project detected" message, see the "Install RAVE" tab and follow the instruction to download demo data. To load your own data, follow these steps. User interactions with RAVE occur through a web browser.

Shutting down RAVE

Closing the browser window containing the RAVE GUI does not affect the RAVE server. To stop the server:

  1. 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.)
  2. 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.


see the Troubleshooting section on the Help tab

Other notes

How to use RAVE on the BeauchampLab MacPro

Older notes