Re: [R] R newbie example code question

2006-01-14 Thread Adrian DUSA
On Friday 13 January 2006 17:45, Ted Harding wrote: > On 13-Jan-06 Michael Friendly wrote: > > Ted: > > > > Your .xthelp is extremely useful, help on Linux being otherwise > > quite awkward to use since a pager in the same window make it hard > > to cut/paste examples --- where 'more' or 'less' rea

Re: [R] R newbie example code question

2006-01-14 Thread Adrian DUSA
nessie.mcc.ac.uk> writes: > [...] > The solution I finally opted for, and still use, > is based (in a Linux environment) on including > the following code in your .Rprofile file: > > .xthelp <- function() { > tdir <- tempdir() > pgr <- paste(tdir, "/pgr", sep="") > con <- file(pgr, "

Re: [R] R newbie example code question

2006-01-13 Thread Ted Harding
On 13-Jan-06 Michael Friendly wrote: > Ted: > > Your .xthelp is extremely useful, help on Linux being otherwise > quite awkward to use since a pager in the same window make it hard > to cut/paste examples --- where 'more' or 'less' really means > 'instead of' :-) Glad you found it useful. I find

Re: [R] R newbie example code question

2006-01-13 Thread Michael Friendly
Ted: Your .xthelp is extremely useful, help on Linux being otherwise quite awkward to use since a pager in the same window make it hard to cut/paste examples --- where 'more' or 'less' really means 'instead of' :-) Suggestion: include -title cat("cat > $HLPFIL\nxterm -title 'R-help' -e les

Re: [R] R newbie example code question

2006-01-10 Thread Gabor Grothendieck
You can also get access to the code chunks in vignettes as shown here: http://tolstoy.newcastle.edu.au/~rking/R/help/05/12/17822.html On 1/9/06, Uwe Ligges <[EMAIL PROTECTED]> wrote: > Mark Leeds wrote: > > > Sometimes I print out a package > > and read about it and there > > are sometimes nic

Re: [R] R newbie example code question

2006-01-10 Thread Martin Maechler
e from the examples when *editing* the *.Rd (R help) files ...) Martin Maechler, ETH Zurich > -----Original Message- > From: Mark Leeds [mailto:[EMAIL PROTECTED] > Sent: Monday, January 09, 2006 1:20 PM > To: R-Stat Help > Subject: [R] R newbie example c

Re: [R] R newbie example code question

2006-01-10 Thread McGehee, Robert
ROTECTED] Sent: Monday, January 09, 2006 1:20 PM To: R-Stat Help Subject: [R] R newbie example code question Sometimes I print out a package and read about it and there are sometimes nice examples that I would like to run myself. Is there a way to bring them into R from the package or are they on

Re: [R] R newbie example code question

2006-01-10 Thread Ted Harding
On 09-Jan-06 Mark Leeds wrote: > Sometimes I print out a package > and read about it and there > are sometimes nice examples > that I would like to run myself. > > Is there a way to bring them > into R from the package or > are they only meant to be typed > in manually ? If manual is the > only w

Re: [R] R newbie example code question

2006-01-10 Thread Ted Harding
On 10-Jan-06 Ted Harding wrote: > > On 09-Jan-06 Mark Leeds wrote: >> Sometimes I print out a package >> and read about it and there >> are sometimes nice examples >> that I would like to run myself. >> >> Is there a way to bring them >> into R from the package or >> are they only meant to be ty

Re: [R] R newbie example code question

2006-01-10 Thread Ted Harding
On 09-Jan-06 Mark Leeds wrote: > Sometimes I print out a package > and read about it and there > are sometimes nice examples > that I would like to run myself. > > Is there a way to bring them > into R from the package or > are they only meant to be typed > in manually ? If manual is the > only

Re: [R] R newbie example code question

2006-01-09 Thread John Sorkin
Mark, I am not user where you find your reading material, but if it is online, perhaps you can copy and paste it into an R session. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC

Re: [R] R newbie example code question

2006-01-09 Thread Mark Leeds
: [R] R newbie example code question Mark Leeds wrote: > Sometimes I print out a package > and read about it and there > are sometimes nice examples > that I would like to run myself. > > Is there a way to bring them > into R from the package or > are they only meant t

Re: [R] R newbie example code question

2006-01-09 Thread Uwe Ligges
Mark Leeds wrote: > Sometimes I print out a package > and read about it and there > are sometimes nice examples > that I would like to run myself. > > Is there a way to bring them > into R from the package or > are they only meant to be typed > in manually ? If manual is the > only way, that's f

[R] R newbie example code question

2006-01-09 Thread Mark Leeds
Sometimes I print out a package and read about it and there are sometimes nice examples that I would like to run myself. Is there a way to bring them into R from the package or are they only meant to be typed in manually ? If manual is the only way, that's fine. I was just checking whether there