Dear Michael,
I know this situation from writing vignettes and I usually cheat a bit
I redefine the functions along these lines:
plotmap <- function (...) print (hyperSpec:::plotmap (...))
(plotmap is a lattice-function for hyperSpec objects)
plotmap can tehn be used without the print in the vignettes - this works
fine for almost all cases. Only, if you have a structure that one of the
redefined functions call another one of them, you get e.g. a pdf with 2
pages.
Have a look at the vignettes and particularly the file vignettes.defs
of package hyperSpec
(https://r-forge.r-project.org/scm/viewvc.php/Vignettes/?root=hyperspec).
BTW: I find it polite to mention that some definitions etc. are executed
silently and where people can find it.
Cheers,
Claudia
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.