This function lets recycling a object
made by run_autonum()
by changing the bookmark value. This
is useful to avoid calling run_autonum()
several times
because of many tables.
Arguments
- x
an object of class
run_autonum()
- bkm
bookmark id to associate with autonumber run. Value can only be made of alpha numeric characters, ':', -' and '_'.
Examples
z <- run_autonum(
seq_id = "tab", pre_label = "Table ",
bkm = "anytable"
)
set_autonum_bookmark(z, bkm = "anothertable")
#> $seq_id
#> [1] "tab"
#>
#> $pre_label
#> [1] "Table "
#>
#> $post_label
#> [1] ": "
#>
#> $bookmark
#> [1] "anothertable"
#>
#> $bookmark_all
#> [1] FALSE
#>
#> $pr
#> NULL
#>
#> $start_at
#> NULL
#>
#> $tnd
#> [1] 0
#>
#> $tns
#> [1] "-"
#>
#> attr(,"class")
#> [1] "run_autonum" "run"