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/~lei
? 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")} m
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)
dat<-matr
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
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
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",
6 matches
Mail list logo