Hi Michael,
yes, tutorial for the Simulator sounds like a great idea

... The already availble 2 tutorials look great by the way... In the mean time though I am trying to figure it out, and here is what I ran into:
I placed model1.for and temp1.csv with 1 patients data in C:\\Pmetrics\\Runs directory. My Rscript looks like this (copy and paste your example from help):
library(Pmetrics)
setwd("C:\\Pmetrics\\Runs")
weights <- 1
mean <- log(c(0.7,0.05,100))
cov <- matrix(rep(0,length(mean)**2),ncol=length(mean))
diag(cov) <- (c(0.15,0.15,0.15)*mean)**2
poppar <- list(weights,mean,cov)
SIMrun(poppar,"temp1.csv",nsim=15,model="model1.for",obsNoise=c(0.02,0.1,0,0),makecsv="PMex1.csv",outname="example",cleanUp=T)
then I loaded Pmetrics_0.20, and got the error message:
Error in inherits(data, "PMmatrix") : argument "data" is missing, with no default
Then I did nothing other then loaded Pmetrics_0.19 instead of 0.20, the Rscript and all files remained the same and got the following message:
C:/Users/andras/Documents/R/win-library/2.15/Pmetrics/Sim/64/engine/SIMengGF_101E.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
'montbig.exe' is not recognized as an internal or external command, operable program or batch file.
Warning messages:
1: running command 'C:\Windows\system32\cmd.exe /c gfortran -m64 -O3 -o montbig.exe "C:/Users/andras/Documents/R/win-library/2.15/Pmetrics/Sim/64/engine/SIMengGF_101E.o" model1.for' had status 1
2: In shell(paste(enginecompile, model)) :'gfortran -m64 -O3 -o montbig.exe "C:/Users/andras/Documents/R/win-library/2.15/Pmetrics/Sim/64/engine/SIMengGF_101E.o" model1.for' execution failed with error code 1
3: running command 'C:\Windows\system32\cmd.exe /c montbig.exe DOS < simControl.txt' had status 1
4: In shell("montbig.exe DOS < simControl.txt") :'montbig.exe DOS < simControl.txt' execution failed with error code 1
in the second scenario the software actually seemed like started to begin the process, but then it stopped (v 0_.19), while in the first scenario (0_.20) it seems to not even move. Is my script completely off? Perhaps some of my files are not in the proper location? Apreciate the help,
Andras