[R] Problem with Tinn-R communicating with REvolution R

2010-04-27 Thread Mike White
I have been using Tinn-R with R without any problems but when I try to use it with REvolution R I get the following error message when Tinn-R runs the configuration script and gets to the trDDEInstall() function: ## Start DDE trDDEInstall() trDDEInstall() Error in structure(.External(dotTcl,

[R] Tinn-R RGui Send problem

2010-05-06 Thread Mike White
A possible work around would be to append the selection.r file to the .RHistory file and then reload the history, e.g. file.append(.Rhistory, .trPaths[5]) loadhistory(file= .Rhistory) You can then access the code on the console, skipping the last 2 lines. [[alternative HTML

Re: [R] Tinn-R RGui Send problem

2010-05-07 Thread Mike White
A possible work around would be to append the selection.r file to the .Rhistory file and then reload the history, e.g. file.append(.Rhistory, .trPaths[5]) loadhistory(file= .Rhistory) You can then access the code on the console, skipping the last 2 lines. [[alternative HTML

Re: [R] Fwd: R apply() help -urgent

2010-05-11 Thread Mike White
Set up a function for the fisher.test on a 2x2 table and then include this in the apply function for columns as in the example below. The result is a list with names A to Z # set up a dummy data set with 100 rows Cat-LETTERS[sample(1:6,100, replace=T)] GL-sample(1:6, 100, replace=T)

[R] Problem with Sweave not recognising \Sexpr{}

2010-05-25 Thread Mike White
? I am using R 2.10.1 on Windows XP. Consider the \texttt{cats} regression example from Venables \ Ripley (1997). The data frame contains measurements of heart and body weight of \Sexpr{nrow(cats)} cats (\Sexpr{sum(cats$Sex==F)} female, \Sexpr{sum(cats$Sex==M)} male). Thanks Mike White

Re: [R] Problem with Sweave not recognising \Sexpr{}

2010-05-25 Thread Mike White
that it is necessary to set the syntax option in the Sweave function as follows Sweave(..., syntax=SweaveSyntaxNoweb) although I am not sure why this is required. Mike On 19:59, Mike White wrote: I am trying to run the Sweave example at http://www.stat.uni-muenchen.de/~leisch/Sweave/Sweave