String Dimentions
Finds the height and width of all the string in a character vector.
stringDims(string)
string |
vector of strings |
stringDims
finds the number of characters in width and number of
lines in height for each string in the string
argument.
height |
a vector of the number of lines in each string. |
width |
a vector with the number of character columns in the longest line. |
Charles Dupont
a <- c("this is a single line string", "This is a\nmulty line string") stringDims(a)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.