powered by
get_extent() calculates the display width for each string in a character vector.
get_extent()
get_max_extent() calculates the maximum display width of all strings in a character vector, zero for empty vectors.
get_max_extent()
get_extent(x)get_max_extent(x)
get_max_extent(x)
A character vector.
get_extent(c("abc", "de")) get_extent("\u904b\u6c23") get_max_extent(c("abc", "de"))
Run the code above in your browser using DataLab