Overview

utilscognigen provides utility functions for R and RStudio at the Clinical Pharmacology and Pharmacometrics (CPP) business unit of Simulations Plus, Inc. This package facilitates creation, execution, and review of R files. This package also provides an interface for interacting with the CPP file system and sponsor directory structure.

Load it with:

Functionality

Creating R Files

  • Create, update, and open R files with QMS approved headers with Redit() and Rcopy().
  • Information can be retrieved from existing headers using the get_header_* family of functions.

Executing R Files

  • Execute R scripts with rcb(). This will produce a log file (.Rout).
  • Render R Markdown with render(). This produces an R script to render the Rmd file, which also results in an associated .Rout file.

Recording Input and Output Files

Reviewing R and Rout Files

Interacting with the CPP File System