andrewheiss / SublimeKnitr

Plugin that adds knitr Markdown and LaTeX support in Sublime Text 2 and 3
71 stars 11 forks source link

Initial setup problems #12

Closed yousefi138 closed 10 years ago

yousefi138 commented 10 years ago

Sorry in advance if this question is extremely basic or not posted in the correct location!

Besides 'enabling' knitr in the LaTeXing are there other steps required to activate the SublimeKnitr plugin? The documentation mentions adjusting the `knitr_command', but I'm unsure how exactly to do this.

My system details:

While .Rnw syntax highlighting works for me, all knitr chunks still give me errors (see below) and I get no response when trying to send individual chunks to R directly:

[Compile C:\test_file.Rnw]

E: c:/test_file.Rnw:10 Missing $ inserted <<example_
E: c:/test_file.Rnw:16 Missing $ inserted

2 errors, 0 warnings, 0 badboxes

[Finished in 1.43s]

My guess is that I'm having a path issue, but I'm not sure where. Thank you in advance for any help.

andrewheiss commented 10 years ago

LaTeXing should (in theory) work with knitr out of the box. I'm actually not quite sure how the developer has their package connected with knitr, so you should contact them to check.

yousefi138 commented 10 years ago

Ok, will do. Thank you for the response.