<font color='black' size='2' face='arial'>

<div> <font size="2">Hi Dirk and James,<br>
<br>
Yes, I think this is a great idea</font><br>
<font size="2">        "</font>One idea could be to put something basic in the Rcpp FAQ and maybe link to<br>

        the wiki within the Rcpp repo -- which we basically don't use at all right<br>

        now -- to have a more dynamic reference too.  Thoughts?<font size="2">"<br>
<br>
I think that "something basic" (like simply put the URL in the Rcpp FAQ) will be just fine.  The idea is just to direct the OS X use that experienced "my" problem in the right direction.<br>
<br>
Thanks again.<br>
<br>
Anguel Grigorov<br>
</font>
</div>



<div> <br>

</div>



<div> <br>

</div>



<div style="font-family:helvetica,arial;font-size:10pt;color:black">-----Original Message-----<br>

From: Dirk Eddelbuettel <edd@debian.org><br>

To: aakremena <aakremena@aol.com><br>

Cc: balamut2 <balamut2@illinois.edu>; rcpp-devel <rcpp-devel@lists.r-forge.r-project.org><br>

Sent: Fri, Feb 5, 2016 11:25 am<br>

Subject: Re: [Rcpp-devel] Rcpp problem related to sourceCpp_1.so<br>

<br>

<br>

Anguel,<br>

<br>

Thanks for taking the time to report back -- appreciated.<br>

<br>

On 5 February 2016 at 11:19, <a href="mailto:aakremena@aol.com">aakremena@aol.com</a> wrote:<br>

| James, I want to take the opportunity to thank you again for your competent<br>

| advice.  It worked.<br>

<br>

Seconded. <br>

  <br>

| Dirk, does it seem like a reasonable suggestion to you to put the first of<br>

| these links in your Rcpp FAQ file? <br>

<br>

Yes -- right after James posted this I asked him off-list to take a look at<br>

what is currentlyn the Rcpp FAQ, which he very kindly agreed to do.  The<br>

version is the package is stale-est, the one on GitHub received a recent<br>

updated -- but all this needs work.  I'll also ping other OS X users like<br>

Kevin or Bob Rudis (who, if memory serves, recently wrote a 'R on OS X'<br>

checklist/howto). <br>

<br>

One idea could be to put something basic in the Rcpp FAQ and maybe link to<br>

the wiki within the Rcpp repo -- which we basically don't use at all right<br>

now -- to have a more dynamic reference too.  Thoughts?<br>

<br>

| This may go a long way to prevent some initial frustration with working with<br>

| Rcpp for a OS X Maverick user.<br>

<br>

Absolutely.  I am spoiled because things tend to 'just work' on Linux [1] so<br>

we all need to keep an eye on current and helpful OS X documentation.  Ditto<br>

for Windows but Rtools is a bit standard(ized) already.<br>

<br>

Dirk<br>

<br>

<br>

[1] That is unless Ubuntu fscks up clang++ header use, but then again I<br>

mostly use g++.<br>

<br>

| <br>

| Thanks again.<br>

| <br>

| Anguel<br>

| <br>

| <br>

| <br>

| -----Original Message-----<br>

| From: Balamuta, James Joseph <<a href="mailto:balamut2@illinois.edu">balamut2@illinois.edu</a>><br>

| To: aakremena <<a href="mailto:aakremena@aol.com">aakremena@aol.com</a>>; rcpp-devel<br>

| <<a href="mailto:rcpp-devel@lists.r-forge.r-project.org">rcpp-devel@lists.r-forge.r-project.org</a>><br>

| Sent: Thu, Feb 4, 2016 5:58 pm<br>

| Subject: Re: [Rcpp-devel] Rcpp problem related to sourceCpp_1.so<br>

| <br>

| Greetings and Salutations,<br>

| <br>

| See:<br>

| <br>

| <a href="http://thecoatlessprofessor.com/programming/" target="_blank">http://thecoatlessprofessor.com/programming/</a><br>

| rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error/<br>

| <br>

| Also, another example / more help setting up the dev environment on OS X is<br>

| here:<br>

| <br>

| <a href="http://thecoatlessprofessor.com/programming/r-compiler-tools-for-rcpp-on-os-x/" target="_blank">http://thecoatlessprofessor.com/programming/r-compiler-tools-for-rcpp-on-os-x/</a><br>

| <br>

| Happy Rcppin’<br>

| <br>

| Sincerely,<br>

| <br>

| JJB<br>

| <br>

| <br>

| From: <<a href="mailto:rcpp-devel-bounces@lists.r-forge.r-project.org">rcpp-devel-bounces@lists.r-forge.r-project.org</a>> on behalf of "<br>

| <a href="mailto:aakremena@aol.com">aakremena@aol.com</a>" <<a href="mailto:aakremena@aol.com">aakremena@aol.com</a>><br>

| Date: Thursday, February 4, 2016 at 4:57 PM<br>

| To: "<a href="mailto:rcpp-devel@lists.r-forge.r-project.org">rcpp-devel@lists.r-forge.r-project.org</a>" <<br>

| <a href="mailto:rcpp-devel@lists.r-forge.r-project.org">rcpp-devel@lists.r-forge.r-project.org</a>><br>

| Subject: [Rcpp-devel] Rcpp problem related to sourceCpp_1.so<br>

| <br>

| Hi everyone,<br>

| <br>

| My name is Anguel and I am new to this list.<br>

| <br>

|     1. I am trying to implement some simple example of a C++ compiled function<br>

| from Hadley Wickham's website (<a href="http://adv-r.had.co.nz/Rcpp.html#rcpp" target="_blank">http://adv-r.had.co.nz/Rcpp.html#rcpp</a>).<br>

| In fact the function I am trying to compile is the first one:<br>

| <br>

| library(Rcpp)<br>

| cppFunction('int add(int x, int y, int z) {  int sum = x + y + z;  return sum;}')<br>

| <br>

| <br>

| <br>

| <br>

| <br>

|     2. Unfortunately I have immediately run into a problem, getting an error message:<br>

| <br>

| <br>

| <br>

| <br>

|                          Error in dyn.load("/var/folders/12/bqytpkx93w97r3s3_h9q9k_00000gn/T//RtmprqDXCj/sourcecpp_23c71c355072/sourceCpp_1.so") :<br>

| <br>

| <br>

| <br>

| <br>

|                          unable to load shared object '/var/folders/12/bqytpkx93w97r3s3_h9q9k_00000gn/T//RtmprqDXCj/sourcecpp_23c71c355072/sourceCpp_1.so':<br>

| <br>

| <br>

| <br>

| <br>

|                          dlopen(/var/folders/12/bqytpkx93w97r3s3_h9q9k_00000gn/T//RtmprqDXCj/sourcecpp_23c71c355072/sourceCpp_1.so, 6): Symbol not found: ___addtf3<br>

| <br>

| <br>

| <br>

| <br>

|                          Referenced from: /usr/local/lib/libquadmath.0.dylib<br>

| <br>

| <br>

| <br>

| <br>

|           Expected in: /usr/local/lib/libgcc_s.1.dylib<br>

| <br>

| <br>

| <br>

| <br>

|                  in /usr/local/lib/libquadmath.0.dylib<br>

| <br>

| <br>

| <br>

| <br>

| <br>

|         3. I am working on OS X Maverics (10.9.3) and I am using R3.2.0<br>

|                       platform       x86_64-apple-darwin13.4.0<br>

|                         arch         x86_64<br>

|                         os             darwin13.4.0<br>

|                 system         x86_64, darwin13.4.0<br>

|                         status<br>

|         major          3<br>

|                         minor          2.0<br>

|                year           2015<br>

|                         month          04<br>

|              day            16<br>

|                         svn rev        68180<br>

|             language       R<br>

|                         version.string R version 3.2.0 (2015-04-16)<br>

|                         nickname       Full of Ingredients<br>

| <br>

| <br>

| <br>

| <br>

| <br>

|         4. I'm also using  RcppArmadillo_0.6.500.4.0 and<br>

| <br>

| <br>

| <br>

| <br>

| <br>

| <br>

|                                     Rcpp_0.12.3<br>

| <br>

| <br>

| <br>

| <br>

| <br>

| <br>

| <br>

|         5. I can't seem to find any suggestions on the Internet concerning such a problem (maybe somebody will direct me in this regard).<br>

| <br>

| <br>

| <br>

| <br>

| <br>

|         6. I'll be extremely thankful to everybody who can direct me as to how to proceed from here.  Of course, I'll be glad to provide any other information should you decide to answer my e-mail and request it.<br>

| <br>

| <br>

| <br>

| <br>

| <br>

| <br>

| <br>

| Thank you in advance.<br>

| <br>

| <br>

| <br>

| <br>

| <br>

| <br>

| Anguel<br>

| <br>

| <br>

| <br>

| <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>

<br>

-- <br>

<a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a><br>

</div>

</font>