Published September 13, 2021 | https://doi.org/10.59350/njkcp-mxb52

How to Use System Commands in your R Script or Package

Additional details

Description

Have you ever found a command-line tool that's perfect for getting your job done, and wanted to use it from an R script or package?E.g. some sort of scientific software providing a specific functionality made available though a command-line interface (CLI)? In this post, we have a look at a few options for writing such CLI wrappers in R.In particular, we compare the base R functions system() and system2(), the sys package and the processx

Identifiers

UUID
e1692528-0fa0-4d4f-8cdb-93478d71e5ac
GUID
https://doi.org/10.59350/njkcp-mxb52
URL
https://ropensci.org/blog/2021/09/13/system-calls-r-package

Dates

Issued
2021-09-13T00:00:00Z
Updated
2025-02-13T12:42:17Z