I already installed Rtools35. But aftering install Rtools35, It continually occurs error in Rstudio.
This error is as follow :
extension<-ifelse(isWindows, ".dll", ".so")
dyn.load(paste0("D:/Platanus/CiPA_Rocde/CiPA-master/AP_simulation/models/newordherg_qNet",extension))
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'D:/Platanus/CiPA_Rocde/CiPA-master/AP_simulation/models/newordherg_qNet.dll'
LoadLibrary failure: The specified module could not be found.
To solve above error, I need to check dubious things.
[1. Rtool version issue] May be..... Does it occur error because of Rtool version?
I'm using R 3.6.3 version and Rtool35 version based on window10.
Do you know which Rtools version should be installed for R 3.6.3 in windows10(64bit)?
Can I install Rtools35? or Can I install Rtools40?
[1. Issue solution] I checked @r2evans opinion mentioned as below, So I'll continually use Rtool35.
[2. R CMD SHLIB compile error in powershell in window10 issue] To get .dll file, I compiled newordherg_qNet.c in powershell in window10. Aftering compiling, It occurs error as following.
-Run error example
PS D:\Platanus\CiPA_Rocde\CiPA-master\AP_simulation\models> R CMD SHLIB newordherg_qNet.c
Invoke-History : 'SHLIB' It couldn't find location parameter permitting factor.
Location line : 1 character : 1
+ R CMD SHLIB newordherg_qNet.c
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-History],
ParameterBindingException
+ FullyQualifiedErrorId :
PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeHistoryCommand
Although I find solution associated with R CMD SHLIB issue, It is difficult to solve the issue. Do you have any idea to solve error?