Detailed installation instructions for all supported platforms.
Before you begin, create a free account at app.gofigr.io/registerarrow-up-right .
Install via pip
This installs both the client library and the IPython extension (compatible with Jupyter, VSCode, and others).
After installation, run the gfconfig command-line tool:
This will prompt you for your credentials and save them to ~/.gofigr.
For advanced options (custom API URL, auto-publish settings, default metadata):
The simplest way to use GoFigr in Jupyter is to load the extension:
That's it! All figures you create will be automatically published.
For custom configuration:
For standalone Python scripts, use the Publisher class:
Environment Variables
Instead of using gfconfig, you can set environment variables:
Your API key (alternative to username/password)
API URL (default: https://api.gofigr.io)
R 4.0 or higher (tested with R 4.3.2)
Install from CRAN
Install from GitHub (Development Version)
For the latest development version:
On the R prompt, load the package and run the configuration wizard:
This will prompt you for your credentials and save them to ~/.gofigr.
R Markdown Usage
In your setup chunk, enable GoFigr:
You can optionally specify an analysis name:
Publishing Plots
Use the publish() function to capture figures:
For base R graphics, wrap the plotting code:
Shiny Integration
Replace plotOutput + renderPlot with gfPlot + gfPlotServer:
Configuration File
Both Python and R store configuration in ~/.gofigr. This file is created automatically by the gfconfig command/function.
Troubleshooting
Authentication Errors
If you get authentication errors:
Run gfconfig again to update your credentials
Check that your API key is valid in the GoFigr web app
Verify environment variables if using them
Connection Issues
Verify you can reach https://api.gofigr.io
Check firewall settings if on a corporate network
For enterprise installations, ensure GF_URL is set correctly
For more help, visit gofigr.io/supportarrow-up-right .