| WrdBookmark {DescTools} | R Documentation |
Accessing bookmarks by name is only possible by browsing the bookmark names. This function returns a handle to a bookmark by name.
WrdBookmark(bookmark, wrd = DescToolsOptions("lastWord"))
bookmark |
character, the bookmark name |
wrd |
the pointer to a word instance, typically an existing one, created by |
a handle to the bookmark
Andri Signorell <andri@signorell.net>
## Not run:
# we can't get this through the CRAN test - run it with copy/paste to console
wrd <- GetNewWrd()
WrdInsertBookmark("mybookmark")
ToWrd("A longer text\n\n\n")
# Now returning the bookmark
bm <- WrdBookmark("mybookmark")
# get the automatically created name of the bookmark
bm$name()
## End(Not run)