Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Dirk Eddelbuettel
On 14 February 2012 at 21:05, Patrick Burns wrote: | On 14/02/2012 20:59, Dirk Eddelbuettel wrote: | > | > (resending with CC to list which I omitted a minute ago --Dirk) | > | > On 14 February 2012 at 20:47, Patrick Burns wrote: | > | | > | | > | On 14/02/2012 20:14, Dirk Eddelbuettel wrote: | >

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Patrick Burns
Dale, Thanks, but running as administrator doesn't seem to be the answer. There was hope in that it first asked if I really wanted to do that before it gave the missing R.dll message. Pat On 14/02/2012 20:55, Smith, Dale wrote: My experience is that any odd error you get with Windows 7 is def

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Patrick Burns
On 14/02/2012 20:59, Dirk Eddelbuettel wrote: (resending with CC to list which I omitted a minute ago --Dirk) On 14 February 2012 at 20:47, Patrick Burns wrote: | | | On 14/02/2012 20:14, Dirk Eddelbuettel wrote: |> |> On 14 February 2012 at 20:04, Patrick Burns wrote: |> | Obviously I don't

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Dirk Eddelbuettel
(resending with CC to list which I omitted a minute ago --Dirk) On 14 February 2012 at 20:47, Patrick Burns wrote: | | | On 14/02/2012 20:14, Dirk Eddelbuettel wrote: | > | > On 14 February 2012 at 20:04, Patrick Burns wrote: | > | Obviously I don't *really* know what I'm | > | doing, or even *

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Smith, Dale
My experience is that any odd error you get with Windows 7 is definitely related to security. Right-click the exe in Explorer and select Run as Administrator. Try to start a Cygwin terminal as Administrator to do command line work (assuming you are using Cygwin). I have no choice but to run RStud

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Patrick Burns
On 14/02/2012 20:14, Dirk Eddelbuettel wrote: On 14 February 2012 at 20:04, Patrick Burns wrote: | Obviously I don't *really* know what I'm | doing, or even *sort of* know what I'm | doing. But that never stopped me before. | | Here is hopefully enough breadcrumbs to | help someone, or even a

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Dirk Eddelbuettel
On 14 February 2012 at 14:14, Dirk Eddelbuettel wrote: | | *) The next problem is two instances each of: | | | | there is no package called [Rcpp, RInside] | | | | This is because .libPaths() is only finding | | the main library and not the one where the | | installed packages go. | | | | This

Re: [Rcpp-devel] RInside on windows

2012-02-14 Thread pasparis
I am sorry about the html email format and can't change it's from my internet provider system, I have to create another account it takes timeI haven't explain enough the problem it's not a codeblock, it's what include files of R,Rcpp,RInside do I put in the project without having to use a builder

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Dirk Eddelbuettel
On 14 February 2012 at 20:04, Patrick Burns wrote: | Obviously I don't *really* know what I'm | doing, or even *sort of* know what I'm | doing. But that never stopped me before. | | Here is hopefully enough breadcrumbs to | help someone, or even all of us. | | | I've reinstalled RInside so tha

Re: [Rcpp-devel] RInside on windows

2012-02-14 Thread Dirk Eddelbuettel
On 14 February 2012 at 20:50, paspa...@noos.fr wrote: | Dirk, | | yes but I start to use codeblocks since sunday, and | "it does not, by default, use makefiles it has its own .cbp files which do the | same thing automatically" That is YOUR choice and YOUR problem. This list is not a code blocks,

Re: [Rcpp-devel] RInside on windows

2012-02-14 Thread pasparis
thanks you Peter, I 've installed cmake and copy the CMakeLists in the project directoryI don't understand your second sentence , how do you set up the cmakelist file in codeblocks?in the project->properties : Project settings check This is a custom make filebut then I can't select the cmakelist

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Patrick Burns
Obviously I don't *really* know what I'm doing, or even *sort of* know what I'm doing. But that never stopped me before. Here is hopefully enough breadcrumbs to help someone, or even all of us. I've reinstalled RInside so that I am starting with the original Makefile.win *) There is an extra

Re: [Rcpp-devel] RInside on windows

2012-02-14 Thread Peter Aberline
You can generate .cbp files using the CMakelists.txt files which now ship with the RInside examples. cmake –G “CodeBlocks - Unix Makefiles” From: rcpp-devel-boun...@r-forge.wu-wien.ac.at [mailto:rcpp-devel-boun...@r-forge.wu-wien.ac.at] On Behalf Of paspa...@noos.fr Sent: 14 February 2012 1

Re: [Rcpp-devel] RInside on windows

2012-02-14 Thread pasparis
Dirk,yes but I start to use codeblocks since sunday, and "it does not, by default, use makefiles it has its own .cbp files which do the same thing automatically"it's very easy to use, I did it for boost with no problem, that's why I wanted to know the include files and the libfor rcpp,rinsideit's

Re: [Rcpp-devel] RInside on windows

2012-02-14 Thread Dirk Eddelbuettel
Patrick, On 14 February 2012 at 19:27, paspa...@noos.fr wrote: | this is one of my problem, I am new since this week-end on codeblocks, I use | its builder and from what I thought you link with the static libraries | 'libRcpp.a,libRInside.a and the none availaible libR.a, and you put the three |

Re: [Rcpp-devel] RInside on windows

2012-02-14 Thread pasparis
Patrickthis is one of my problem, I am new since this week-end on codeblocks, I use its builder and from what I thought you link with the static libraries 'libRcpp.a,libRInside.a and the none availaible libR.a, and you put the three dll files in your bin directory; thats why I was looking fo

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Dirk Eddelbuettel
Hi Pat, On 14 February 2012 at 17:43, Patrick Burns wrote: | Good point about the Rtools version. I started | with 2.13, but I get the same thing with 2.14. | | Here are the key changes that I made to Makefile.win: | | RCPPINCL := -IC:/Users/pat/Documents/R/win-library/2.14/Rcpp/include | RCPP

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Patrick Burns
Pascal, I don't think trying to use .a files is going to work on Windows. That is one of the things that I changed was to look for DLLs instead. Dirk, Good point about the Rtools version. I started with 2.13, but I get the same thing with 2.14. Here are the key changes that I made to Makefil

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread pasparis
Patrick,at the moment I am not able to test on a XP machine due to the following reason:I started yesterday to use RInside on a XP machine (CodeBlocks,GNU GCC compiler)before I used on linux,KDEvelop,GNU GCC,CMake with no problemon the Linux environement there are libR.so, libRCpp.so, libRInside.

Re: [Rcpp-devel] how to get rid of the warning message: no graphics system to unregister

2012-02-14 Thread Dirk Eddelbuettel
On 14 February 2012 at 14:39, Darren Cook wrote: | > Here is the test code I first used to call the R function from C++ | > program. At the end, the warning message came out. | > | > double two_sample_logrank(RInside R, double* t, int* d, | > int sample_size){ ... | | I think you've worked

Re: [Rcpp-devel] RInside under Windows

2012-02-14 Thread Dirk Eddelbuettel
On 14 February 2012 at 11:08, Patrick Burns wrote: | I'm trying to get the RInside examples to go | under Windows 7. It is proving to be exceptionally | traumatic. I am currently not near the Windows XP machine on which I made all the tests asserting that yes, we're back on Windows. I heard from

[Rcpp-devel] RInside under Windows

2012-02-14 Thread Patrick Burns
I'm trying to get the RInside examples to go under Windows 7. It is proving to be exceptionally traumatic. There are a few glitches that I've got past, but now I'm getting: multiple definition of `_imp__ZTUN4Rcpp14not_compatiblE' multiple definition of `_nm__ZTUN4Rcpp14not_compatiblE' (with so