Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mv_col

Move Cursor to Column


Description

Move the cursor to the specified column, while maintaining the same row.

Usage

mv_col(n = 1L)

Arguments

n

positive integer specifying the column

Details

The user must be in a terminal to use the functionality; it will not work in RStudio or the R GUI.

Value

NULL

See Also

Other moving functions: mv_row(), mv_to(), mv()

Examples

# Position cursor at the beginning of the row
mv_col(1)

# Move cursor to the 10th column in the row
mv_col(10)

cursr

Cursor and Terminal Manipulation

v0.1.0
MIT + file LICENSE
Authors
Chris Mann
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.