DesktopDeployR icon indicating copy to clipboard operation
DesktopDeployR copied to clipboard

The procedure entry point EXTPTR_PRT could not be located in the dynamic link library (app\library\Rcpp\libs\x64\Rcpp.dll)

Open ksezgin80 opened this issue 4 years ago • 3 comments

Hi,

I followed all the steps mentioned in the ReadMe section, however I am facing an issue with Rcpp.dll. I searched online for a solution but the recommendation was to update R to the latest version 4.0.2, which I cannot since latest R-Portable is 4.0.0. Is there a fix around this problem? I cannot really run the shiny app due to this error.

ksezgin80 avatar Aug 07 '20 21:08 ksezgin80

Hi,

I have exactly the same error. Some help will be really appreciate.

All the best

AMillanFL avatar Dec 02 '20 13:12 AMillanFL

Hi, apparently the issue is with the version of R-Portable (4.0.0). Current version of Rcpp available from CRAN was compiled for 4.0.2 and R 4.0.0 cannot load it.

A 4.0.2 version of R-Portable was requested on https://sourceforge.net/projects/rportable/ because there is no news on this at the moment.

I forked (https://github.com/gdurif/rportable) the code available at https://sourceforge.net/projects/rportable/ to generate the distribution but it is more than 10 years old and I am pretty sure it will be complicated to make it work.

Here are the github page of the project owner but I do not know how to contact them:

  • https://github.com/wbhuber
  • https://github.com/halpo

Some help would be great.

gdurif avatar Dec 02 '20 17:12 gdurif

A temporary fix is to install Rcpp from source, e.g. clone or download this https://github.com/RcppCore/Rcpp.git at DesktopDeployR project root and run from R-Portable:

devtools::install("Rcpp", args = c('--library="./app/library/"'))

but it requires Rtools (https://cran.r-project.org/bin/windows/Rtools/).

gdurif avatar Dec 02 '20 18:12 gdurif