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:
[image: Inline image 1]
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/http://bit.ly/LColladoTorres Blog: http://lcolladotor.github.io/ http://bit.ly/FellBit
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
The no-show items are in delta format… i.e., they have only the deltas from an original item…
export them properly or go back to the original and create the changes in the item (i.e., install in
~/Library/Application\ Support/Avian/Bundles/
before editing
Possibly some plist UUIDS don’t exist in the bundle, or
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
Hello again,
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 http://lists.macromates.com/textmate/2014-February/037121.html
Going back to the issue at hand, if I understood your reply correctly you are suggesting starting over. Which from looking at https://github.com/fonnesbeck/knitr.tmbundle/commits/master it would basically involve the commits by fonneseck from June 21, 2012 on forward.
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 https://gist.github.com/lcolladotor/9077862) but that didn't work out either.
Thank you, Leonardo
PS I've proposed changes to the markdown-redcarpet.tmbundle to integrate R markdown files: https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 Once the knitr.tmbundle (which is for Rnw files) is done, I plan on summarizing how to get a full R + textmate + knitr setup.
On Tue, Feb 18, 2014 at 2:26 PM, 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:
[image: Inline image 1]
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/http://bit.ly/LColladoTorres Blog: http://lcolladotor.github.io/ http://bit.ly/FellBit
Thank you again Tim Bates! I finally understood what you meant and managed to fix the menu. https://github.com/fonnesbeck/knitr.tmbundle/pull/2
Cheers, Leo
On Wed, Feb 19, 2014 at 10:44 PM, Leonardo Collado Torres < lcollado@jhsph.edu> wrote:
Hello again,
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 http://lists.macromates.com/textmate/2014-February/037121.html
Going back to the issue at hand, if I understood your reply correctly you are suggesting starting over. Which from looking at https://github.com/fonnesbeck/knitr.tmbundle/commits/master it would basically involve the commits by fonneseck from June 21, 2012 on forward.
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 https://gist.github.com/lcolladotor/9077862) but that didn't work out either.
Thank you, Leonardo
PS I've proposed changes to the markdown-redcarpet.tmbundle to integrate R markdown files: https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 Once the knitr.tmbundle (which is for Rnw files) is done, I plan on summarizing how to get a full R + textmate + knitr setup.
On Tue, Feb 18, 2014 at 2:26 PM, 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:
[image: Inline image 1]
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/http://bit.ly/LColladoTorres Blog: http://lcolladotor.github.io/ http://bit.ly/FellBit
That’s great Leo!
PS: I have a markdown bundle which include R fencing and other stuff like table reformatting and other enhancements from Dr Drang
It is by now irrevocably out of synch with the default bundle.
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
explore mine here: github.com/tbates/markdown.tmbundle
But happy to learn if others are doing cool(er) stuff.
best, tim
On 20 Feb 2014, at 11:00, Leonardo Collado Torres lcollado@jhsph.edu wrote:
Thank you again Tim Bates! I finally understood what you meant and managed to fix the menu. https://github.com/fonnesbeck/knitr.tmbundle/pull/2
Cheers, Leo
On Wed, Feb 19, 2014 at 10:44 PM, Leonardo Collado Torres lcollado@jhsph.edu wrote: Hello again,
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 http://lists.macromates.com/textmate/2014-February/037121.html
Going back to the issue at hand, if I understood your reply correctly you are suggesting starting over. Which from looking at https://github.com/fonnesbeck/knitr.tmbundle/commits/master it would basically involve the commits by fonneseck from June 21, 2012 on forward.
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 https://gist.github.com/lcolladotor/9077862) but that didn't work out either.
Thank you, Leonardo
PS I've proposed changes to the markdown-redcarpet.tmbundle to integrate R markdown files: https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 Once the knitr.tmbundle (which is for Rnw files) is done, I plan on summarizing how to get a full R + textmate + knitr setup.
On Tue, Feb 18, 2014 at 2:26 PM, 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/
Hi again,
For some reason I didn't get your reply http://lists.macromates.com/textmate/2014-February/037134.html yet (I'm assuming I'll get it with the digest).
About supporting Rmd/rmd files, I just recently finished the set of proposed changes to the redcarpet-markdown bundle https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 I thought that would be the best bundle for these changes since it is specialized to the Github flavored markdown.
Taking a look at https://github.com/tbates/markdown.tmbundle I see that you have made many edits to the markdown bundle for getting table headings highlighted, mathjax support, etc.
If you use the proposed "knit to html with knitr" or "knit to html with knitrBootstrap" in https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 mathjax is supported (in the output) and you can include jQuery (like herehttps://github.com/jimhester/knitrBootstrap/issues/21 ).
I'm not the expert on redcarpet markdown, but maybe adding some of your features in https://github.com/tbates/markdown.tmbundle to https://github.com/streeter/markdown-redcarpet.tmbundle is a good idea. That's why I'm cling the maintainer of the markdown-redcarpet bundle.
Cheers, Leo
On Thu, Feb 20, 2014 at 12:00 PM, Leonardo Collado Torres < lcollado@jhsph.edu> wrote:
Thank you again Tim Bates! I finally understood what you meant and managed to fix the menu. https://github.com/fonnesbeck/knitr.tmbundle/pull/2
Cheers, Leo
On Wed, Feb 19, 2014 at 10:44 PM, Leonardo Collado Torres < lcollado@jhsph.edu> wrote:
Hello again,
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 http://lists.macromates.com/textmate/2014-February/037121.html
Going back to the issue at hand, if I understood your reply correctly you are suggesting starting over. Which from looking at https://github.com/fonnesbeck/knitr.tmbundle/commits/master it would basically involve the commits by fonneseck from June 21, 2012 on forward.
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 https://gist.github.com/lcolladotor/9077862) but that didn't work out either.
Thank you, Leonardo
PS I've proposed changes to the markdown-redcarpet.tmbundle to integrate R markdown files: https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 Once the knitr.tmbundle (which is for Rnw files) is done, I plan on summarizing how to get a full R + textmate + knitr setup.
On Tue, Feb 18, 2014 at 2:26 PM, 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:
[image: Inline image 1]
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/http://bit.ly/LColladoTorres Blog: http://lcolladotor.github.io/ http://bit.ly/FellBit