fd_server {ggfigdone} | R Documentation |
Initiates a server for ggfigdone
Description
This function initiates a server for ggfigdone, which can be accessed through a web browser. The web application enables users to manage and modify ggplot figures with ease. Users have the ability to:
Update the ggplot code by adding new components.
Adjust the figure size.
Download the figure as a PDF.
Download the data used to create the figure.
Usage
fd_server(dir, host = "0.0.0.0", port = 8080, auto_open = TRUE)
Arguments
dir |
The directory of the ggfigdone database. |
host |
The host on which the server will run; the default is '0.0.0.0'. |
port |
The port on which the server will run; the default is 8080. |
auto_open |
A logical value indicating whether the server should be opened in a web browser; the default is TRUE. |
Details
By default the function will open a web browser to access the server.
You can configure the web browser by setting the options:
options(browser = "firefox") # Set Firefox as the default
Value
No return value, the function is called for its side effects.