search for: justdoit

Displaying 3 results from an estimated 3 matches for "justdoit".

2003 Nov 03
0
problem with fix() called from Rcmdr
...er anyone has any more specific ideas. To be supply some more details, the "Edit data set" button executes the following code: onEdit <- function(){ command <- paste("fix(", .activeDataSet, ")", sep="") logger(command) justDoIt(command) activeDataSet(.activeDataSet) tkwm.deiconify(.commander) tkfocus(.commander) } where .activeDataSet is a (global) character variable containing the name of the "active" data frame, logger() just echoes the command to the R console logger &lt...
2007 Mar 13
2
Sweave question: prevent expansion of unevaluated reused code chunk
...First, we set the value of $x$: <<chunk1,eval=FALSE>>= x <- 1 @ Then we set the value of $y$: <<chunk2,eval=FALSE>>= y <- 2 @ Thus, the overall algorithm has this structure: <<combined,eval=FALSE>>= <<chunk1>> <<chunk2>> @ <<justDoIt,echo=FALSE>>= <<combined>> @ --------------- I'd like to be able to do something like this, where the "combined" chunk prints out in the final LaTeX document essentially verbatim. In particular, I want to see the "<<chunk1>>" unexpanded in...
2006 Sep 05
4
Two submitted packages
## This example runs in R 2.3.1 and does not run in R 2.4.1. I am ## raising it here for two questions: one on how to debug functions ## inside a namespace, the other on how to control clipping. tmp <- data.frame(x=1:5, y=1:5, a=factor(c(1,1,1,1,1), levels=1:4)) xyplot(y ~ x, data=tmp, ylim=c(1.5,4.5), panel=function(x,y, ...) { cpv <- current.viewport()