<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Renaud and all,</div><div><br></div><div>Thanks for the suggestions. Here are some two more logs for sharing.</div><div><br></div><div><br></div><div>(1) From the R GUI, I have to load the shared library manually first before calling library(‘RcppOctave’). See log below.</div><div><br></div><div><div><div>> library.dynam('RcppOctave', 'RcppOctave', lib.loc=.libPaths(), verbose=TRUE)</div><div>now dyn.load("/Library/Frameworks/R.framework/Versions/3.0/Resources/library/RcppOctave/libs/RcppOctave.so") ...</div><div>> library('RcppOctave')</div><div>Loading required package: Rcpp</div><div>Loading required package: pkgmaker</div><div>Loading required package: registry</div><div>RcppOctave [0.13.3] - Octave 3.6.4-api-v48+ (x86_64-apple-darwin13.0.0)</div><div>Octave path: /opt/local/bin</div><div>> .CallOctave('version')</div><div>[1] "3.6.4"</div><div>> .CallOctave('sqrt', 10)</div><div>[1] 3.162278</div></div></div><div><br></div><div><br></div><div><br></div><div>(2) Checking the RcppOctave package from the command line failed at the ‘examples’ level. See log below.</div><div><br></div><div><div style="margin: 0px; font-size: 12px;">[yitping@dooku src]$ R CMD check --as-cran RcppOctave_0.13.3.tar.gz </div><div style="margin: 0px; font-size: 12px;">* using log directory ‘/Users/yitping/Toolbox/R/src/RcppOctave.Rcheck’</div><div style="margin: 0px; font-size: 12px;">* using R version 3.0.2 (2013-09-25)</div><div style="margin: 0px; font-size: 12px;">* using platform: x86_64-apple-darwin10.8.0 (64-bit)</div><div style="margin: 0px; font-size: 12px;">* using session charset: UTF-8</div><div style="margin: 0px; font-size: 12px;">* checking for file ‘RcppOctave/DESCRIPTION’ ... OK</div><div style="margin: 0px; font-size: 12px;">* checking extension type ... Package</div><div style="margin: 0px; font-size: 12px;">* this is package ‘RcppOctave’ version ‘0.13.3’</div><div style="margin: 0px; font-size: 12px;">* checking CRAN incoming feasibility ... OK</div><div style="margin: 0px; font-size: 12px;">Maintainer: ‘Renaud Gaujoux <<a href="mailto:renaud@tx.technion.ac.il">renaud@tx.technion.ac.il</a>>’</div><div style="margin: 0px; font-size: 12px;">* checking package namespace information ... OK</div><div style="margin: 0px; font-size: 12px;">* checking package dependencies ... OK</div><div style="margin: 0px; font-size: 12px;">* checking if this is a source package ... OK</div><div style="margin: 0px; font-size: 12px;">* checking if there is a namespace ... OK</div><div style="margin: 0px; font-size: 12px;">* checking for executable files ... OK</div><div style="margin: 0px; font-size: 12px;">* checking for hidden files and directories ... OK</div><div style="margin: 0px; font-size: 12px;">* checking for portable file names ... OK</div><div style="margin: 0px; font-size: 12px;">* checking for sufficient/correct file permissions ... OK</div><div style="margin: 0px; font-size: 12px;">* checking whether package ‘RcppOctave’ can be installed ... OK</div><div style="margin: 0px; font-size: 12px;">* checking installed package size ... OK</div><div style="margin: 0px; font-size: 12px;">* checking package directory ... OK</div><div style="margin: 0px; font-size: 12px;">* checking DESCRIPTION meta-information ... OK</div><div style="margin: 0px; font-size: 12px;">* checking top-level files ... OK</div><div style="margin: 0px; font-size: 12px;">* checking for left-over files ... OK</div><div style="margin: 0px; font-size: 12px;">* checking index information ... OK</div><div style="margin: 0px; font-size: 12px;">* checking package subdirectories ... OK</div><div style="margin: 0px; font-size: 12px;">* checking R files for non-ASCII characters ... OK</div><div style="margin: 0px; font-size: 12px;">* checking R files for syntax errors ... OK</div><div style="margin: 0px; font-size: 12px;">* checking whether the package can be loaded ... OK</div><div style="margin: 0px; font-size: 12px;">* checking whether the package can be loaded with stated dependencies ... OK</div><div style="margin: 0px; font-size: 12px;">* checking whether the package can be unloaded cleanly ... OK</div><div style="margin: 0px; font-size: 12px;">* checking whether the namespace can be loaded with stated dependencies ... OK</div><div style="margin: 0px; font-size: 12px;">* checking whether the namespace can be unloaded cleanly ... OK</div><div style="margin: 0px; font-size: 12px;">* checking dependencies in R code ... OK</div><div style="margin: 0px; font-size: 12px;">* checking S3 generic/method consistency ... OK</div><div style="margin: 0px; font-size: 12px;">* checking replacement functions ... OK</div><div style="margin: 0px; font-size: 12px;">* checking foreign function calls ... OK</div><div style="margin: 0px; font-size: 12px;">* checking R code for possible problems ... OK</div><div style="margin: 0px; font-size: 12px;">* checking Rd files ... OK</div><div style="margin: 0px; font-size: 12px;">* checking Rd metadata ... OK</div><div style="margin: 0px; font-size: 12px;">* checking Rd line widths ... OK</div><div style="margin: 0px; font-size: 12px;">* checking Rd cross-references ... OK</div><div style="margin: 0px; font-size: 12px;">* checking for missing documentation entries ... OK</div><div style="margin: 0px; font-size: 12px;">* checking for code/documentation mismatches ... OK</div><div style="margin: 0px; font-size: 12px;">* checking Rd \usage sections ... OK</div><div style="margin: 0px; font-size: 12px;">* checking Rd contents ... OK</div><div style="margin: 0px; font-size: 12px;">* checking for unstated dependencies in examples ... OK</div><div style="margin: 0px; font-size: 12px;">* checking line endings in C/C++/Fortran sources/headers ... OK</div><div style="margin: 0px; font-size: 12px;">* checking line endings in Makefiles ... OK</div><div style="margin: 0px; font-size: 12px;">* checking compilation flags in Makevars ... OK</div><div style="margin: 0px; font-size: 12px;">* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK</div><div style="margin: 0px; font-size: 12px;">* checking compiled code ... OK</div><div style="margin: 0px; font-size: 12px;">* checking sizes of PDF files under ‘inst/doc’ ... OK</div><div style="margin: 0px; font-size: 12px;">* checking installed files from ‘inst/doc’ ... OK</div><div style="margin: 0px; font-size: 12px;">* checking files in ‘vignettes’ ... OK</div><div style="margin: 0px; font-size: 12px;">* checking examples ... ERROR</div><div style="margin: 0px; font-size: 12px;">Running examples in ‘RcppOctave-Ex.R’ failed</div><div style="margin: 0px; font-size: 12px;">The error most likely occurred in:</div><div style="margin: 0px; font-size: 12px; min-height: 14px;"><br></div><div style="margin: 0px; font-size: 12px;">> base::assign(".ptime", proc.time(), pos = "CheckExEnv")</div><div style="margin: 0px; font-size: 12px;">> ### Name: o_ls</div><div style="margin: 0px; font-size: 12px;">> ### Title: Listing Objects from the Current Octave Session</div><div style="margin: 0px; font-size: 12px;">> ### Aliases: o_ls</div><div style="margin: 0px; font-size: 12px;">> </div><div style="margin: 0px; font-size: 12px;">> ### ** Examples</div><div style="margin: 0px; font-size: 12px;">> </div><div style="margin: 0px; font-size: 12px;">> ## Don't show: </div><div style="margin: 0px; font-size: 12px;">> o_clear(all=TRUE) </div><div style="margin: 0px; font-size: 12px;">> ## End Don't show</div><div style="margin: 0px; font-size: 12px;">> </div><div style="margin: 0px; font-size: 12px;">> # only variables</div><div style="margin: 0px; font-size: 12px;">> o_assign(list(a=1, b=2, c=5))</div><div style="margin: 0px; font-size: 12px;">> o_ls()</div><div style="margin: 0px; font-size: 12px;">Error in .CallOctave("exist", NAME, ...) : </div><div style="margin: 0px; font-size: 12px;"> RcppOctave - error in Octave function `exist`:</div><div style="margin: 0px; font-size: 12px;"> error: caught execution error in library function</div><div style="margin: 0px; font-size: 12px;">Calls: o_ls -> sapply -> lapply -> FUN -> .CallOctave -> .Call</div><div style="margin: 0px; font-size: 12px;">Execution halted</div></div><div><br></div><div><br></div><div>Thanks very much.</div><div><br></div><div>Yitping</div><br><div><div>On Nov 22, 2013, at 2:57 PM, Renaud Gaujoux <<a href="mailto:renaud@mancala.cbio.uct.ac.za">renaud@mancala.cbio.uct.ac.za</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">
<div><br></div><div>I have successfully compile, install and load RcppOctave on my Mac (running Mavericks). In order to do this I have to reinstall Rcpp with customized ~/.R/Makevars (CC=clang, etc). </div></div></blockquote>
<div><br></div><div>Nice!<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">I can load the library from the command line R but not from the GUI. It should be something related to the search path because octave-config could not be found. I will post it here if I find a way. In the meantime, any suggestions would be very welcome. <br>
</div></blockquote><div><br></div><div>Interesting. Can you please try directly loading the library with:<br><br>library.dynam(RcppOctave, RcppOctave, dirname(path.package('RcppOctave)))<br><br></div><div>I am wondering if the library could still load despite octave-config not being in the path.<br>
</div><div><br>Please let me know if calling Octave functions work fine.<br></div><div>Ideally, you would also run the following to make a complete check (from command line), you may need to install the Suggests dependencies:<br>
<br>R CMD check --as-cran RcppOctave_0.13.3.tar.gz<br></div><div><br></div><div>Thank you.<br><br></div><div>Bests,<br></div><div>Renaud<br></div></div></div></div>
</blockquote></div><br></body></html>