Re: [R] R Graphical Manuals Web API

2007-10-10 Thread Friedrich Schuster
Great idea, thanks! 小笠原理 wrote: > > Dear all, > > As a response to the comment of Mr. Romain Francois, > I wrote a small set of REST web APIs for R Graphical Manuals. > It has become possible to get image URLs for a given package/function > name via the web API. > > http://cged.genes.nig.ac

Re: [R] as.ordered

2007-10-08 Thread Friedrich Schuster
the dataframe). To convert two factors a and b and merge them into a new dataframe: newFrame <- as.data.frame(cbind(as.ordered(a),as.ordered(b))) l For a larger number of factors this can be done with a loop or better one of the "apply"-functions. Hope this helps, Friedrich Schu

Re: [R] as.ordered

2007-10-08 Thread Friedrich Schuster
the dataframe). To convert two factors a and b and merge them into a new dataframe: newFrame <- as.data.frame(cbind(as.ordered(a),as.ordered(b))) l For a larger number of factors this can be done with a loop or better one of the "apply"-functions. Hope this helps, Friedrich Schu

Re: [R] how to use \Sexpr{} with sweave

2007-10-07 Thread Friedrich Schuster
Hi, this works for me (R 2.5.1, Linux): <>= data(airquality) library(ctest) kruskal.test(Ozone ~ Month, data = airquality) @ Wir haben hier also \Sexpr{nrow(airquality)} Datenzeilen in airquality. This works \Sexpr{2+6} I think the error is in your latex setup, not in R or Sweave. ryancw