You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue compiling the cpp file. Specifically, when I compile the cpp file the first time, it runs just fine. However, if I make a change to the cpp file (something as small as adding a space) and then try to recompile it, it won't work. This is what RStudio shows me:
If I delete the dll file and try again to recompile the cpp file, it compiles just fine. Interestingly, in order to delete the dll file, I had to close RStudio because I got the following warning when I tried to delete the dll file "The action can't be completed because the file is open in RStudio R Session" Another interesting factor is that this issue only occurs for one specific cpp file. The other cpp files I have created work just fine. Additionally, if I move the cpp file to a separate computer the cpp file compiles fine. I have tried un-installing and re-installing Rtools and TMB. I have also removed admb from my computer since I heard that that can cause problems.
The TMB version I have is 1.7.15
The R version I ave is 3.5.1
Operating System XPS 15 9550
The text was updated successfully, but these errors were encountered:
euclaise
changed the title
Weird Compile issue
Dynamic library is kept open after dyn.unload
Jul 31, 2020
I have an issue compiling the cpp file. Specifically, when I compile the cpp file the first time, it runs just fine. However, if I make a change to the cpp file (something as small as adding a space) and then try to recompile it, it won't work. This is what RStudio shows me:
If I delete the dll file and try again to recompile the cpp file, it compiles just fine. Interestingly, in order to delete the dll file, I had to close RStudio because I got the following warning when I tried to delete the dll file "The action can't be completed because the file is open in RStudio R Session" Another interesting factor is that this issue only occurs for one specific cpp file. The other cpp files I have created work just fine. Additionally, if I move the cpp file to a separate computer the cpp file compiles fine. I have tried un-installing and re-installing Rtools and TMB. I have also removed admb from my computer since I heard that that can cause problems.
The TMB version I have is 1.7.15
The R version I ave is 3.5.1
Operating System XPS 15 9550
The text was updated successfully, but these errors were encountered: