Hi, I am wondering if some experienced users would help put the ready-to-run code of the examples in the manuals. It would help new users learn R faster by putting all the examples in an ready-to-run R script file. Can somebody help do so sometime and post the code along with the pdf manuals? http://cran.r-project.org/manuals.html Regards, Peng
Why not you? Are the examples not in the text? On Mon, Aug 10, 2009 at 4:57 PM, Peng Yu<pengyu.ut at gmail.com> wrote:> Hi, > > I am wondering if some experienced users would help put the > ready-to-run code of the examples in the manuals. It would help new > users ?learn R faster by putting all the examples in an ready-to-run R > script file. Can somebody help do so sometime and post the code along > with the pdf manuals? > > http://cran.r-project.org/manuals.html > > Regards, > Peng > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Stephen Sefick Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis
Is it really necessary? You can just copy the commands in the manual and paste them to R. Ronggui 2009/8/11 Peng Yu <pengyu.ut at gmail.com>:> Hi, > > I am wondering if some experienced users would help put the > ready-to-run code of the examples in the manuals. It would help new > users ?learn R faster by putting all the examples in an ready-to-run R > script file. Can somebody help do so sometime and post the code along > with the pdf manuals? > > http://cran.r-project.org/manuals.html > > Regards, > Peng > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.html
Some examples in the manual are not in the context. In order to use such examples, the users have to set up the variables in the examples. Adding accompany scripts to the manuals can make the manuals more reader friendly. Regards, Peng On Mon, Aug 10, 2009 at 10:20 PM, Ronggui Huang<ronggui.huang at gmail.com> wrote:> Is it really necessary? You can just copy the commands in the manual > and paste them to R. > > Ronggui > > 2009/8/11 Peng Yu <pengyu.ut at gmail.com>: >> Hi, >> >> I am wondering if some experienced users would help put the >> ready-to-run code of the examples in the manuals. It would help new >> users ?learn R faster by putting all the examples in an ready-to-run R >> script file. Can somebody help do so sometime and post the code along >> with the pdf manuals? >> >> http://cran.r-project.org/manuals.html >> >> Regards, >> Peng >> >> ______________________________________________ >> R-help at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > > > -- > HUANG Ronggui, Wincent > PhD Candidate > Dept of Public and Social Administration > City University of Hong Kong > Home page: http://asrr.r-forge.r-project.org/rghuang.html >
Have you tried running the examples? Eg: example(lm) On Monday, August 10, 2009, Peng Yu <pengyu.ut at gmail.com> wrote:> Some examples in the manual are not in the context. In order to use > such examples, the users have to set up the variables in the examples. > Adding accompany scripts to the manuals can make the manuals more > reader friendly. > > Regards, > Peng > > On Mon, Aug 10, 2009 at 10:20 PM, Ronggui Huang<ronggui.huang at gmail.com> wrote: >> Is it really necessary? You can just copy the commands in the manual >> and paste them to R. >> >> Ronggui >> >> 2009/8/11 Peng Yu <pengyu.ut at gmail.com>: >>> Hi, >>> >>> I am wondering if some experienced users would help put the >>> ready-to-run code of the examples in the manuals. It would help new >>> users ?learn R faster by putting all the examples in an ready-to-run R >>> script file. Can somebody help do so sometime and post the code along >>> with the pdf manuals? >>> >>> http://cran.r-project.org/manuals.html >>> >>> Regards, >>> Peng >>> >>> ______________________________________________ >>> R-help at r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >>> >> >> >> >> -- >> HUANG Ronggui, Wincent >> PhD Candidate >> Dept of Public and Social Administration >> City University of Hong Kong >> Home page: http://asrr.r-forge.r-project.org/rghuang.html >> > > ______________________________________________ > R-help at r-project.org?mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
Which manuals exactly? Runnable scripts for R-intro and R-exts are in the doc/manuals directory of the R sources, alongside those manuals. If you got a binary version of R, see https://svn.r-project.org/R/trunk/doc/manual/ They are part of the test suite: no one else has suggested that it is helpful to have them installed or publicized. Most of the examples in R-data need additional faciltiies (e.g. a DBMS). On Mon, 10 Aug 2009, Peng Yu wrote:> Some examples in the manual are not in the context. In order to use > such examples, the users have to set up the variables in the examples. > Adding accompany scripts to the manuals can make the manuals more > reader friendly. > > Regards, > Peng > > On Mon, Aug 10, 2009 at 10:20 PM, Ronggui Huang<ronggui.huang at gmail.com> wrote: >> Is it really necessary? You can just copy the commands in the manual >> and paste them to R. >> >> Ronggui >> >> 2009/8/11 Peng Yu <pengyu.ut at gmail.com>: >>> Hi, >>> >>> I am wondering if some experienced users would help put the >>> ready-to-run code of the examples in the manuals. It would help new >>> users ?learn R faster by putting all the examples in an ready-to-run R >>> script file. Can somebody help do so sometime and post the code along >>> with the pdf manuals? >>> >>> http://cran.r-project.org/manuals.html >>> >>> Regards, >>> Peng[Missing signature block: see the posting guide.] -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595