Displaying 9 results from an estimated 9 matches for "end_src".
2009 Dec 04
2
[ggplot2] Wind rose orientation
...my Org-babel session:
#+begin_src R :session
library(ggplot2)
wind.data <- read.csv("pmrf_windrose_info_new.csv")
wind <- ggplot(wind.data, aes(x = degree, y = time, fill = wind))
wind.bar <- wind + geom_bar(stat = "identity")
wind.bar + coord_polar()
#+end_src
All the best,
Tom
Thomas S. Dye, Ph.D.
T. S. Dye & Colleagues, Archaeologists, Inc.
Phone: (808) 529-0866 Fax: (808) 529-0884
http://www.tsdye.com
[[alternative HTML version deleted]]
2010 Feb 14
4
Feature Request: Multiline Comments
...to extend the R lexer/parser to include multiline comments like
/*
acomment
*/
?
This way I can integrate emacs org-mode with my R code, so that I can
have a table of contents,
section folding, html-output of source etc.
e.g
/*
* Display Code
*/
#+BEGIN_SRC R
foo <- function(...){
stuff
}
#+end_src
and so on .
Thanks
Saptarshi
2012 Aug 30
1
segfault in gplots::heatmap.2
....
This is the example. Note, that without loading 'XLConnect' this works
nicely.
#+begin_src R
library("gplots")
library("XLConnect") # any of XLConnect, venneuler, xlsx case a segfault
offending <- dget("offending.txt")
heatmap.2(x=offending)
#+end_src
Interestingly, I get a segfault when loading any of c("XLConnect",
"venneuler", "xlsx"), which all depend on rJava. But loading rJava on
its own did not produce a segfault.
Regards,
Andreas
2006 Apr 23
3
custom form builder
In the API docs I found this:
"You can also build forms using a customized FormBuilder class. Subclass
FormBuilder and override or define some more helpers, then use your
custom builder "
I couldn''t find any further documentation on this. Where can I read more
about this formbuilder class? For starters, where would I define a
subclass of this class?
TIA,
Jeroen
--
2012 Aug 30
2
segfault in gplots::heatmap.2
....
This is the example. Note, that without loading 'XLConnect' this works
nicely.
#+begin_src R
library("gplots")
library("XLConnect") # any of XLConnect, venneuler, xlsx case a segfault
offending <- dget("offending.txt")
heatmap.2(x=offending)
#+end_src
Interestingly, I get a segfault when loading any of c("XLConnect",
"venneuler", "xlsx"), which all depend on rJava. But loading rJava on
its own did not produce a segfault.
Regards,
Andreas
2012 Aug 30
2
segfault in gplots::heatmap.2
....
This is the example. Note, that without loading 'XLConnect' this works
nicely.
#+begin_src R
library("gplots")
library("XLConnect") # any of XLConnect, venneuler, xlsx case a segfault
offending <- dget("offending.txt")
heatmap.2(x=offending)
#+end_src
Interestingly, I get a segfault when loading any of c("XLConnect",
"venneuler", "xlsx"), which all depend on rJava. But loading rJava on
its own did not produce a segfault.
Regards,
Andreas
2016 Aug 03
0
Crash after connection close when callback is in progress
.../domain>");
assert(dom != NULL);
assert(virDomainCreate(dom) != -1);
virDomainFree(dom);
assert(virConnectDomainEventDeregisterAny(conn, cbid) != -1);
if (virConnectClose(conn) > 0 ) {
printf("leak...\n");
}
usleep(100000);
return 0;
}
#+end_src
Running this program in an infinite loop triggers the bug in less than 1
second (most of the time, just after displaying "leak...").
I am using libvirt 2.0.0 (in Debian). I have also file the following
bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1363628
--
Write clearly - don'...
2013 Mar 20
1
behaviour of formula objects and environment inside functions
...)
v1 <- test1(1)
v2 <- test2(1)
x <- rnorm(1000000)
v3 <- formula(u~b)
save(v0,file="~/tmp/v0.rda")
save(v1,file="~/tmp/v1.rda")
save(v2,file="~/tmp/v2.rda")
save(v3,file="~/tmp/v3.rda")
system("ls -lah ~/tmp/v*.rda")
#+END_SRC
#+RESULTS[<2013-03-20 18:56:26> 0dca0a85fb6472b0250968c3d42527ca0310f86e]:
-rw-rw-r-- 1 tag tag 7,4M Mar 20 18:56 /home/tag/tmp/v0.rda
-rw-rw-r-- 1 tag tag 111 Mar 20 18:56 /home/tag/tmp/v1.rda
-rw-rw-r-- 1 tag tag 7,4M Mar 20 18:56 /home/tag/tmp/v2.rda
-rw-rw-r-- 1 tag tag 113 Mar 20 18:5...
2010 Oct 15
0
nomianl response model
...is a load of tutorial info at
http://orgmode.org/worg/org-tutorials/index.php
HTH,
Chuck
#+begin_example
#+tblname: simpleDF
| a | b | c |
|---+---+---|
| 1 | 2 | 3 |
| 5 | 4 | 2 |
|---+---+---|
#+end_example
#+begin_src R :var df=simpleDF :results output :colnames yes
summary( df )
#+end_src
#+results:
: a b c
: Min. :1 Min. :2.0 Min. :2.00
: 1st Qu.:2 1st Qu.:2.5 1st Qu.:2.25
: Median :3 Median :3.0 Median :2.50
: Mean :3 Mean :3.0 Mean :2.50
: 3rd Qu.:4 3rd Qu.:3.5 3rd Qu.:2.75
: Max. :5 Max. :4.0 Max. :3.0...