SQL Clients > RStudio

RStudio

This page describes how to set up RStudio and configure it for use with Rockset.

RStudio requires Rockset R client (RRockset) which is available here.

Introduction

RStudio is an open source software for the R statistical computing environment.

Configuration

  1. Create an API Key using the Rockset Console under Manage > API Keys.

Rockset API Keys

  1. Open a new R Script using File > New File > R Script. Install devtools package, followed by RRockset as follows:
install.packages('devtools')
library('devtools')
devtools::install_github('rockset/RRockset@v0.1.0')

Change working directory to RRockset:

setwd('path-to-RRockset')
Tableau Connect

Usage

Query Rockset as follows:

Tableau Explore

You can find more examples here.