Call this function as an add-in to insert %*% at the cursor position.

rs_insert_matrix_multiplication(context = rs_get_context())

Arguments

context

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

See also

Operator %*% for matrix multiplication.

Other 'Insert at cursor position' add-ins: insert_magrittr_operators, rs_enclose_with_percent(), rs_insert_infix_in(), rs_insert_integer_division(), rs_insert_modulo()