Go to tools on your R studio, select the global option, and click on Sweave. Under LaTex Editing and Compilation, select Use tinytex when compiling.tex file. Under PDF Preview, pick from the box RStudio Viewer. And enable Always enable Rnw concordance. Apply and Okay.
Recompile the program again! Make sure your internet is on and the computer is connected.
Go to tools on your R studio, select the global option, and click on Sweave. Under LaTex Editing and Compilation, select Use tinytex when compiling.tex file. Under PDF Preview, pick from the box RStudio Viewer. And enable Always enable Rnw concordance. Apply and Okay.
Recompile the program again! Make sure your internet is on and the computer is connected.