101 reputation
3
bio website
location
age
visits member for 2 years, 4 months
seen Sep 12 at 19:32

Write enthusiastic but inelegant code in R, Perl, VBA etc


Dec
31
awarded  Editor
Dec
31
awarded  Teacher
Dec
20
awarded  Supporter
Aug
12
comment emacs R mode ESS
In your .emacs file do you have the line (setq-default ess-dialect "R")?
Jul
11
comment Emacs syntax highlighting for making a term with boolean operators more readable?
I'm not sure what you're asking. Syntax highlighting is available but depends on the language. What language are you using? Elisp?
May
23
comment Create line graph with embedded horizontal histogram
The R code for the 'combining multiple plots into one' ggplot2 approach I just mentioned is given in the ggplot book and can be found right at the bottom of this page: had.co.nz/ggplot2/book/polishing.r
May
23
comment Create line graph with embedded horizontal histogram
Using R, I would create two plot objects in ggplot2, a line chart and a histogram, then arrange them both on the same plot using grid.arrange(), pushViewport and viewport() then export to a file. But that is not a trivial undertaking, unless you are already an R expert. Otherwise your best bet may be to make two charts in Excel and stitch them together in a graphics application like GIMP or using ImageMagick. If you need to do this kind of thing on a regular basis, it might well be worth getting familiar with ggplot (or one of the other R graphics packages).