argsTip() displays function arguments in a better way than args()
does. It is primarily intended for code tips in GUIs.argsTip(name, only.args = FALSE, width = getOption("width"))
callTip(code, only.args = FALSE, location = FALSE, description = FALSE,
methods = FALSE, width = getOption("width"))arg1, arg2 = TRUE, ...), or the full call, like
(myfun(arg1, arg2 = TRUE, ...)).width = NULL.TRUE then the location (in which package the
function resides) is appended to the calltip between square brackets.TRUE then a short description of the function is
added to the callTip (in fact, the title of the corresponding help page, if
it exists).TRUE then a short message indicating if this is a
generic function and that lists, in this case, available methods.methods can considerably slow
down the execution, especially for generic functions that have many methods
like print(), or summary!args, argsAnywhereargsTip("ls")
callTip("myvar <- lm(")Run the code above in your browser using DataLab