Re: [Rd] [EXTERNAL] Adding RtangleRuncode and RtangleFinish to exports of utils

2020-07-08 Thread Weigand, Stephen D. via R-devel
Hi, For what it's worth, I would like to second this. I have a small Sweave driver (https://r-forge.r-project.org/R/?group_id=1857) that uses: RtangleRtf <- function(){ list(setup = RtangleSetup, runcode = utils:::RtangleRuncode, # <--- writedoc = RtangleWritedoc,

[Rd] What should dnorm(0, 0, -Inf) return?

2019-12-07 Thread Weigand, Stephen D. via R-devel
Hi, Apropos of a recent Inf question, I've previously wondered if dnorm "does the right thing" with dnorm(0, 0, -Inf) which gives zero. Should that be zero or NaN (or NA)? The help says "'sd < 0' is an error and returns 'NaN'" and since -Inf < 0 is TRUE, then... is this a bug? Thank you, S

Re: [Rd] foreign:::writeForeignSAS patch not released?

2019-12-04 Thread Weigand, Stephen D. via R-devel
Hi, Thank you to R-core since this issue is solved. Both CRAN and R-devel_2019-12-03_r77513.tar.gz have version 0.8-72 of the foreign package which includes the improvements to foreign:::writeForeignSAS. Thank you again, Stephen -Original Message- Sent: Tuesday, June 04, 2019 8:27 AM H

[Rd] foreign:::writeForeignSAS patch not released?

2019-06-04 Thread Weigand, Stephen D. via R-devel
Hello, In May 2018 there was some R-devel discussion about a bug in foreign:::writeForeignSAS. See here: https://stat.ethz.ch/pipermail/r-devel/2018-May/076220.html and it resulted in a patch. See: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17256 And I see the changes in Subversi

[Rd] dotchart.R and left margin

2013-07-01 Thread Stephen Weigand
t;- nmai[4L] + max(linch + goffset, ginch) + 0.1 par(mai = nmai) } Thank you, Stephen Weigand -- Rochester, Minn. USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Very slow plot rendering with X11 on CentOS 5.5

2010-09-29 Thread Weigand, Stephen D.
Many, many thanks for the effort Russ. I'm not clear on next steps but think I need to look at CentOS vs. others in terms of X. -Original Message- From: R P Herrold [mailto:herr...@owlriver.com] Sent: Wednesday, September 29, 2010 8:40 AM On Tue, 28 Sep 2010, R P Herrold wrote: >> I am

[Rd] Very slow plot rendering with X11 on CentOS 5.5

2010-09-28 Thread Weigand, Stephen D.
_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base Thank you,

[Rd] Small typo in abline.R

2010-03-29 Thread Stephen Weigand
I found a small typo in abline.R where the line: warning("only using the first two of ",p, "regression coefficients") should have a space before the word 'regression'. Thanks, Stephen __ R-devel@r-project.org mailing list https://stat.ethz.ch/mail

[Rd] 'sep' argument in reshape()

2009-03-31 Thread Stephen Weigand
I wonder if the 'sep' argument in reshape() is being ignored unintentionally: ## From example(reshape) df <- data.frame(id=rep(1:4,rep(2,4)), visit=I(rep(c("Before","After"),4)), x=rnorm(4), y=runif(4)) reshape(df, timevar="visit", idvar="id", direction="wide"

[Rd] X11.Rd has a dead link

2009-03-03 Thread Stephen Weigand
In X11.Rd the Resources section has the following dead link: http://web.mit.edu/answers/xwindows/xwindows_resources.html I never saw the target document but is this its new URL: http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907291 Thank you, Stephen -- Rochester, Minn. USA

[Rd] beta symbol cut off in y axis label using jpeg/png/tiff

2008-10-17 Thread Stephen Weigand
I am having trouble showing the Greek symbol "beta" correctly in the y-axis label of bitmap plots. Specifically, on my system the top of the "beta" symbol is cut off using the following example: file.jpg <- paste(tempfile(), ".jpg", sep = "") jpeg(file.jpg, h = 3, w = 3, units = "in", res = 300,

[Rd] Typo in x11.Rd

2008-09-30 Thread Stephen Weigand
Hi, There is a double "the" in x11.Rd: "...which is faster will depend on the the X11 connection" Thank you, Stephen -- Rochester, Minn. USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Typo in cut.Rd

2008-09-15 Thread Stephen Weigand
In the \seealso section of cut.Rd, can "\pkg{hmisc}" be changed to "\pkg{Hmisc}"? Thanks, Stephen -- Rochester, Minn. USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Typo in proc.time.Rd

2008-08-14 Thread Stephen Weigand
There's a small typo in proc.time.Rd: \sQuote{system lime} should be \sQuote{system time} Thanks, Stephen -- Rochester, Minn. USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] tiff(), jpeg(), and png() in R 2.7.0: problems if 'units = "in"' but default height and width

2008-06-18 Thread Weigand, Stephen D.
TRUE TRUE profmemcairo FALSEFALSE Thanks, Stephen -- :: Stephen Weigand Division of Biostatistics Mayo Clinic Rochester, Minn., USA Phone (507) 266-1650, fax 284-9542 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Typo in barplot.Rd

2007-07-31 Thread Stephen Weigand
?barplot seems to be missing the word "have" below (so that it reads "Specifying a single value will have no visible effect..."): \item{width}{optional vector of bar widths. Re-cycled to length the number of bars drawn. Specifying a single value will no visible effect unless \code{xlim} i

[Rd] ansari.test.default: bug in call to uniroot?

2007-03-29 Thread Stephen Weigand
A recent message on ansari.test() prompted me to play with the examples. This doesn't work for me in R version 2.4.1 R> ansari.test(rnorm(100), rnorm(100, 0, 2), conf.int = TRUE) Error in uniroot(ab, srange, tol = 1e-04, zq = qnorm(alpha/2, lower = FALSE)) : object "ab" not found It look

[Rd] typo in reshape.Rd

2007-02-28 Thread Stephen D. Weigand
="\\.",include=FALSE)} to [3]specifies to split at the dot and drop it from the name. To have alphabetic Thanks, Stephen Stephen Weigand Rochester, Minnesota, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Wishlist: abs method for difftime

2006-12-07 Thread Stephen D. Weigand
I am often taking the absolute value of a difftime object (after coercing it to numeric) in order to see how far apart in time two events are. For example, I might want to know if two events occurred within 100 days of each other using something like abs(difftime(Date1, Date2)) < 100 Below is a s

Re: [Rd] writeForeignSAS and potential extensions

2006-07-13 Thread Stephen D. Weigand
Sorry, looks like my work e-mailer put the attachments in the body. Please e-mail [EMAIL PROTECTED] if interested and I'll send you a copy of the files. I think it'll also work to grab the files from: ftp://mayoftp:''@ftp.mayo.edu/pub/weigand/writeForeignSAS7.R ftp://mayoftp

[Rd] writeForeignSAS and potential extensions

2006-07-13 Thread Stephen Weigand
ly) avoid ':::' adQuote <- function (x) paste("\"", x, "\"", sep = "") dfile <- file.path(tempdir(), "test.dat") cfile <- file.path(tempdir(), "test.sas") write.foreign(d, datafile = dfile, codefile = cfile, pack

Re: [Rd] Wishlist: 'append' argument for write.ftable()

2006-03-16 Thread Stephen D. Weigand
On Mar 16, 2006, at 9:48 PM, Stephen D. Weigand wrote: I would like to suggest that an 'append' argument be added to write.ftable(). This would allow, for example, the user to append ftable() output to a text report. I have attached an svn patch to ftable.R that makes the proposed

[Rd] Wishlist: 'append' argument for write.ftable()

2006-03-16 Thread Stephen D. Weigand
#x27;append' is simply passed to cat().] I have also attached a patch to read.ftable.Rd which documents the proposed argument (borrowing from cat.Rd). Thanks for considering this, Stephen -- Stephen Weigand Rochester, Minnesota, USA__ R-devel@r-proj

[Rd] Typos in writeLines.Rd, readLines.Rd, and data.matrix.Rd

2006-02-27 Thread Stephen D. Weigand
Hello, The diffs below are based on revision 37445 and show some typo corrections for writeLines.Rd, readLines.Rd, and data.matrix.Rd that I'd like to bring to the list's attention. Sincerely, Stephen Weigand Rochester, Minnesota, USA --- ./src/library/base/man/writeLines.Rd

[Rd] Tiny typo in ?sprintf

2006-01-27 Thread Stephen Weigand
if not the unnumbered ones process the arguments in order. See the examples. Thank you, Stephen :: Stephen Weigand Division of Biostatistics Mayo Clinic Rochester, Minn., USA Phone (507) 266-1650, fax 284-9542 __ R-devel@r-p

[Rd] Typo in isR.Rd (PR#8310)

2005-11-14 Thread Weigand . Stephen
ists("is.R") && is.function(is.R) && is.R()) \{}\cr \code{}\emph{\#\# R-specific code}\cr :::::: Stephen Weigand Division of Biostatistics Mayo Clinic Rochester, Minn., USA Phone (507) 266-1650, fax 284-9542

[Rd] typo in as.POSIXlt.Rd (PR#8309)

2005-11-14 Thread Weigand . Stephen
ng objects of the other class and of classes \code{"Date"}, \code{"date"} (from package \pkg{\link[date:as.date]{date}} or \pkg{\link[survival:as.date]{survival}}), \code{"chron"} and :::::: Stephen Weigand Division of Biostatistics Mayo

[Rd] possible typo in write.table.Rd (PR#8266)

2005-10-30 Thread Weigand . Stephen
details{ A field or line is \sQuote{blank} if it contains nothing (except - whitespace is no separator is specified) before a comment character or + whitespace if no separator is specified) before a comment character or the end of the field or line. :::::: Stephen Wei

[Rd] Typo(s) in proc.time.Rd and comment about ?proc.time (PR#8091)

2005-08-24 Thread Weigand . Stephen
unning R process [...] Thank you, Stephen :: Stephen Weigand Division of Biostatistics Mayo Clinic Rochester Phone (507) 266-1650, fax 284-9542 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Documentation bug in libPaths.Rd (PR#8050)

2005-08-04 Thread Weigand . Stephen
The Details section of the help for .Library / .libPaths has: "the library search path is set to the existing files in 'unique(new, .Library)' and this is returned." I think 'unique(new, .Library)' should be be changed to 'unique(c(new, .Library))'. Thank you, Stephen platform sparc-s

[Rd] typo in dev2bitmap.R (PR#7966)

2005-06-23 Thread weigand
Full_Name: Stephen Weigand Version: 2.0.1 OS: solaris2.9 Submission from: (NULL) (129.176.151.21) R> bitmap("") produces the following error message as of the June 23 download of R-devel: Error in bitmap("") : 'file' is must be a non-empty character string