Skip to content

Instantly share code, notes, and snippets.

@kylebaron
Last active February 15, 2016 20:00
Show Gist options
  • Save kylebaron/97a4d81841db9b45bc7f to your computer and use it in GitHub Desktop.
Save kylebaron/97a4d81841db9b45bc7f to your computer and use it in GitHub Desktop.
Run a model in project directory with no spaces
library(mrgsolve)
## Create a project directory with no spaces in the path
proj <- "c:/my_mrgsolve_models"
if(!file.exists(proj)) dir.create(proj)
code <- '
$PARAM KE = 0.1
$CMT CENT
$ODE dxdt_CENT = -KE*CENT;
'
mod <- mread(code=code, model="test", project=proj)
project(mod)
@kylebaron
Copy link
Author

Releases after 0.5.002 should have the spaces issue fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment