In golfing, one tries to complete a puzzle in as few characters as possible, generally using the base language only. One trick for golfing in R is to use partial completion so that e.g. rle(...)$length can be shortened to rle(...)$l. How does one turn on function name completion in R, preferably in as few characters as possible?
In golfing, one tries to complete a puzzle in as few characters as possible,
Share
This overloads the help operator to provide the shortest object matching the regular expression provided. For example: