I've hacked StatWeave (which allows Stata, R, and a bunch of other stat languges) to work in my LyX (in Windows 7 with LyX 2.0.4) and thought that others might like this as well. For this to work, users have to install bundles for the three software packages from the following:Ĭontributed by Brian Quistorff, Economics PhD students, Univ. I "borrowed" most of the language model from the SWeave bundled and modified as necessary. The most important part, though, is the language module that does the appropriate text highlighting for the LaTeX, Stata, R and SAS where appropriate. I put together a small bundle for TextMate (with a couple of tab-completion commands to include stata and r code block with and without figure identifiers and a command that binds a hot-key to weave, typeset and view. This was contributed by Dave Armstrong, Assistant Professor of Political Science at University of Wisconsin-Milwaukee. It works really nice since you have access to ESS in the code chunks. either stata or R or Latex in the same buffer. It actually highlights according to the language i.e. Of course Preview.app did, and still does, have lots of problems with fonts in pdflatex generated PDFs. I use emacs with MMM-mode and use R and stata at the same time for my classes. Write LaTex, hit compile, end up with an interactive PDF (click on some stuff and it'll take you back to the source in TextMate). This was contributed by Jean Eid of Wilfrid Laurier University, Ontario. Emacs setup for StatWeave: statweave-setup TextMate can handle it all by associating detailed scope selectors with key shortcuts, settings, etc.Please contact the contributors themselves if you have questions. I make no guarantees, and do not offer support for this. This page contains code contributed by users. Windows has TextPad and UltraEdit, which are both very capable editors. The long lack of decent implementations of these features is something that has hit switchers including myself hard. Once you grow accustomed to these things, its very hard to back. StatWeave contributed code StatWeave contributed code TextMate uses its own editing class, so all of those things are possible.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |