Exporting data and Wrapping Up the Session

1. Exporting & reproducing the data to work further

dataviewR provides the additional benefit of allowing you to download or copy the data you are working with, making it easy to export for further analysis, model building, or visualization.

The copy/download feature only applies to the rows currently visible on the page you are viewing.

dataviewR uses the callr package to run the shiny application in a background process. To manage and retrieve information about active dataviewR sessions, the following helper functions are available.

2. To know the session information

list_dataviewers provides information about the active sessions.

list_dataviewers()
Active background dataviewer processes:
=======================================

ID: dv_11
  Status: RUNNING
  Data: iris, mtcars
  Port: 5281
  Started: 2025-11-30 18:51:49

3. To stop dataviewR session(s)

To stop a recent dataviewR session user can simply use stop_dataviewer function as by default it stops the recent active session.

stop_dataviewer()

To stop a specific or recent dataviewR session, user can use stop_dataviewer by providing the id of the session.

id <- dataviewer(mtcars, iris)
dataviewer(id = id)

the above code stops the session mentioned in id argument.

To stop all active sessions user needs to use stop_all_dataviewers

stop_all_dataviewers()