How to publish on a Linux VM
To generate reports from a Virtual Machine (VM), first R and RStudio must be installed on your VM. See instructions in our article Installing RStudio on the Virtual Machine.
Next, install LaTeX on a Linux VM. To do this, open the terminal and enter the following command:
sudo apt install texlive-full.
Once LaTeX is installed, open RStudio and click the New File button. From the drop-down menu, choose R Markdown and accept the dialogue to install supporting packages.
Once R Markdown is installed, generating reports from the Linux VM will be enabled. You are now able to write new scripts or load existing scripts from the Workspace files directory to generate reports in RStudio.