set up texmf with shell_escape=t; add R to user path