kaskr

Results 45 comments of kaskr
trafficstars

Currently gdbsource does not work on the windows operating system. I will see if I can fix this. Otherwise it should be documented under ?gdbsource.

gdbsource now also works on windows. One has to compile with `compile(cppfile,"-O1 -g",DLLFLAGS="")` I was unable to get the compilation working with lower optimization level on windows (required in order...

I forgot to say this is a fix on the master branch so you have to update your TMB installation: ``` remove.packages(TMB) source("install_windows.R") ``` did you do that? Also, make...

Why is "Rterm" not found? Try this: ``` library(TMB) dir(fileLocations()$rbin) ## Should contain 'Rterm.exe' shell("PATH") ## Should contain fileLocations()$rbin shell("start Rterm") ## Should start Rterm in new window ```

This: ``` "C:\Program Files\R\R-3.1.2\bin\x64/Rterm.exe": not in executable format ``` is probably because of the space in the path. Do you have a space in ``` Sys.getenv("R_HOME") ``` If yes, does...

No, my previous suggestion is not useful then. And I just discovered the R-documentation ?R.home says: " On Windows the values of ‘R.home()’ and ‘R_HOME’ are guaranteed not to contain...

Well, that explains where the space comes from: ``` C:\Program Files\R\R-3.1.2\bin\x64;c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;c:\Rtools\gcc-4.6.3\bin32 ``` It seems to me this path is not auto-generated by TMB? (because of the order). When TMB is...

setPath() correctly added ``` C:/Rtools/bin;C:/Rtools/gcc-4.6.3/bin;C:/PROGRA~1/R/R-31~1.2/bin; ``` but it did not add the 64bit gdb. Instead the 32 bit gdb from your (old?) Rtools installation is used to debug 64 bit...

If your current source code of the install_windows.R script does not contain 'gdbbin', then the adcomp folder have not been correctly updated, and you need to download again and reinstall.

This approach only updates the subfolder 'TMB'. Please follow the install instructions stated in the README.