Nested R-expressions in r..eal
Wouter Beek <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAE1un7ObYp8EFUXKqhoXVpDAoFb3QyxTqEF=DbCAuAMyc=U0Dg@mail.gmail.com> |
Hi all, I have a question regarding the r..eal package for R-integration in SWI-Prolog. Is it possible (and if so how) to nest R expressions in R expressions. In [1] I would like to specify the margin parameter so that the label of the Y-axis does not interfere with the value labels of that axis. ~~~ [1] <- barplot(Bars, par(mar=[5,5,1,1]), ylab=+Y_Axis) [2] <-barplot(Bars, "par(mai=c(1,1,1,1))", ylab=+Y_Axis) ~~~ The problem that I experience is that [2] works, but [1] does not. Any ideas on this? Btw, for those who have used the older R interface<http://www.swi-prolog.org/pldoc/package/R.html>in the past, I have found r..eal to be a significant improvement over that one (link to paper on r..eal<http://bioinformatics.nki.nl/~nicos/pbs/padl2013-real.pdf> ). --- Cheers!, Wouter. E-mail: [email protected] WWW: www.wouterbeek.com Tel.: 0647674624 -------------- next part -------------- HTML attachment scrubbed and removed