wrote:
>
> On 18 April 2014 at 09:12, Ian Fellows wrote:
> | Looks like the same problem described here in
> http://stackoverflow.com/questions/15489065/rcppeclipse-on-mac-os-x/15532241#15532241
> due to Rcpp having a file named string.h which can conflict with std.
> |
> |
Looks like the same problem described here in
http://stackoverflow.com/questions/15489065/rcppeclipse-on-mac-os-x/15532241#15532241
due to Rcpp having a file named string.h which can conflict with std.
Perhaps try using the -idirafter directive?
Best,
Ian
On Apr 18, 2014, at 3:00 AM,
wrote
Looks like the same problem described here in
http://stackoverflow.com/questions/15489065/rcppeclipse-on-mac-os-x/15532241#15532241
due to Rcpp having a file named string.h which can conflict with std.
Perhaps try using the -idirafter directive?
Best,
Ian
On Apr 18, 2014, at 3:00 AM,
wrote
>
> Thanks,
> Kevin
>
> On Mon, Mar 3, 2014 at 11:42 AM, Ian Fellows
> wrote:
>> Hi All,
>>
>> I'm attempting to update my package for use with Rcpp 0.11.0 and have run
>> into an unexpected error. The error message (see below) is somewhat opaqu
Hi All,
I'm attempting to update my package for use with Rcpp 0.11.0 and have run into
an unexpected error. The error message (see below) is somewhat opaque to me,
and the module statements worked fine with the previous version of Rcpp. Can
anyone provide a bit of guidance on how to fix it? The
Thanks for the help. I just thought I should report back with the solution to
my issues for posterity.
It seems that the header only interface is the way to go for my purposes
because I only have a few data structures which need to be shared across
compilation units, and almost all of the code
Hi All,
I'm attempting to get inline up and running for my package, but am having some
trouble. My plug in statement is:
inlineErnmPlugin <- Rcpp:::Rcpp.plugin.maker(
include.before = "#include ",
libs = "",
package= "ernm"
)
T
So,… um… Wow!
This is some pretty incredible work, and lines up almost to the letter with the
real world issues that I was experiencing with my package. Reading over the
vignette, a couple of questions popped into my head.
With the //Rcpp::interfaces(cpp) declaration
1. Are classes also export
Dirk,
>
> Quick guess: Maybe force load / import of package 'methods' ?
>
> More on the other questions in a few days. Let's take them one by one.
I had already added methods to the namespace via import in the NAMESPACE file,
and added it to the depends in the DESCRIPTION file. I just tried
Hi All,
I've been working on an Rcpp based package (for the better part of a year and a
half now), and have a few issues that I was hoping I could get some help with.
As a bit of background, this package fits (via MCMC-MLE) exponential family
random graph models (ergm), markov random field mode
>
> On 04/09/2012 02:07 AM, Ian Fellows wrote:
>> Hi All,
>>
>> So way back in the summer I figured out how to integrate Rcpp/RInside
>> into Eclipses build system allowing for things like code completion /
>> error checking work. I've been meaning to ma
On Apr 9, 2012, at 7:41 AM, Dirk Eddelbuettel wrote:
>
> Hi Ian,
>
> On 9 April 2012 at 00:07, Ian Fellows wrote:
> | Hi All,
> |
> | So way back in the summer I figured out how to integrate Rcpp/RInside into
> | Eclipses build system allowing for things like
Hi All,
So way back in the summer I figured out how to integrate Rcpp/RInside into
Eclipses build system allowing for things like code completion / error checking
work. I've been meaning to make some sort of public guide, but have not gotten
around to it until today. I thought that some on the
I've been using the strategy I outlined last month (
http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-December/003226.html
) for some time now. It is pretty similar to Jelmer's, but makes sure that R
owns the object when a C++ class wrapped into an S4 class. Note that the copy
const
I suppose that I will share my solution to this issue. I have two utility
functions:
using namespace Rcpp;
template
XPtr unwrap_robject(const SEXP& sexp){
RObject ro(sexp);
if(ro.isObject()){
Language call("as.environment",sexp);
SEXP ev = call.eva
> Hi Ian,
>
> On Wed, Oct 5, 2011 at 2:32 PM, Ian Fellows wrote:
>> Hi All,
>>
>> I am getting a compiler seg fault with 0.9.6 and 0.9.7, however the error
>> does not occur in 0.9.4.
>>
>> When running R CMD INSTALL the following error is given:
Hi All,
I am getting a compiler seg fault with 0.9.6 and 0.9.7, however the error does
not occur in 0.9.4.
When running R CMD INSTALL the following error is given:
util.h: In function 'Rcpp::XPtr >
gergm::unwrap_robject(SEXPREC* const&) [with T =
gergm::BinaryNet]':
util.h:30: internal compil
>
> On 23 July 2011 at 09:02, ian.fell...@stat.ucla.edu wrote:
> | Hi all,
> |
> | I've just released an R package to CRAN that creates pretty looking
word | clouds. I think it makes a good minimal example of how to
prototype an | algorithm in R, and then bring the performance bottleneck
down to c+
Hi all,
I've just released an R package to CRAN that creates pretty looking word
clouds. I think it makes a good minimal example of how to prototype an
algorithm in R, and then bring the performance bottleneck down to c++ to
improve speed.
An example:
>install.packages("wordcloud",repos="http:/
Okay, so at the risk of asking another stupid question...
I'm a bit unclear about how to write the R constructor for a class being
exported via the module facility.
class Foo{
public:
int i;
Foo();
Foo(SEXP);
}
int test(Foo f){
Hi,
I have am having trouble using template classes in rcpp. The compiling process
works just fine, but there are errors on link. It seems as if the methods are
not getting specialized.
The Error:
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
21 matches
Mail list logo