I'm trying to load a library dataset into Rattle but I keep getting the following error:
"Error in ifelse(pmmlCanExport(variables[i]), "", Rtxt(". No code export")) :
could not find function "pmmlCanExport"
Sometimes it doesn't throw the error but only the first column loads, not the whole data set.
I have the pmml
package installed and loaded.
I've tried loading an R data frame and a CSV also, same problem...
Anyone encounter this?
Using Windows 7 Professional 64 bit, tried with R versions 3.01 and 3.02. Same error.
Traceback shows:
> traceback()
9: ifelse(pmmlCanExport(variables[i]), "", Rtxt(". No code export"))
8: createVariablesModel(colnames(crs$dataset))
7: executeDataTab()
6: dispatchExecuteButton()
5: doTryCatch(return(expr), name, parentenv, handler)
4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
3: tryCatchList(expr, classes, parentenv, handlers)
2: tryCatch(dispatchExecuteButton(), interrupt = function(m) setStatusBar(Rtxt("Processing interrupted by user.")),
finally = set.cursor())
1: (function (action, window)
{
if (!is.null(crv$executing) && crv$executing)
return()
crv$executing <- TRUE
on.exit(crv$executing <- FALSE)
setStatusBar()
theWidget("rattle_window")$setFocus()
set.cursor("watch")
tryCatch(dispatchExecuteButton(), interrupt = function(m) setStatusBar(Rtxt("Processing interrupted by user.")),
finally = set.cursor())
return()
})(<pointer: 0x000000000fa38c80>)
Had the same problem.
Downloaded the old version of PMML: http://cran.r-project.org/src/contrib/Archive/pmml/pmml_1.3.tar.gz
installed from source: R CMD INSTALL pmml_1.3.tar.gz
It appears to work for now. Not sure if the downgrade will affect something else.