# NOT RUN {
library(mlbench)
data(BostonHousing)
mod1 <- cubist(x = BostonHousing[, -14], y = BostonHousing$medv)
exportCubistFiles(mod1, neighbors = 8, path = tempdir(), prefix = "BostonHousing")
# }
Run the code above in your browser using DataLab