track_mouse
track_mouse(time, as_job = FALSE)
time | Time format, "99h99m99s" |
---|---|
as_job | Should the function be started as RStudio Job? (logical) |
track_mouse is a function that is best run as a background job, since it blocks the R shell. See our README for a walkthrough of this.
If you run
if (FALSE) { track_mouse("0h10m00s", "mouse_position.txt") }