# Create a syntax highlighting file for all currently loaded R packages
createSyntaxFile("Rtemp.svl")
# Show and delete it
file.show("Rtemp.svl", delete.file = TRUE)
# Create a calltips file for all currently loaded R packages
createCallTipFile("Rtemp.ctip", return.location = TRUE)
# Show and delete it
file.show("Rtemp.ctip", delete.file = TRUE)
# You can also customize the calltip file and select the package
# Here we include only functions from base package (the last item
# in the search path)
createCallTipFile("Rtemp2.ctip", pos = length(search()),
field.sep = ";", only.args = TRUE)
# Show and delete it
file.show("Rtemp2.ctip", delete.file = TRUE)
Run the code above in your browser using DataLab