[Rcpp-devel] RInside missing R.dll

Dan Murphy chiefmurphy at gmail.com
Tue Aug 28 06:23:47 CEST 2012


Dirk,

I made some progress. I noticed that the only folder in
...\library\RInside\lib is i386, which explains why, when I set the
architecture to x64 in WINFILE.WIN, I get the error "g++.exe: error:
/libRInside.a: No such file or directory".

(Are there no x64 versions of libRInside.a and libRInside.dll?)

Assuming that rinside_sample0 is looking for the 32 bit versions of the
dll's, I copied R.dll, Rblas.dll, etc. to ...\examples\standard. Now I get
the error
"Fatal error: unable to open the base package". I tried copying all the
R*.exe's into the current directory, but no luck.

I feel like I am almost there! Any ideas?

Thanks,
Dan

On Mon, Aug 27, 2012 at 8:04 PM, Dan Murphy <chiefmurphy at gmail.com> wrote:
> Hi Dirk,
> I copied R.dll from the 64 bit folder to the examples\standard folder,
> and that got me beyond the dll complaint. But now I have the more
> innocuous
> "The application was unable to start correctly (0xc000007b)"
> Is that progress?
> Thanks,
> Dan
>
> On Mon, Aug 27, 2012 at 7:27 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>>
>>
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120827/b27e9efb/attachment-0001.html>


More information about the Rcpp-devel mailing list