Move Cursor to Specified Location
Move cursor relative to its current position on the screen. Screen coordinates are given by (row, column)
with the position of the screen being (1, 1)
.
mv_to(row = 1L, col = 1L)
row |
positive integer specifying the console row. If |
col |
positive integer specifying the console column. |
The user must be in a terminal to use the functionality; it will not work in RStudio or the R GUI.
NULL
mv
to move relative to the current location on the screen.
# move the cursor to the 2nd row, 4th column mv_to(2, 4) # alternatively, you can specify the coordinates as a vector. loc <- c(2, 4) mv_to(loc)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.