# get the RI marker definition file
cdfpath <- file.path(find.package("TargetSearchData"), "gc-ms-data")
rim.file <- file.path(cdfpath, "rimLimits.txt")
# set the mass marker to 87
mass <- 87
# load the definition
rimLimits <- ImportFameSettings(rim.file, mass = mass)
# sometimes you need to change the limits of a particular standard
rimLimits(rimLimits)[2,] <- c(410, 450)
# to change the mass value
rimMass(rimLimits) <- 85
Run the code above in your browser using DataLab