<div dir="ltr">Hi,<div><br></div><div>I'm using Rcpp with my package and I'm having some issues with version 0.11.0. I followed all the instructions in the manual and I don't know what is happening. The NAMESPACE file of my package is:</div>

<div><br></div><div><div>useDynLib(x)</div><div>exportPattern("^[[:alpha:]]+")</div><div>importFrom(Rcpp, evalCpp)</div><div><br></div><div>In the DESCRIPTION file I have the following specific lines for Rcpp:</div>

<div><br></div><div><div>Imports: Rcpp (>= 0.11.0)</div><div>LinkingTo: Rcpp</div></div><div><br></div><div>I can run R CMD check --as-cran and R CMD INSTALL with no problems. The issue comes when I try to use the package in R. I can load it but it seems that some symbols are missing in the shared library of the package. I checked the shared library and I got the following issues:</div>

<div><br></div><div><div>lan.o: In function `Rcpp::Rstreambuf<false>::sync()':</div><div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:83: undefined reference to `R_FlushConsole'</div><div>lan.o: In function `Rcpp::Rstreambuf<true>::sync()':</div>

<div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:79: undefined reference to `R_FlushConsole'</div><div>lan.o: In function `Rcpp::Rstreambuf<false>::overflow(int)':</div><div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:74: undefined reference to `REprintf'</div>

<div>lan.o: In function `Rcpp::Rstreambuf<false>::xsputn(char const*, long)':</div><div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:65: undefined reference to `REprintf'</div><div>lan.o: In function `Rcpp::Rstreambuf<true>::overflow(int)':</div>

<div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:70: undefined reference to `Rprintf'</div><div>lan.o: In function `Rcpp::Rstreambuf<true>::xsputn(char const*, long)':</div><div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:61: undefined reference to `Rprintf'</div>

</div><div><br></div><div><div>> R.version</div><div>               _                           </div><div>platform       x86_64-unknown-linux-gnu    </div><div>arch           x86_64                      </div><div>os             linux-gnu                   </div>

<div>system         x86_64, linux-gnu           </div><div>status                                     </div><div>major          3                           </div><div>minor          1.0                         </div><div>

year           2014                        </div><div>month          04                          </div><div>day            10                          </div><div>svn rev        65387                       </div><div>language       R                           </div>

<div>version.string R version 3.1.0 (2014-04-10)</div><div>nickname       Spring Dance    </div></div><div><br></div><div><br></div><div>I would appreciate if someone could help me with that.</div><div><br></div><div>Thank you,</div>

<div>Talita</div><div><br></div>
</div></div>