[Rcpp-devel] RInside missing R.dll

Dirk Eddelbuettel edd at debian.org
Tue Aug 28 04:27:53 CEST 2012


Hi Dan,

On 27 August 2012 at 18:02, Dan Murphy wrote:
| Hello,
| 
| I am getting started with RInside. After making the standard example exe's, I
| run rinside_sample0 and get the following System Error:
| "The program can't start because R.dll is missing from your computer. "

That's unfortunatly somewhat standard. See below.
 
| Background:
| 
| I installed R-2.15.1 to C:\R and downloaded RInside (and of course Rcpp)
| into C:\R\R-2.15.1\library (not a personal library). Then I was able to "make
| -f makefile.win" all the examples in C:\R\R-2.15.1\library\RInside\examples\
| standard. Since everything compiled "out of the box", I made no changes to
| makefile.win.
| 
| I am running R-2.15.1 under Windows 7 64bit. Here is my session info:
| 
| R version 2.15.1 (2012-06-22)
| Platform: x86_64-pc-mingw32/x64 (64-bit)
| 
| locale:
| [1] LC_COLLATE=English_United States.1252 
| [2] LC_CTYPE=English_United States.1252   
| [3] LC_MONETARY=English_United States.1252
| [4] LC_NUMERIC=C                          
| [5] LC_TIME=English_United States.1252    
| 
| attached base packages:
| [1] stats     graphics  grDevices utils     datasets  methods   base 
| 
| 
| My PATH contains "C:\R\R-2.15.1\bin\x64" (in case that's important).

That PATH setting is the key.  

You will have to copy whatever dll Windows complains about to 

  -- either the current directory (but that gets old quick once you change
     directories)

  -- another directory in the path

I think I have opted in the past for a dedicated bin/ directory parallel to
Rtools so I would see it easily enough.

Cheers, Dirk
 
 
| Thank you for your help.
| 
| Dan Murphy
| 
| ----------------------------------------------------------------------
| _______________________________________________
| Rcpp-devel mailing list
| Rcpp-devel at lists.r-forge.r-project.org
| https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list