On 2/22/11 11:13 AM, "Dirk Eddelbuettel" wrote:
>
>Just a quick note to say that ...
>
>On 22 February 2011 at 10:53, ken.willi...@thomsonreuters.com wrote:
>| got farther, so now I'm getting correct output from it. BTW, I changed
>| the prereq on Rcpp from 0.9.0 to 0.8.6 since that's the late
On Tue, Feb 22, 2011 at 10:53 AM, wrote:
>
>
> On 2/19/11 9:20 AM, "Douglas Bates" wrote:
>
>>On Fri, Feb 18, 2011 at 4:50 PM, wrote:
>>
>>> Hi Doug, did you ever get a test case working for this?
>>
>>I didn't try further. I was hoping that you would pick up the sources
>>for the package and
Just a quick note to say that ...
On 22 February 2011 at 10:53, ken.willi...@thomsonreuters.com wrote:
| got farther, so now I'm getting correct output from it. BTW, I changed
| the prereq on Rcpp from 0.9.0 to 0.8.6 since that's the latest public
| release.
... this ain't so. Are you running a
On 2/19/11 9:20 AM, "Douglas Bates" wrote:
>On Fri, Feb 18, 2011 at 4:50 PM, wrote:
>
>> Hi Doug, did you ever get a test case working for this?
>
>I didn't try further. I was hoping that you would pick up the sources
>for the package and experiment with it. :-)
Yes, a reasonable thing to h
On Fri, Feb 18, 2011 at 4:50 PM, wrote:
> On 2/16/11 3:55 PM, "Douglas Bates" wrote:
>>I decided that it would be simple enough to write a small package to
>>show exactly how you would pass a dgCMatrix to an Rcpp-based C++
>>function and create a smat object.
> Hi Doug, did you ever get a test
On 2/16/11 3:55 PM, "Douglas Bates" wrote:
>I decided that it would be simple enough to write a small package to
>show exactly how you would pass a dgCMatrix to an Rcpp-based C++
>function and create a smat object.
Hi Doug, did you ever get a test case working for this?
As a comparison, here's
On Wed, Feb 16, 2011 at 7:59 PM, wrote:
>
>
>> R.e. S4 -- a good place to start is here:
>> http://www.r-bloggers.com/resources-for-s4-classes-and-methods/
>
> Thanks, though in this case I'm looking for reference docs on Rcpp::S4, not
> S4 classes within R.
For some usage examples (most of whi
> R.e. S4 -- a good place to start is here:
> http://www.r-bloggers.com/resources-for-s4-classes-and-methods/
Thanks, though in this case I'm looking for reference docs on Rcpp::S4, not S4
classes within R.
> Have you gotten a minimal example up and running without reference to
> dgCMatrix? L
On Wed, Feb 16, 2011 at 1:21 PM,
wrote:
>
> Yes, of course. I'm just wondering if there's a way to do the social
> engineering better, taking advantage of other community members for the
> "easy" stuff, and freeing you to concentrate on aspects you might find
> more rewarding. Closed, purpose-bu
On 16 February 2011 at 17:05, ken.willi...@thomsonreuters.com wrote:
|
| On 2/16/11 4:53 PM, "Dirk Eddelbuettel" wrote:
|
| >
| >On 16 February 2011 at 16:20, ken.willi...@thomsonreuters.com wrote:
| >| On 2/16/11 4:00 PM, "Dirk Eddelbuettel" wrote:
| >| >Here is an updated version of the 'sec
On 2/16/11 4:53 PM, "Dirk Eddelbuettel" wrote:
>
>On 16 February 2011 at 16:20, ken.willi...@thomsonreuters.com wrote:
>| On 2/16/11 4:00 PM, "Dirk Eddelbuettel" wrote:
>| >Here is an updated version of the 'secondExample' from that
>aforementioned
>| >example file in Rcpp. It uses the plugin
On 16 February 2011 at 16:20, ken.willi...@thomsonreuters.com wrote:
| On 2/16/11 4:00 PM, "Dirk Eddelbuettel" wrote:
| >Here is an updated version of the 'secondExample' from that aforementioned
| >example file in Rcpp. It uses the plugin generator facility to override
| >LIBS which makes it wo
On 2/16/11 4:00 PM, "Dirk Eddelbuettel" wrote:
>
>Ken,
>
>Here is an updated version of the 'secondExample' from that aforementioned
>example file in Rcpp. It uses the plugin generator facility to override
>LIBS
>which makes it work on my box.
Aha, I hadn't suspected that plugins would be the
On 2/16/11 3:55 PM, "Douglas Bates" wrote:
>I decided that it would be simple enough to write a small package to
>show exactly how you would pass a dgCMatrix to an Rcpp-based C++
>function and create a smat object.
Excellent, thanks!! I'll grab it and take a look.
>but it is taking a long ti
Ken,
Here is an updated version of the 'secondExample' from that aforementioned
example file in Rcpp. It uses the plugin generator facility to override LIBS
which makes it work on my box. There may be a buglet in the RcppGSL package
and its definition of the default LIBS, or it maybe on my box.
On Wed, Feb 16, 2011 at 2:03 PM, wrote:
> On 2/16/11 12:18 PM, "Douglas Bates" wrote:
>>The dgCMatrix object is of an S4 class. It's best to use the S4 class
>>from Rcpp so you can extract the slots as Rcpp::IntegerVector and
>>Rcpp::NumericVector objects. Once you get them in that form the
On 2/16/11 12:02 PM, "Dirk Eddelbuettel" wrote:
>On 16 February 2011 at 11:47, ken.willi...@thomsonreuters.com wrote:
>| As an aside, have you considered moving this list to some open forum
>| that's 1) searchable
>
>It is. The list archive has some Google juice. If you type a specific
>question
On 2/16/11 12:18 PM, "Douglas Bates" wrote:
>The dgCMatrix object is of an S4 class. It's best to use the S4 class
>from Rcpp so you can extract the slots as Rcpp::IntegerVector and
>Rcpp::NumericVector objects. Once you get them in that form the
>pointers are best obtained through the begin()
On Wed, Feb 16, 2011 at 11:47 AM, wrote:
> Hi, I'm having some trouble wrapping a relatively simple C function using
> Rcpp and inline and friends. This is my first time trying to use these
> tools, so I'm sure I'm doing something wrong my immediate problem is
> that I can't seem to figure out
Hi Ken,
Thanks for your persistence with this!
On 16 February 2011 at 11:47, ken.willi...@thomsonreuters.com wrote:
| Hi, I'm having some trouble wrapping a relatively simple C function using
| Rcpp and inline and friends. This is my first time trying to use these
| tools, so I'm sure I'm doing
Hi, I'm having some trouble wrapping a relatively simple C function using
Rcpp and inline and friends. This is my first time trying to use these
tools, so I'm sure I'm doing something wrong my immediate problem is
that I can't seem to figure out how to link against a library when
prototyping with
21 matches
Mail list logo