search for: markheckmann

Displaying 20 results from an estimated 37 matches for "markheckmann".

2012 Mar 05
2
no partial matching of argument names after dots argument - why?
...one, two, ...){ one + two } > foo(o=1, t=2) [1] 3 foo <- function(one, ..., two){ one + two } > foo(o=1, t=2) Fehler in one + two : 'two' fehlt Can someone explain me the reason for this behavior? THX Mark ???????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2009 Dec 02
2
Reordering the results from table(cut()) by break argument
...( 1,0] (0,-1] (-1,-2] (-2,-3] 0 12 30 42 13 3 Thus I would like to reorder the vector using break, but I do not know how. TIA Mark ??????????????????????????????????????? Mark Heckmann Dipl. Wirt.-Ing. cand. Psych. Vorstra?e 93 B01 28359 Bremen Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2010 Feb 14
3
evaluate variable within expression - how?
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100214/4b41a017/attachment.pl>
2009 Jun 08
3
using regular expressions to retrieve a digit-digit-dot structure from a string
...I want know where the dots are but I do not want the 21.-dot to be returned as well. I am not good at regular expressions. How can I retrieve or recognize dots excluding the digit-digit-dot structure? TIA, Mark ------------------------------- Mark Heckmann + 49 (0) 421 - 1614618 www.markheckmann.de R-Blog: <http://ryouready.wordpress.com> http://ryouready.wordpress.com [[alternative HTML version deleted]]
2010 Jan 08
1
how to flatten a list to the same level?
...$A [1] 1 2 3 $B [1] "a" "b" $A [1] 1 2 3 $B [1] "a" "b" $A [1] 1 2 3 $B [1] "a" "b" Any ideas? TIA! Mark ??????????????????????????????????????? Mark Heckmann Dipl. Wirt.-Ing. cand. Psych. Vorstra?e 93 B01 28359 Bremen Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2010 Dec 08
2
S4 "["-method called twice - why?
...> x[1,1] [1] "void function" [1] "void function" > x[1,1,1] [1] "void function" [1] "void function" > Why is that so? Can someone help me understand the logic behind it? Thanks, Mark ??????????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2011 Sep 08
1
problem with math expressions in grid graphics when using line breaks (\n)
...le line, but the math expression is misplaced when I insert a line break ("\n" escape sequence): grid.text(expression(paste("Some words here\n more ", sigma))) Does someone have an idea how to fix that? TIA! Mark ??????????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2009 Dec 27
1
gWidgets / RGtk2 - how to change a handler from a toolbar?
...dler) tblList = list( test = aTest ) toolBar = gtoolbar(tblList, cont=w) At this point I would like to change the handler from the aTest object. Does someone know? TIA Mark ??????????????????????????????????????? Mark Heckmann Dipl. Wirt.-Ing. cand. Psych. Vorstra?e 93 B01 28359 Bremen Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2010 Mar 11
1
modifying the dots argument - how?
...s? foo <- function(...){ innerFoo <- function(...){ } AT THIS POINT I WANT TO MODIFY THE CONTENT OF ... BEFORE IT IS PASSED ON innerFoo(...) } Thanks, Mark ??????????????????????????????????????? Mark Heckmann Dipl. Wirt.-Ing. cand. Psych. Vorstra?e 93 B01 28359 Bremen Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2010 Nov 20
1
Roxygen examples in DONTRUN mode - how?
...not to be run when processing the .Rd files I would include the \dontrun tag \examples{\dontrun{ ... some example R code} } How can I achieve this using roxygen? Thanks Mark ??????????????????????????????????????? Mark Heckmann Dipl. Wirt.-Ing. cand. Psych. Celler Stra?e 27 28205 Bremen Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2011 Apr 25
4
blank space escape sequence in R?
Is there a blank space escape sequence in R, i.e. something like \sp etc. to produce a blank space? TIA Mark ??????????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2011 Dec 18
1
gWidgets: how to remove that is box drawn when moving the mouse with pressed button
...the corresponding line in the code to implement that. library(gWidgets) options("guiToolkit"="RGtk2") w <- gwindow() g <- ggraphics(cont=w) par(mar=rep(0,4)) size(g) <- c(600,600) plot(1:10) Thanks! Mark ???????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2011 Dec 22
1
RGtk2: How to overlay a gtkDrawingArea with a button or any other widget?
...tSizeRequest(400,400) fx <- gtkFixed() da <- gtkDrawingArea() fx$put(da, 100, 100) asCairoDevice(da) par(mar=c(0,0,0,0)) plot(1:10) btn.1 <- gtkButton("button") fx$put(btn.1, 200, 200) w$add(fx) Thanks Mark ???????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2012 Mar 05
2
changing the drawing context using Cairo and RGtk2
...VBox() da1 <- gtkDrawingArea() da2 <- gtkDrawingArea() vbox$add(da1) vbox$add(da2) dummy <- asCairoDevice(da1) dummy <- asCairoDevice(da2) w$add(vbox) par(oma=c(0,0,0,0), mar=c(0,0,0,0)) plot(1:10) THX --Mark ???????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2011 Oct 25
1
R fails when converting units using Hershey-Fonts
...Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace System: MacOS 10.6.4 R version 2.13.2 (2011-09-30) Platform: i386-apple-darwin9.8.0/i386 (32-bit) ––––––––––––––––––––––––––––––––––––––– Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com [[alternative HTML version deleted]]
2009 Dec 27
2
RGtk2 / gWidgets - addHandlerClicked Problem
...t;) svalue(tbl, index=T) <- 1 # change the table value }) addhandlerclicked(tbl, handler=function(h, ...){ cat("addhandlerclicked table\n") }) Thanks! Mark ??????????????????????????????????????? Mark Heckmann Dipl. Wirt.-Ing. cand. Psych. Vorstra?e 93 B01 28359 Bremen Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2012 Apr 07
2
assigment operator question
...en its value is redefined, otherwise assignment takes place in the global environment. " Still I do noch understand why the above does not work. The object l is in the global environment. Can someone explain it to me? Thanks --Mark ???????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2011 Dec 02
2
Sweave problem on Mac OS when using umlauts and summary()
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111202/d63d9021/attachment.pl>
2010 Jan 01
2
changing a list element's name during execution in lapply - possible?
...ming somehow within the lapply call? l <- list(a=NA, b=NA) lapply(l, function(x) {names(x) <- "new name"; return(x) }) This does not work, any ideas? TIA ??????????????????????????????????????? Mark Heckmann Dipl. Wirt.-Ing. cand. Psych. Vorstra?e 93 B01 28359 Bremen Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com
2012 Mar 08
3
"figure margins too large" in RGtk2 drawing area as cairo device - why?
...; da$setSizeRequest(700, 700) > plot(1:10) Fehler in plot.new() : Grafikr?nder zu gro? Any ideas? Thanks in advance. --Mark PS. My system: R version 2.14.1 (2011-12-22) Platform: i386-apple-darwin9.8.0/i386 (32-bit) MacOS 10.6 ???????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com