<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">That’s great Leo!<div><br></div><div>PS: I have a markdown bundle which include R fencing and other stuff like table reformatting and other enhancements from <a href="http://www.leancrew.com/all-this/tag/markdown/">Dr Drang</a></div><div><br></div><div>It is by now irrevocably out of synch with the default bundle. </div><div><br></div><div>It might be worth all of us (Matt N? others?) who are keen on markdown/knitr/R) to coalesce around one fork of the markdown.tmbundle and get a really kick ass version that can perhaps be used to reboot the default markdown.tmbundle</div><div><br></div><div>explore mine here: <a href="http://github.com/tbates/markdown.tmbundle">github.com/tbates/markdown.tmbundle</a></div><div><br></div><div>But happy to learn if others are doing cool(er) stuff.</div><div><br></div><div>best, tim</div><div><br></div><div><br><div><div>On 20 Feb 2014, at 11:00, Leonardo Collado Torres <<a href="mailto:lcollado@jhsph.edu">lcollado@jhsph.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Thank you again Tim Bates! I finally understood what you meant and managed to fix the menu. <a href="https://github.com/fonnesbeck/knitr.tmbundle/pull/2">https://github.com/fonnesbeck/knitr.tmbundle/pull/2</a><div>
<br></div><div style="">Cheers,</div><div style="">Leo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 19, 2014 at 10:44 PM, Leonardo Collado Torres <span dir="ltr"><<a href="mailto:lcollado@jhsph.edu" target="_blank">lcollado@jhsph.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello again,<div><br></div><div>Thank you for the replies! I'm sorry, but I had disabled emails from this list and forgotten about it. But hopefully, this reply will still connect to the thread <a href="http://lists.macromates.com/textmate/2014-February/037121.html" target="_blank">http://lists.macromates.com/textmate/2014-February/037121.html</a></div>
<div><br></div><div><br></div><div>Going back to the issue at hand, if I understood your reply correctly you are suggesting starting over. Which from looking at <a href="https://github.com/fonnesbeck/knitr.tmbundle/commits/master" target="_blank">https://github.com/fonnesbeck/knitr.tmbundle/commits/master</a> it would basically involve the commits by fonneseck from June 21, 2012 on forward.</div>
<div><br></div><div><br></div><div>As for uuid's on the plist that are not on the bundle, I tried finding all of those that were only on the plist and removing them as described earlier (use <a href="https://gist.github.com/lcolladotor/9077862" target="_blank">https://gist.github.com/lcolladotor/9077862</a>) but that didn't work out either.</div>
<div><br></div><div><br></div><div>Thank you,</div><div>Leonardo</div><div><br></div><div>PS I've proposed changes to the markdown-redcarpet.tmbundle to integrate R markdown files: <a href="https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7" target="_blank">https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7</a> Once the knitr.tmbundle (which is for Rnw files) is done, I plan on summarizing how to get a full R + textmate + knitr setup. </div>
<div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 18, 2014 at 2:26 PM, Leonardo Collado Torres <span dir="ltr"><<a href="mailto:lcollado@jhsph.edu" target="_blank">lcollado@jhsph.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Textmate list,<div><br></div><div>I am trying to understand why the knitr.tmbundle is not showing all the commands in the bundle menu as shown below:</div>
<div><br></div><div><span><Screen Shot 2014-02-18 at 12.17.36 PM.png></span><br>
</div><div><br></div><div>It's missing a few commands there, such as "Knit in R". You can try it out yourself by installing it:</div><div><br></div><div>$ cd ~/Library/Application Support/Avian/Bundles</div>
<div>$ git clone git@github.com:lcolladotor/knitr.tmbundle.git</div><div><br></div><div>Note that <a href="https://github.com/lcolladotor/knitr.tmbundle" target="_blank">https://github.com/lcolladotor/knitr.tmbundle</a> is forked from <a href="https://github.com/fonnesbeck/knitr.tmbundle" target="_blank">https://github.com/fonnesbeck/knitr.tmbundle</a> as I tried to fix some other minor issues (uuid conflicts with SWeave bundle, ^< shortcut for "insert code chunk" macro). The original repo is <a href="https://github.com/textmate/sweave.tmbundle" target="_blank">https://github.com/textmate/sweave.tmbundle</a></div>
<div><br></div><div>The menu is incomplete regardless of whether the SWeave bundle is installed or not.</div><div><br></div><div>I tried playing around with the .plist file after reading <a href="http://superuser.com/questions/380371/how-do-i-create-a-new-snippet-in-textmate-2" target="_blank">http://superuser.com/questions/380371/how-do-i-create-a-new-snippet-in-textmate-2</a> leading to <a href="https://gist.github.com/9077862" target="_blank">https://gist.github.com/9077862</a> but that didn't work either. </div>
<div><br></div><div>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.</div>
<div><br></div><div><br></div><div>I'm using TextMate 2.0-alpha.9503 on a Mac with OS X 10.8.5.</div><div><br></div><div>Thank you,</div><div>Leonardo</div><div><br></div><div>
<div dir="ltr"><div dir="ltr">Leonardo Collado Torres, PhD student<div>Department of Biostatistics<br>Johns Hopkins University<div>Bloomberg School of Public Health<div>Website: <a href="http://bit.ly/LColladoTorres" target="_blank">http://www.biostat.jhsph.edu/~lcollado/</a></div>
<div>Blog: <a href="http://bit.ly/FellBit" target="_blank">http://lcolladotor.github.io/</a></div>
</div>
<br><br></div></div></div>
<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div></body></html>