RStudio add-in to insert date and time at the cursor position.

rs_insert_datetime(context = rs_get_context())

rs_insert_date(context = rs_get_context())

rs_insert_time(context = rs_get_context())

Arguments

context

(class document_context)
Object with context of active RStudio document.