
Add Favorite Link
addFavoriteLink.RdCreates a link to an existing resource inside the user's favorites collection.
Usage
addFavoriteLink(targetIdent, name, parentId = NULL, comment = "", from = pwd())Arguments
- targetIdent
Identifier of the resource to add as a favorite. Can be a path, resource ID, entity ID, or a data frame row from
loadResource().- name
Display name for the favorite link.
- parentId
Optional resource ID of the parent favorites folder. If
NULL, the link is created at the top level.- comment
Optional comment for the operation.
- from
Base path for resolving relative paths. Defaults to
pwd().