Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

720 results for “from:Roger D. Peng”

toLatex
Roger D. Peng · Sep 19, 2005 · r-help

Try 'methods(toLatex)'. -roger Simone Vantini wrote: > hallo! > does everybody know which kind of objects the function toLatex can manage? > thanks > simone vantini > > -- Roger D. Peng http://www.biostat.jhsph.edu/~rpeng/

Getting the argument list within a function
Roger D. Peng · Sep 14, 2004 · r-help

Is there a way of getting the argument list of a function from within that function? For example, something like f <- function(x, y = 3) { fargs <- getFunctionArgList() print(fargs) ## Should be `alist(x, y = 3)' } Thanks, -roger

Example of package that uses a namespace with S4 classes
Roger D. Peng · Oct 14, 2003 · r-devel

What about `mle'? -roger Douglas Bates wrote: >Is there an example of a package that uses both a namespace and S4 >classes and methods? > >______________________________________________ >R-devel@stat.math.ethz.ch mailing list >https://www.stat.math.ethz.ch/mailman/listinfo...

patch for 'merge' docs
Roger D. Peng · Mar 8, 2009 · r-devel

I've never quite understood the documentation for the 'all' argument to 'merge'. I'm pretty sure using 'all = L' doesn't work but I'm open to correction here. In any event, I've attached a patch. -roger -- Roger...

bzfile() in R
Roger D. Peng · Jan 31, 2004 · r-devel

I'm putting together a data package and am finding that I get enormous savings in space by using bzip instead of the usual gzip in save(). Is it safe to assume that for R versions, say >= 1.7.1...

Getting the argument list within a function
Roger D. Peng · Sep 14, 2004 · r-help

Ergh, yes, that's exactly it. I didn't realize you could use it in that way. Thanks, -roger Jeff Gentry wrote: >>Is there a way of getting the argument list of a function from within >>that function? For example...

using 'nice' with R
Roger D. Peng · Feb 22, 2005 · r-help

On a Unix like system you can do `nice +19 R' or perhaps `nice +19 R CMD BATCH commands.R'. -roger Robert Burrows wrote: > > I would like to use the 'nice' command when running CPU-intensive R > functions on a...

Multiple plots?
Roger D. Peng · Oct 10, 2003 · r-help

Look at ?points. And you can set col = <color> for most plotting functions. -roger Matthew Fero wrote: > Here's a beginner question: How do I plot two different sets of > points simultaneously, e.g. (Xapples, Yapples) and (Xoranges, > Yoranges), preferably...

Replying to bug reports
Roger D. Peng · Jul 16, 2004 · r-devel

I have a naive question here, but only because I've managed to screw this up twice in the last week. What is the correct way to reply to a bug report? Should r-bugs be in the To: or...

normalizePath() warning
Roger D. Peng · Jun 12, 2006 · r-devel

I've been getting the following warning after running 'install.packages()' recently: Warning message: insufficient OS support on this platform in: normalizePath(path) Does anyone know what this means? And does anyone know how I can get rid of the...

Rd problems
Roger D. Peng · Oct 12, 2003 · r-help

Do the functions all have proper \alias entries? -roger kjetil at entelnet.bo wrote: > I am running > Rcmd check (Windows XP, rw1080 from cran) > on a new package. > > This reports "undocumented code objects" for 14 functions, > which all have their...

Plotting greek symbols in plot titles, labels, etc.
Roger D. Peng · Jul 14, 2005 · r-help

Take a look at '?plotmath'. -roger Roy Werkman wrote: > Hi, > > Can anyone please tell me how to use the escape sequences (e.g. \\*a for > alfa) for plotting Greek symbols in for example plot titles? I have read > the reference...

"put()" like "get()"
Roger D. Peng · May 4, 2004 · r-help

assign(). -roger wwsprague at ucdavis.edu wrote: > Is there a function that takes a string and creates and assigns a > variable with that name? Could someone point me in the right direction? > > Thnx > W > > ______________________________________________ > R-help at stat.math.ethz...

How do you read in a table with numeric and dates fields without it defaulting to reading in the dates as factors?
Roger D. Peng · Aug 20, 2004 · r-help

Does setting `as.is = TRUE' in read.table() do what you want? -roger Briggs, Meredith M wrote: > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide...

Fitting to strange function
Roger D. Peng · Nov 13, 2003 · r-help

You could use nls() or optimize(). -roger JB wrote: > I have some data int the variabley y (response variable) and x, and I > suspect the formula > > y = A*x^2 +sqrt(0.08*A)*x. > > How can I fit my...

minor oddity in pdf() help page
Roger D. Peng · Mar 2, 2006 · r-devel

The following paragraph from ?pdf struck me as a bit odd: 'pdf' writes uncompressed PDF. It is primarily intended for producing PDF graphics for inclusion in other documents, and PDF-includers such as 'pdftex' are usually able to handle compression...

double precision
Roger D. Peng · Oct 8, 2003 · r-help

Check out ?.Machine -roger christoff pale wrote: > Hi, > I am new to R, but have extensive experience in > matlab. > I have searched on the web and in Venabels & Ripley > book but I was unable to find the equivalent of the...

how to smooth a line in a graph
Roger D. Peng · May 29, 2003 · r-help

You may be interested in spline(). For example: x <- 1:5 y <- c(1,3,4, 2.5,2) plot(x, y) sp <- spline(x, y, n = 50) lines(sp) -roger Rado Bonk wrote: > Hi R-users, > > I have a...

"diff"^-1
Roger D. Peng · Apr 13, 2004 · r-help

What do you mean by "opposite"? Have you looked at patch? -roger michele lux wrote: > Hallo all > somebody knows if exist a command who makes the > opposite of what "diff" command do? > I'he to write code? > thanks Michele > > ______________________________________________ > R...

index of max value ?
Roger D. Peng · Nov 14, 2003 · r-help

?which.max -roger ryszard.czerminski at pharma.novartis.com wrote: > Is there a function in R, which would return index of maximum value > in a vector ? > > e.g. > > >>v <- round(10*rnorm(8)) >>v > > [1] 6 -3 -6 15 7...

Can't find what you're looking for? Try searching with Google .