<div dir="ltr">Hi,<div><br></div><div>first post, bear with me. </div><div><br></div><div>On this matter, it works fine on 10.9.x. RStudio seems to have fixed on their end. Since I have recently rebuilt both QuantLib and RQuantLib several times on stable and development sources on my 10.9.x environment just running RQuantLib has never been an issue.</div><div><br></div><div>As a workaround, perhaps you could try to create a script to launch through the terminal so that the environment variables are loaded properly?</div><div><br></div><div>Regards,</div><div>Ben<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 28, 2014 at 6:41 PM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On 28 October 2014 at 11:35, Jack Drew wrote:<br>
| Recently, I am trying to create a new RQuantLib setup. I am on mac os x 10.10 and R 3.0.2. I have installed QuantLib 1.4, and RQuantLib. From my terminal, within R, I can require RQuantLib and use it with no problems. However, if I try to require RQuantLib within the R GUI or within my StatET Eclipse, I get:<br>
|<br>
| Loading required package: RQuantLib<br>
| Error : .onLoad failed in loadNamespace() for 'RQuantLib', details:<br>
| call: if (is.character(qc) && nchar(qc) > 1) {<br>
| error: missing value where TRUE/FALSE needed<br>
| In addition: Warning message:<br>
| running command 'bash -c 'type -p quantlib-config' 2>/dev/null' had status 1<br>
|<br>
| I am not sure what I am missing, since the package works fine from the terminal. Please help, if you are able to.<br>
<br>
So quantlib-config is not found.<br>
<br>
I don't own (or access) an OS X machine but even I noticed all these hoopla<br>
over 10.10 not setting PATH -- that could be the culprit. Google for<br>
something like<br>
<br>
          RStudio "OS X" 10.10 PATH<br>
<br>
and you just get pointers.  One trick appears to be to launch RStudio from<br>
the term.app.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dirk<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>
_______________________________________________<br>
Rquantlib-devel mailing list<br>
<a href="mailto:Rquantlib-devel@lists.r-forge.r-project.org">Rquantlib-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rquantlib-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rquantlib-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- </div><div class="gmail_extra">Ben<br><div dir="ltr"><br>“<span style="font-size:13px;line-height:19px;font-family:sans-serif">In God we trust, all others bring data</span>.” W. Edwards Deming</div>
</div></div></div>