Suppressing output in slidify if neither "invisible()", "echo=F", "warning=F" or "error=F" work?

579 views Asked by At

I want to suppress the message "Setting default kernel parameters", but none of the options discussed here are doing the job that is "echo=F", "warning=F", "message=F" or the use of "invisible".

enter image description here

enter image description here

What else can I do? The info-string really disturbs the layout of my slides, when I am doing the above commands in a k-fold cross-validation loop.

1

There are 1 answers

1
J_F On

Here is my workaround:

ksvm(Class ~. data = dat.train.df, kernel = "vanilladot", kpar=list())

This suppresses the message.