Publishing PDFs in a Workspace VM

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.

A console dialogue showing the command to install LaTeX

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.

A screenshot of RStudio running in the VM

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.

Updated on February 3, 2021

Was this article helpful?

Not the solution you were looking for?
Click the link below to submit a support ticket