# redivis$current\_notebook

### **redivis$**<mark style="color:purple;">**current\_notebook**</mark>**()** → Notebook

Returns a reference to the current notebook. Can only be called from within a Redivis notebook. The current use case for this method is to generate an output table from the notebook (see example).

### **Returns:**

**Notebook**

### Examples

```r
df = get_dataframe_somehow()

notebook <- redivis$current_notebook()

# Create an output table on the current notebook
# Optional parameter, append (default FALSE), determines whether the output appends to
#  or replaces the output table.
notebook$create_output_table(df, append=FALSE) 
```
