similar to: [MacOSX] Screencast for R and Sweave on TextMate

Displaying 20 results from an estimated 3000 matches similar to: "[MacOSX] Screencast for R and Sweave on TextMate"

2006 Mar 09
11
syncPEOPLE on Rails TextMate Bundle 1.0 & Screencast
The 1.0 version of our bundle is now available for download, along with a 10 minute demonstration of it in use. See http:// syncpeople.com/downloads. == What is syncPEOPLE on Rails? == syncPEOPLE on Rails is a bundle of snippets, macros and commands for TextMate that make Rails development on the Mac even easier. Generate scaffolds, migrations, models and controllers from inside the
2007 Feb 22
1
Cross-tabulations next to each other
I have the following relatively simple problem. Say we have three factors, and we want to create a cross-tabulation against each of the other two: x <- factor(rbinom(5, 1, 1/2)) y <- factor(rbinom(5, 1, 1/2)) z <- factor(rbinom(5, 1, 1/2)) table(x,y) table(x,z) This looks like: y x 0 1 0 2 0 1 1 2 z x 0 1 0 1 1 1 2 1 I would like to get (surely this will
2007 Nov 07
3
Indexing, and using an empty string as a name
Hello all, I ran into the following, to me unexpected, behavior. I have (for reasons that don't necessarily pertain to the question at hand, hence I won't go into them) the need/desire to use an empty string for the name of a vector entry. Perhaps I did not read ?"[" very carefully, but it seems to me that he following lines should return "1" at the end:
2007 Jan 14
4
Controlling size of boxplot when it is added in a plot
Greetings, I am trying to add a boxplot to the bottom of a histogram, right between the histogram bars and the x axis. Here is the code I am using at the moment (the par line is probably not relevant for our discussion): hs <- hist(x, breaks = 20, plot = F) par(mar = c(3,3,2,1)) hist(x, breaks = 20, main = NULL, ylim = c(-2, max(hs$counts))) boxplot(x, horizontal = T, axes = T, add =
2007 Mar 01
2
R code for "Statistical Models in S" ?
I just acquired a copy of "Statistical Models in S", I guess most commonly known as the "white book", and realized to my dismay that most of the code is not directly executable in R, and I was wondering if there was a source discussing the things that are different and what the new ways of calling things are. For instance, the first obstacle was the solder.balance data
2008 Mar 09
1
Calling plot with a formula, from within a function, using ..., and xlim
I ran into a weird, to me at least, problem, and hoping someone can shed some light into it. In a nutshell, there seems to be some problem when one calls plot with a formula, from within another function, using ... to pass arguments, and one of those arguments being xlim (and only xlim shows this problem). Here is an example: > plotw <- function(obj,...) { + plot(k~j,
2006 Nov 08
6
Making a case for using R in Academia
Hello, new to the list, first message. This question perhaps might be more appropriate to R-sig-teaching, and I'd be happy to take it there if this is not the right place for it. I am teaching applied statistics at a small liberal arts college with limited resources, and we are currently using SPSS for our courses. Mainly the reason for this, as I understand it, is that this is what
2006 Apr 16
2
Possible to implement Textmate key shortcuts in RadRails?
The Rails demo videos is a great showoff on how productive Textmate editor is. The 15 minute build-a-blog example should be twice as long if there had been no keyboard shortcuts in Textmate. Unfortunately, I use windows and thus RadRails. Does anyone know how to implement the same keyboard shortcut into RadRails? Sebastian Friedrich made an overview of the keyboard shortcuts:
2007 Dec 22
2
Understanding eval
After many hours of debugging code, I came to the conclusion that I have a fundamental misunderstanding regarding eval, and hope that someone here can explain to me, why the following code acts as it does: foo <- function(expr) { eval(substitute(expr), envir=list(a=5), enclos=parent.frame()) } bar <- function(er) { foo(er) } > foo(a) [1] 5 > bar(a) Error in eval(expr,
2007 Nov 01
1
Rcmdr Plugin and menus.txt
Hi all, I'm trying to write a plugin for R Commander, following the model of the TeachingDemos plugin. I am struggling trying to even add items by editing the menus.txt file. I would welcome any help from anyone who has messed with it. Essentially the problem I am having is: I cannot create a submenu to a newly created menu. Here is what the menus.txt file looks like: # type
2006 Aug 06
2
TextMate + Rails
Hi, Could anyone point to some TextMate resources ? I found a few bundles, but they were all corrupted... JEtienne -- Posted via http://www.ruby-forum.com/.
2006 Oct 03
0
[ADV] New version of the TextMate book is available
Folks: I''ve uploaded the B1.02 version of Jame Edward Gray II''s TextMate book. The first beta release covered all you need to know to build and make use of TextMate''s automations. This second beta goes back to the basics of TextMate usage. Three new chapters are added covering Projects, Power Editing, and Regular Expressions. There''s a ton of information
2006 Jul 04
0
[OT] TextMate snippet is not working
Sorry for the OT. Since I know that in this mailing list there are people that use TextMate heavily, I''ll try asking here first. I downloaded TextMate 1.5.2. Installed it on Mac OS X 10.4.6 running on a MacBook Pro. I recalled that I could do a Command+Option+Shift +Down in an action and TextMate will show a context menu that let me jump to the view, functional test, etc. A day
2006 Feb 19
0
TextMate Backtracer v.1.1
== Announcement == http://blog.inquirylabs.com/2006/02/18/textmate-backtracer-11/ == Changes == The textmate backtracer plugin, with the insight of Jonathan Weiss, now detects whether or not the server is a Mac system. With this additional check, it''s less likely that non-Mac users will be troubled by the plugin. == What is it? == Whenever a Rails exception occurs, it spits out a
2006 Sep 12
22
[ADV] James Edward Gray's TEXTMATE book now in beta
Folks: Sorry for the commercial, but I''m excited about this one. I''ve been using TextMate for most of my work for a year now---if you''re on a Mac, it really is the best tool for writing Rails code. So when James Edward Gray II offered to write a book on TextMate, I jumped at it. James helps maintain the Ruby support in TextMate, and this knowledge comes
2007 Nov 26
0
rSpec (rev 2996), Rails (rev 8214): TextMate bundle problems
Hey guys, I''m trying to get rSpec (rev 2996) working with Rails 2 (rev 8214). Running the tests from the command line works, no problem. I installed the RSpec.tmbundle (also rev 2996), and would like to see the HTML test results in TextMate. When I run the "Run examples in selected files/directories" command in TextMate, I get the following dump:
2009 Mar 07
2
[rspec/tm] When running the textmate bundle hook using command-r I get an error about missing rubygems
I get the following error using both edge version of the TM bundle and rspec/rspec-rails in vendor/plugins. /Users/nshb/Library/Application Support/TextMate/Bundles/ RSpec.tmbundle/Support/lib/spec/mate.rb:2:in `require'': No such file to load -- rubygems (LoadError) from /Users/nshb/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2 from
2007 Oct 15
1
TextMate File Type Detection for RSpec & Rails
For those of you struggling with TextMate not properly detecting rspec files, Allan Odgaard (the author of TextMate) has kindly provided a tutorial on how to set up TextMate to associate all .rb files with rails and all _spec.rb files with rspec. http://macromates.com/blog/2007/file-type-detection-rspec-rails His instructions work great and switching between rspec and rails files has
2006 Feb 25
1
TextMate: syncPEOPLE on Rails Bundle Becomes Built-in Rails Bundle
It?s official, folks! After talking with my partner, Greg Narain, as well as Allan Odgaard, the creator of TextMate, we (syncPEOPLE) have decided to release our Rails bundle under the MIT license so that it can nest itself nicely within its new home, the TextMate Subversion Bundle Repository. What this means for the rest of us is that all of these great features we?ve been madly
2007 Oct 19
1
Manual recycling of vectors?
Sorry if this is already answered somewhere, but I could not find it. I have two vectors, x,y, of different length, and I want to recycle the smaller one (whichever one it is) until they have the same length. I was wondering if there is a anything better than something like: x<-1:3 y<-1:10 x<-rep(x,length=max(x,y)) y<-rep(y,length=max(x,y)) or some variant of that using if to