On 17 September 2012 at 15:44, Rodney Sparapani wrote:
| On 09/17/2012 03:02 PM, Dirk Eddelbuettel wrote:
| > You are once again tripping over as<>() and wrap(). You_must_ use as
| > as the following working example:
|
| Right. Is there a rule of thumb to determine when we need as<>()?
| I hav
On 09/17/2012 03:02 PM, Dirk Eddelbuettel wrote:
You are once again tripping over as<>() and wrap(). You_must_ use as
as the following working example:
Right. Is there a rule of thumb to determine when we need as<>()?
I have other examples where it seems to work without it, but I
can't seem
On 09/17/2012 02:26 PM, Rodney Sparapani wrote:
Hi Gang:
For me, the following returns a 1 instead of a 2. Any ideas?
mcmc <- list(names=list("M", "burnin", "thin", "save"),
save=list("beta", "rho", "mu", "theta"),
M=2, burnin=0, thin=1)
check1 <- NULL
check1 <- cxxfunction(signature(arg1="li
Rodney,
With all due respect, try _minimally reproducible_ examples.
There is still so much clutter in the example you posted that it is hard to
see the forest for the trees...
You are once again tripping over as<>() and wrap(). You _must_ use as
as the following working example:
R> library
Hi Gang:
For me, the following returns a 1 instead of a 2. Any ideas?
mcmc <- list(names=list("M", "burnin", "thin", "save"),
save=list("beta", "rho", "mu", "theta"),
M=2, burnin=0, thin=1)
check1 <- NULL
check1 <- cxxfunction(signature(arg1="list", arg2="list", arg3
(Resend, now with CC to list. Sorry --Dirk)
Hi David,
On 17 September 2012 at 13:30, David Ibarra Gómez wrote:
| thank you for the quick answer. Rigth now I'm controlling code to
avoid error, anyway I may try something with interective mode (if I fail) and
see if it works. Or maybe I'
Hi Dirk,
thank you for the quick answer. Rigth now I'm controlling code to avoid
error, anyway I may try something with interective mode (if I fail) and see if
it works. Or maybe I'll start using RCpp directly.
Regards
David Ibarra Gomez
Jefe de Proyectos
Dirección de Ingeniería de
Hi David,
On 17 September 2012 at 10:20, David Ibarra Gómez wrote:
| I am using RInside with MPI. I'm processing several time
series
| in parallel (linear regresion and other things). I get an error from R:
|
| "Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) :
Hello,
I am using RInside with MPI. I'm processing several time series
in parallel (linear regresion and other things). I get an error from R:
"Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) :
contrasts can be applied only to factors with 2 or more levels
Exe