[R] random text added to names (bug with 2.10.0?)
    Johann Hibschman 
    jhibschman at gmail.com
       
    Tue Nov  3 14:50:55 CET 2009
    
    
  
I'm using 2.10.0 on Linux (64 bit), and I just noticed that random
numbers are occasionally added to the text of names in vectors. It's
happened to me in two separate, long-running R sessions, but I can't
find a way to reproduce it in a smaller setting.
The code I'm using is
> diag.gam.2 <- mdl.run.diag(fit.gam.2, ds.valid)
> diag.gam.2
        rmse mdae.1413751         mnae           cv           r2
 0.023171639  0.007206221  0.012374469  1.259498479  0.385234756
> mdl.run.diag
function (fit, ds) {
  run.diagnostics(mdl.run(fit, ds))
}
> run.diagnostics
function (ds) {
  c(rmse=root.mean.squared.error(ds),
    mdae=median.absolute.error(ds),
    mnae=mean.absolute.error(ds),
    cv=coefficient.of.variation(ds),
    r2=coefficient.of.determination(ds))
}
The problem is that extra ".1413751" that's mysteriously being added
to the mdae name.
Am I doing something obviously wrong, or is this a bug? I still have
the two sessions running, if there are any diagnostics would help.
Cheers,
Johann
    
    
More information about the R-help
mailing list