Interact with Caliper software from R
if (!require("devtools")) install.packages("devtools") devtools::install_github('dkyleward/caliperR')
The RDCOMClient package has not been updated for R 4.0 (issue 1 issue 2). In the mean time, I have created a binary of my RDCOMClient fork that will work (thanks @RikSchoemaker here). Use the following code to install a working version of RDCOMClient and then caliperR.
# RDCOMClient dir <- tempdir() zip <- file.path(dir, "RDCOMClient.zip") url <- "https://github.com/dkyleward/RDCOMClient/releases/download/v0.94/RDCOMClient_binary.zip" download.file(url, zip) install.packages(zip, repos = NULL, type = "win.binary") # caliperR if (!require("devtools")) install.packages("devtools") devtools::install_github('dkyleward/caliperR')
library(caliperR) dk <- connect() RunMacro("G30 Tutorial Folder") #> "C:/Users/..."
For more details, see:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.