R Package Released

Since yesterday, there also is an R Version of scrm available on CRAN. This makes it quite convenient to use scrm if you are using R. You can install it using

install.packages('scrm')

Afterwards, just load the package and start using scrm:

library('scrm')
sum_stats <- scrm('5 1 -r 10 100 -t 5 -oSFS')

The summary statistics of the simulation are converted into R objects that should be convenient to work with. You can optionally write the traditional ms-like output into a file using the file argument:

sum_stats <- scrm('5 1 -r 10 100 -t 5 -oSFS', 
                  file='scrm_output.txt')

Feel free to open an issue on GitHub if you experience any problems or have suggestions on how to improve scrm or the R package.

Published: October 22 2014