Learn R Programming

rspacer

The rspacer package is a wrapper for the RSpace Electronic Lab Notebook (https://www.researchspace.com/) API (https://community.researchspace.com/public/apiDocs).

This packages provides convenience functions to browse, search, create, and edit your RSpace documents. In addition, it enables filling RSpace templates from R Markdown/Quarto reports or from tabular data (e.g., R data.frames/tibbles, but also Excel/CSV files), which should significantly speed up documentation of computational/analysis workflows in the RSpace ELN, and will enable integration of the RSpace ELN in R-based tools such as R Shiny apps.

For a more extensive description of rspacer’s applications see our manuscript at https://lacdr.github.io/rspacer-manuscript/. For documentation and user guides see below.

Installation

# Install rspacer from CRAN:
install.packages("rspacer")

# Or the development version from GitHub:
# install.packages("pak")
pak::pak("lacdr/rspacer")

Usage

See the Get started article how to use this package.

Copy Link

Version

Install

install.packages('rspacer')

Monthly Downloads

160

Version

0.3.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Gerhard Burger

Last Published

December 4th, 2025

Functions in rspacer (0.3.1)

put_all_fields_in_one_field

Put a list of all fields into one field.
fields_to_data_frame

Convert fields list to a tibble
file_upload

Upload a file to the gallery
set_api_url

Set the RSPACE_API_URL environment variable
document_list_attachments

List attachments of a structured document
get_api_url

Get the RSpace API URL
folder_tree

List contents of a folder, if no folder is specified the contents of the root folder will be listed.
get_api_key

Get the RSpace API key
document_create_from_tabfile

Upload a tabular document to RSpace
doc_to_form_id

Get the form id used for a document
document_create_from_html

Upload a html document to RSpace
api_status

Function to check availability of the API service
document_append_from_html

Add html content to an existing RSpace document
document_retrieve

Get document from RSpace based on document ID
document_create_from_tabular

Upload tabular data to RSpace
document_get_fields

Get the fields of a structured document as a tibble
document_add_attachments

Add attachments to existing document
set_api_key

Set the RSPACE_API_KEY environment variable
document_search

Global search for a term
file_download

Download a file from the gallery