Use quicker regular expression.
Send selection if the line has the \Sexpr string.
Show latexmk as example of vimrplugin_latexcmd.