Skip to content

Instantly share code, notes, and snippets.

@jknowles
Created January 27, 2012 17:19
Set R Sysenvironment for LaTeX and BibTex in RStudio
#Set Environment Variables
TEXINPUTS="C:\\" #Path to tex file in Windows
Sys.setenv(TEXINPUTS="C:\\~", BIBINPUTS=TEXINPUTS,BSTINPUTS=TEXINPUTS)
#Path to texfiles in Windows, set BIB files and BST files the same
#Run before clicking "Compile PDF"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment