I am running the following R code in TextMate
x <- 1:20
y <- 2*x+runif(length(x), min=-2, max=2)
on Mac OS X 10.6.8 with R2.13.1 in TextMate 1.5.10 (1631) and the R.tmbundle.
The plot is not being refreshed every time I run the file with Command R (leaving the html window open).
When I close the output html window before doing Command R the plot does refresh.
I would like to create a new file from template by command line call, e.g.
$ mate -w foobar.c
then a new C source file is created from my C template if there is no
such file exist in the current path.
Is there any suggestions? I appreciate any help.
Hi, I am wondering what is the 'correct' way to update GetBundles itself?
It appears on my GetBundles menu, but it says it is installed through svn
and to update it manually. What is the preferred way to do that?
Also, why are there so many seemingly identical bundles on GetBundles? If
they have the same name and same date, or same name and same author with no
date, can I just assume they are the same bundle?
One more thing: with GetBundles, is the date scheme Year-Month-Day? Is to
throw off both Europeans and Americans? I kid...but I want to make sure I'm
installing the newest versions of the bundles so I'd like to make sure.
Thanks guys (and ladies?)
Again I stumbled across something....
Apparently, when the path (folder oder filename) contains one of the "umlaute" (üÜ, öÖ or äÄ) watching the TeX-file fails.
Even though compiling using the usual + R works fine. Systemwide encoding is (supposed to be) UTF8.
Is that meant to be that way? - and - is there a simple way to fix or work around that? (Besides not using these letters in the path... ;)
thanx in advance and kind regards,
I got it sorted out a few days ago. I'm embarrassed to admit it, but it was an errant bit of code, which I finally weeded out. Thanks for the suggestion, though!
On Aug 31, 2011, at 6:00 AM, textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> To subscribe or unsubscribe via the World Wide Web, visit
> or, via email, send a message with subject or body 'help' to
> You can reach the person managing the list at
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
> Today's Topics:
> 1. Re: Syntax highlighting problem with .rnw file (SWeave
> bundle) (Peter Cowan)
> Message: 1
> Date: Tue, 30 Aug 2011 09:39:38 -0700
> From: Peter Cowan <cowan.pd(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Syntax highlighting problem with .rnw file (SWeave
> Content-Type: text/plain; charset=ISO-8859-1
> On Wed, Aug 24, 2011 at 7:23 AM, Gregory Penn <gregory.penn(a)gmail.com> wrote:
>> Thanks to Eric Cheng, I was able to update my SWeave bundle from github and it's commands seem to be working correctly. So on to the next problem . . .
>> TextMate's syntax highlighting in foo.rnw isn't recognizing R code between the "<<>>=" and "@" tags that delimit it, instead it is treated as LaTeX code. This is a problem because R makes frequent use of the "$" symbol, which toggles math-mode in LaTeX. As a result, where I have an odd number of "$"s in a chunk of R code, any LaTeX following that R code will appear highlighted green, as though it were in math mode.
>> I've read the documentation for scopes and languages, but didn't understand it well enough to figure out where this is going wrong and how to fix it.
> I assume that you have the R bundle installed? Are you sure that the
> language is set to SWeave when you open .Rnw file? Have you tried
> putting empty lines before and after both "<<>>=" and "@" tags? I
> seem to remember a small issue with that in the SWeave bundle, if that
> is the issue I might have a fix I can dig out.
>> Thanks in advance,
>> Gregory Penn
>> textmate mailing list
> textmate mailing list
> End of textmate Digest, Vol 39, Issue 25