regards,
EBo --
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
on and participate in the dialog.
Best regards,
EBo --
ps: if someone can suggest how to hand code
"t.test(x,conf.level=(1-p))$conf.int[2]" so I can embedd it I would be most
appreciative.
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
dd that R_Parse1Line should also not modify any global
variables so that it basicall functions independently and does not violate the
law of least surprise. This imples that an environment would also be passed in:
R_Expr=R_Parse1Line("t.test(x,conf.level=(1-p))$conf.int[2]", rho, &sta
Luke Tierney <[EMAIL PROTECTED]> said:
> On Wed, 3 Sep 2008, EBo wrote:
>
> > Luke Tierney <[EMAIL PROTECTED]> said:
> >
> >> ...
> >>> do something like the following:
> >>>
> >>> R_Expr = R_Parse1Buffer(&R_Cons
I stumbled onto a near trivial solution... here is some example code:
EBo --
#include
#include
#include
#include
SEXP
LineEval (char *cmd)
{
SEXP ans;
int error;
ans = R_tryLineEval (cmd, R_GlobalEnv, &error);
if (error)
{
fprintf (stderr, "Error e
nience. Actually a few additional sentences in the
embedded documentation better explaining what R_ParseVector does would
havekept me from creating this thread and a couple of days of pain. As for
parseString, this is the first I have read of it, so will now check into it.
Thanks a
t least.
>
> http://biostat.mc.vanderbilt.edu/LittleR
Jeff,
Thank you for the pointer. Tis is exactly the kind of examples I had
originally asked for and had hoped to find.
EBo --
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel