Doesn&#39;t sugar require Rcpp vectors, which encapsulate R SEXP vectors?  If that is the case you really cannot separate them at all since there is a direct dependency on R.<div><br></div><div>-Andrew<br><br><div class="gmail_quote">
On Mon, Nov 1, 2010 at 7:57 AM, Shane Conway <span dir="ltr">&lt;<a href="mailto:shane.conway@gmail.com">shane.conway@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
My two cents:<br>
<br>
That seems sensible; an alternative view would be to say that sugar is<br>
in the same vein as the rest of Rcpp, might regularly be used in the<br>
same code, and the goal should be to keep everything as simple as<br>
possible (i.e. one library).  I, for one, don&#39;t see the need to<br>
separate them.  They&#39;re very tightly coupled.<br>
<div><div></div><div class="h5"><br>
<br>
On Mon, Nov 1, 2010 at 1:13 AM, Dominick Samperi &lt;<a href="mailto:djsamperi@gmail.com">djsamperi@gmail.com</a>&gt; wrote:<br>
&gt; Comments on Sugar...<br>
&gt;<br>
&gt; Rcpp sugar seems to be an enhancement for C++ more than an interface<br>
&gt; function,<br>
&gt; so wouldn&#39;t it make sense to maintain it as a separate C++ class library?<br>
&gt; More generally, it would be useful to know what portions of Rcpp can<br>
&gt; function without the R engine running. This can be determined by<br>
&gt; trial and error, but it might be helpful if the boundary was more<br>
&gt; clearly defined. Another possible advantage is clients could link only<br>
&gt; against code that they really need.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Dominick<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Rcpp-devel mailing list<br>
&gt; <a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
&gt; <a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
</blockquote></div><br></div>