Using %s in a filename when opening a device causes R to crash, e.g.,
pdf(foo%s.pdf)
win.metafile(foo%s.wmf)
postscript(foo%s.ps)
Do you have a workaround for this? Since that is done at C level, we
can't easily trap this (especially on Windows), and the list of possible
errors
Hi the list.
Is there a bug in mmlcr package ?
The following code does not compile:
mmlcrTest - function(dataW){
dataL -
reshape(dataW,idvar=id,timevar=T,varying=list(T0,T1,T2),direction=long,v.names=score)
resultR - mmlcr(outer= ~ 1 | id,
components = list(list(formula =
On 15/01/2008, at 7:40 PM, [EMAIL PROTECTED] wrote:
Hi the list.
Is there a bug in mmlcr package ?
The following code does not compile:
mmlcrTest - function(dataW){
dataL -
reshape
(dataW
,idvar
=
id
,timevar
=T,varying=list(T0,T1,T2),direction=long,v.names=score)
resultR -
Hi,
I'm wondering if this code from the Writing R Extensions manual
is really safe:
SEXP mkans(double x)
{
SEXP ans;
PROTECT(ans = allocVector(REALSXP, 1));
REAL(ans)[0] = x;
UNPROTECT(1);
return ans;
}
double feval(double x, SEXP