Hi I am looking for R templates to introduce the R to my students at Seton hall university. The templates are predefined scripts in R that will retain its primary intent when individually customized with their own variable data or text. In this case, my students at Seton Hall University. For example, PSPad editor provides new users predefined templates before writing their own scripts. Please let me know if it makes more sense. Yours AF Alon Friedman, PhD New York, NY 10014 Phone: 212-645-1538 -- Yours AF Alon Friedman, PhD New York, NY 10014 Phone: 212-645-1538
Please look at RExcel, available through the RExcelInstaller package from CRAN or included with a full R download from rcom.univie.ac.at (go to the download page and take the most recent RAndFriends). You can use the supplementary book R through Excel by Erich Neuwirth begin_of_the_skype_highlighting end_of_the_skype_highlighting and me, available at springer.com/978-1-4419-0051-7 Rich [[alternative HTML version deleted]]
Isn't there a danger that what you teach will then be driven by what templates you receive? I would have thought this was an easy thing to do yourself, once you have decided what you want to teach your students. Just write a scropt (e.g. using the inbuilt script edit in R for Windows if you can't do any better) doing the kind of thing you wish your students to learn and electronically hand it out to the students. Altering the data and other forms of input should then be pretty easy. Also, I would not adopt this style for very long. The objective must surely be to get the students to be able to draw up their own scripts and undertake the full creative exercise. Bill Venables. -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Alon Friedman Sent: Tuesday, 27 July 2010 9:16 AM To: r-help Subject: [R] Fwd: Questions about templates for R Hi I am looking for R templates to introduce the R to my students at Seton hall university. The templates are predefined scripts in R that will retain its primary intent when individually customized with their own variable data or text. In this case, my students at Seton Hall University. For example, PSPad editor provides new users predefined templates before writing their own scripts. Please let me know if it makes more sense. Yours AF Alon Friedman, PhD New York, NY 10014 Phone: 212-645-1538 -- Yours AF Alon Friedman, PhD New York, NY 10014 Phone: 212-645-1538 ______________________________________________ R-help at r-project.org mailing list stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
On Mon, 26 Jul 2010, Alon Friedman wrote:> Hi > I am looking for R templates to introduce the R to my students at > Seton hall university. The templates are predefined scripts in R that > will retain its primary intent when individually customized with their > own variable data or text.Well the help pages for many (most?) R functions contain runnable examples. example( image ) is one such. If you want you students to perform a linear regression (say), having them read a bit about it, then start R, run example( lm ) then read through the input and output and display the help pages for functions that are called is not a bad way to start. There are BTW numerous books listed at r-project.org/doc/bib/R-publications.html which have plenty of runnable code in them. And there are as well as online resources accessible under 'Documnetation' at r-project.org HTH, Chuck In this case, my students at Seton Hall> University. For example, PSPad editor provides new users predefined > templates before writing their own scripts. > > Please let me know if it makes more sense. > > Yours > AF > Alon Friedman, PhD > New York, NY 10014 > Phone: 212-645-1538 > > > > -- > Yours > AF > Alon Friedman, PhD > New York, NY 10014 > Phone: 212-645-1538 > > ______________________________________________ > R-help at r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >Charles C. Berry (858) 534-2098 Dept of Family/Preventive Medicine E mailto:cberry at tajo.ucsd.edu UC San Diego famprevmed.ucsd.edu/faculty/cberry La Jolla, San Diego 92093-0901
Look at the HSAUR package (and the book that it goes with). This may give you (your students) enough to start on several topics. If you use these examples then you should probably include the book as at least an optional text for the class. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Alon Friedman > Sent: Monday, July 26, 2010 5:16 PM > To: r-help > Subject: [R] Fwd: Questions about templates for R > > Hi > I am looking for R templates to introduce the R to my students at > Seton hall university. The templates are predefined scripts in R that > will retain its primary intent when individually customized with their > own variable data or text. In this case, my students at Seton Hall > University. For example, PSPad editor provides new users predefined > templates before writing their own scripts. > > Please let me know if it makes more sense. > > Yours > AF > Alon Friedman, PhD > New York, NY 10014 > Phone: 212-645-1538 > > > > -- > Yours > AF > Alon Friedman, PhD > New York, NY 10014 > Phone: 212-645-1538 > > ______________________________________________ > R-help at r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.