<div dir="ltr">Hi,<div><br></div><div>I am a PhD student in final year and using Latex in TextMate for last 5-6 months to write my work, and I really like Textmate. I recently graduated to use Sweave to include R elements into my Latex document. </div><div><br></div><div>However, I am unable to setup Sweave to compile and I get error : pdf file not written to disk. I have tried advice on </div><div><a href="http://article.gmane.org/gmane.comp.lang.r.mac/3953/match=sweave+pdf+file+not+written+disk">http://article.gmane.org/gmane.comp.lang.r.mac/3953/match=sweave+pdf+file+not+written+disk</a><br></div><div>but no luck. </div><div><br></div><div>I am using Textmate 2.0-beta.9, with Texlive 2015 distribution and R 3.2.3</div><div><br></div><div>Please can anyone guide me to setup Sweave for Textmate. Yes, I have installed Sweave Bundle. </div><div><br></div><div>Thank you. </div><div>Sri</div></div>