add examples/R/miscellaneous.R