Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>A couple of quick points:</p> <ol> <li><p>The <code>gcc</code> and <code>g++</code> compilers from MinGW behave just like other compilers from the <code>gcc</code> family. That means there is no 'add to search path': you use the <code>-I/some/dir</code> switch to add that path and directory. Similarly, <code>-L/some/lib</code> adds that directory to the linker path.</p></li> <li><p>You <em>really</em> want to use a <code>Makefile</code>. Our <a href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> packages comes with lots of examples; you could look at the <code>Makefile</code> in the <code>ConvolveBenchmarks</code> directory.</p></li> <li><p>But what you really want is to use so-called "package". We have an entire vignette <a href="http://dirk.eddelbuettel.com/code/rcpp/Rcpp-package.pdf">Rcpp-package</a> devoted to this. It can be as simple as calling the <code>rcpp.package.skeleton()</code> function which creates the package for you---and the dynamic library gets created as a side-effect. </p></li> <li><p>If all this is too confusing, try getting familiar with <a href="http://cran.r-project.org/package=inline">inline</a> first. Use the <code>verbose=TRUE</code> argument to see how <a href="http://cran.r-project.org/package=inline">inline</a> builds the dynamic library!</p></li> <li><p>Lastly, we spell it <a href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a>, not RCPP.</p></li> </ol> <p>The <code>rcpp-devel</code> mailing list is a good source of help too.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload