RE: [NMusers] Rcpp alongside NONMEM

2016-11-03 Thread Bauer, Robert
If you have nonmem7.3 or greater, then you can fill in nmloc or nmloc.bat in the root nonmem installation directory with the gfortran path. Then nonmem executions will rely on the location of gfortran specified in the nmloc file. Please see section I.5 of nm730.pdf for details. Robert J. Bauer,

Re: [NMusers] Rcpp alongside NONMEM

2016-11-03 Thread Bill Denney
Hi Mike, Similar to Itziar, I've run into near-equivalent problems. I've not tested this as a solution, but my thought is to setup a specific batch file that runs NONMEM for me, and at the top of the batch file it updates the PATH variable to point to the NONMEM copy of gfortran, and at the

Re: [NMusers] Rcpp alongside NONMEM

2016-11-03 Thread Itziar Irurzun Arana
Hi Mike, I had the same problem some months ago and what I finally did was to update the path environment variable for the current R session only with the following code: path <- "C:\\RBuildTools" #Write the path to your Rtools or RBuildTools folder rtools <- paste(path, "\\bin", sep = ""

[NMusers] Rcpp alongside NONMEM

2016-11-03 Thread Smith, Mike K
Hi, My colleagues and I are running into problems using modelling and simulation tools which rely on Rcpp (e.g. Stan, mrgsolve, PKPDsim) alongside an existing NONMEM installation. The problem is that we have TWO versions of compilers installed - one for NONMEM and one from the Rtools set. For