-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
maellis edited this page Sep 3, 2017
·
2 revisions
-
Install 64-bit version of java for rJava: https://www.java.com/en/download/manual.jsp
-
If necessary, install Rtools http://cran.r-project.org/bin/windows/Rtools/
-
Add this line to Rprofile found at C:\Program Files\R\R-3.4.1\etc\Rprofile.site
Sys.setenv(PATH = paste(Sys.getenv("PATH"), "C:/RBuildTools/3.4/bin/","C:/RBuildTools/3.4/mingw_64/bin", sep = ";"))
- Can check if that worked using:
Sys.getenv()["PATH"]
- Run the following commands in R.
install.packages(c("ggplot2", "rmarkdown", "gridExtra", "GGally", "ggrepel","readxl","devtools","xlsx"), dependencies = TRUE)
library(devtools)
install_github("mattfidler/RxODE")
install_github("nlmixrdevelopment/RxODE")
Note: It looks like Matt Fidler moved development from mattfidler to nlmixrdevelopment. The latest changes made to the mattfidler version seem to have created issues with the compiler which have been fixed in the nlmixrdevelopment fork. Older versions of the mattfidler branch we used originally to get the code working will still work without the last install_github line.