Be great to have a complete knitr bundle! can’t see this in the tm feed… Are you going to push back to TM? I’m guessing it’s because of your changing all the UUIDS after modifying commands from sweave…
I’ll have a look
tim
On 18 Feb 2014, at 13:26, Leonardo Collado Torres lcollado@jhsph.edu wrote:
Hello Textmate list,
I am trying to understand why the knitr.tmbundle is not showing all the commands in the bundle menu as shown below:
<Screen Shot 2014-02-18 at 12.17.36 PM.png>
It's missing a few commands there, such as "Knit in R". You can try it out yourself by installing it:
$ cd ~/Library/Application Support/Avian/Bundles $ git clone git@github.com:lcolladotor/knitr.tmbundle.git
Note that https://github.com/lcolladotor/knitr.tmbundle is forked from https://github.com/fonnesbeck/knitr.tmbundle as I tried to fix some other minor issues (uuid conflicts with SWeave bundle, ^< shortcut for "insert code chunk" macro). The original repo is https://github.com/textmate/sweave.tmbundle
The menu is incomplete regardless of whether the SWeave bundle is installed or not.
I tried playing around with the .plist file after reading http://superuser.com/questions/380371/how-do-i-create-a-new-snippet-in-textm... leading to https://gist.github.com/9077862 but that didn't work either.
Any tips on how to fix the menu will be greatly appreciated! Right now the only thing that comes to mind is using the Bundle creator GUI and re-making the commands, but that sounds like the last option to take.
I'm using TextMate 2.0-alpha.9503 on a Mac with OS X 10.8.5.
Thank you, Leonardo
Leonardo Collado Torres, PhD student Department of Biostatistics Johns Hopkins University Bloomberg School of Public Health Website: http://www.biostat.jhsph.edu/~lcollado/ Blog: http://lcolladotor.github.io/
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate