Function determines the size of the terminal in number of rows and columns. The value may not be accurate in RStudio or the R GUI.
term_dim()
numeric vector (# of rows, # of columns)