Follow these instructions to install the latest rsyncrosim release from GitHub.

  1. Open RStudio (or any R IDE)

  2. Make sure that you do not have another version of the rsyncrosim library loaded in your R session. You can detach a loaded library using the following code:

detach("package:rsyncrosim", unload=TRUE)
  1. Use the install.packages() function to install rsyncrosim from a website URL. Change the X.X.X in the code below to your desired version, then run the code to install that version from the rsyncrosim GitHub repository:
# Change the line below to your desired rsyncrosim version
rsyncrosimVersion = "X.X.X"

install.packages(
  paste0("https://github.com/syncrosim/rsyncrosim/releases/download/", 
         rsyncrosimVersion, 
         "/rsyncrosim_, ", 
         rsyncrosimVersion, 
         ".tar.gz"), repo=NULL)
  1. You many need to restart your R environment to get rid of any environmental conflicts. You can do this from RStudio using the following code:
.rs.restartR()
  1. Load the rsyncrosim library.
library(rsyncrosim)


syncrosim/rsyncrosim documentation built on Oct. 18, 2024, 1:29 a.m.