appsection(section = NULL, subsection = NULL, main = FALSE, panel = "")TRUE to also write a section or subsection command to the console to be used in building the main report body (graphical section), in which case you should also specify panel if option texdir is not an empty smain=TRUE and option texdir is not ""