require(graphics)
prompt(plot.default)
prompt(interactive, force.function = TRUE)
unlink("plot.default.Rd")
unlink("interactive.Rd")
prompt(women) # data.frame
unlink("women.Rd")
prompt(sunspots) # non-data.frame data
unlink("sunspots.Rd")
## Not run: ------------------------------------
# ## Create a help file for each function in the .GlobalEnv:
# for(f in ls()) if(is.function(get(f))) prompt(name = f)
## ---------------------------------------------
Run the code above in your browser using DataLab