I have installed RStudio 1.4 on my Ubuntu 20.10 machine. I have also installed texlive:
sudo apt-get install texlive
I can now create PDF files with RStudio. However if I add a bash script to my RStudio RMarkdown file I get error:
running: bash -c 'date
'
output file: wd1b.knit.md
! LaTeX Error: File `framed.sty' not found.
! Emergency stop.
<read *>
You have to install single package with this framed.sty file by:
As root or sudo command:
By the way, if you have a lot of disk space and some time, you can install TexLive with all packages using:
# apt install texlive-full
.