Simple question, I have stored PMML code of an R object using pmmlcode <- pmml(my.object)
, and I would like some way to save it directly to a text file. The usual write.table
method isn't working because the data is not a table.
Try toString.XMLNode
from XML
package and then write to file with writeLines
. You'll need to provide example data for a more complete answer.