Learn R Programming

cursr (version 0.1.0)

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

Value

NULL

Details

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

See Also

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

Examples

Run this code
# NOT RUN {
# Position cursor at the beginning of the row
mv_col(1)

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

# }

Run the code above in your browser using DataLab