[ESS-bugs] ESS[R] file-remote-p: Wrong type argument: stringp, nil
Rodney Sparapani
rsparapa at mcw.edu
Mon Sep 10 17:12:14 CEST 2012
On 09/10/2012 08:53 AM, Rodney Sparapani wrote:
> Ok, I fixed that. But, this all I see...
> using process 'R'
> Starting evaluation...
> Eval buffer
>
> Help!
Ok, here's a clue. If I highlight the region...
check2 <- cxxfunction(signature(arg1="numeric", arg2="numeric"), str,
plugin="Rcpp")
check2(0.5, 0.5)
There is no problem.
But, if I highlight...
str <- '
NumericVector a=as<NumericVector>(arg1), b=as<NumericVector>(arg2);
double x= as<double>(qnorm(a, b, 1.));
return wrap(x);
'
check2 <- cxxfunction(signature(arg1="numeric", arg2="numeric"), str,
plugin="Rcpp")
check2(0.5, 0.5)
It sticks. Any ideas?
--
Rodney Sparapani, PhD Center for Patient Care and Outcomes Research
Sr. Biostatistician http://www.mcw.edu/pcor
4 wheels good, 2 wheels better! Medical College of Wisconsin (MCW)
WWLD?: What Would Lombardi Do? Milwaukee, WI, USA
More information about the ESS-bugs
mailing list