Perry,Thanks for the reply - I was out a few days and didn't see it until this morning.
I tried a few things and have not resolved the problem.
1) I had failed to properly uninstall Rtools 3.5 before I tried to install Rtools 3.4, so that may have been the problem with the note about "Rtools 3.5 was previously installed..." Uninstalling, and then reinstalling made that message go away, and it seems that find_rtools(debug=TRUE) successfully find Rtools regardless of whether I installed Rtools 3.5 or 3.4. But the nimble model won't compile either way.
2) I tried a few of the examples in the package RcppExamples, and they all seemed to work. So, if Rtools is required for those to work, then it seems that things are working on that front.
3) Rtools 3.5 installs without errors, but it appears that there is not an option to modify the PATH system variable, as there is with Rtools 3.4. Not sure what that means for nimble.
4) When I install Rtools 3.4 (checking the box to modify PATH), I encounter an error:
Error creating registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
RegCreateKeyEx Failed; code S.
Access is denied.
Click Retry to try again, Ignore to proceed anyway, or Abort to cancel installation.
5) Clicking Ignore to proceed anyway does seem to go ahead and install Rtools anyway, and find_rtools(debug=TRUE) does find it, and the examples from RcppExamples do seem to work. But my nimble model still won't compile.
6) when I install Rtools 3.4 (checking the box for PATH, but unchecking the box to modify the registry key), I still get the same error message, and find_rtools() still returns TRUE, and the examples from RcppExamples still succeed. However, find_rtools(debug==TRUE) returns the following:
So, I suspect the you are right and that it is a system-specific issue. I think my best guess (but it is just a guess), is that maybe nimble really does not work with Rtool 3.5 (no option to modify PATH), and the missing registry key for Rtools 3.4 (maybe because I installed Rtools 3.5 first) is also now preventing proper function of 3.4. I will see if I can take this up with my IT guy and resolve the registry issue. But if others have had success with Rtools 3.5 (this is now the recommended version on the install page), then clearly that is not my problem.
Thanks again for the suggestions.
Glenn