Set a tag to the external poitner.

set_xptr_tag(s, tag)

Arguments

s

an externalptr object

tag

an R object