saveModel saves the given model as a .cps file

saveModel(
  filename = model$getFileName(),
  overwrite = FALSE,
  model = getCurrentModel()
)

Arguments

filename

a path to save to

overwrite

is overwriting existing files allowed?

model

a model object