Re: [Rd] Patch proposal for R style consistency (concerning deparse.c)

2013-05-01 Thread Paul Johnson
Whoa. Don't let my valuable suggestion get lost. I want "} else {". Yihue wants "} else {". And I have not heard anybody say they prefer the other way, unless you interpret Duncan's comment "that's nonsense" as a blanket defense of the status quo. But I don't think he meant that. This is a ma

Re: [Rd] Patch proposal for R style consistency (concerning deparse.c)

2013-05-05 Thread Paul Johnson
On Thu, May 2, 2013 at 7:26 AM, Terry Therneau wrote: > I'll be the "anybody" to argue that > } else { > is an ugly kludge which you will never find in my source code. Yes, it's > necessary at the command line because the parser needs help in guessing > when an expression is finished, but

Re: [Rd] problem in add1's F statistic when data contains NAs?

2013-05-17 Thread Paul Johnson
Bill I think you are correct, there's something funny in add1, but is it just degrees of freedom? Example below.. On Tue, May 14, 2013 at 2:23 PM, William Dunlap wrote: > Shouldn't the F statistic (and p value) for the x2 term in the following > calls > to anova() and add1() be the same? I thi

[Rd] will one of you help me advocate a change in t.test (patch attached)

2009-05-14 Thread Paul Johnson
I wish the t.test function in stats would return the standard error. It would be nicer for students if R simply reported the standard error used to calculate the t value. I trolled for this in r-help and got no answers, which I interpreted to mean that this is boring but possibly not wrong. Hopef

Re: [Rd] will one of you help me advocate a change in t.test (patch attached)

2009-05-15 Thread Paul Johnson
On Fri, May 15, 2009 at 10:05 AM, Kevin W wrote: > My view from the sidelines > > I think you have done the right thing to include a patch, but you have > provided no justification for the patch in terms of why it would be useful. > > Sincerely, > > Kevin > Ah, I see. I thought it was obvious

Re: [Rd] plot ignores type= "n" when x is factor (PR#13703)

2009-05-26 Thread Paul Johnson
On Tue, May 26, 2009 at 3:11 AM, Prof Brian Ripley wrote: > On Thu, 14 May 2009, paulj...@ku.edu wrote: > >> Full_Name: Paul E. Johnson >> Version: 2.9.1 > > Where did you get that?  Time travel? > No, actually. I used time travel to return to the present and pre-maturely file the bug report :)

[Rd] Would like to add this to example for plotmath. Can you help?

2009-06-03 Thread Paul Johnson
Greetings: I would like comments on this example and after fixing it up, I need help from someone who has access to insert this in R's help page for plotmath. I uploaded a drawing http://pj.freefaculty.org/R/Normal-2009.pdf that is created by the following code http://pj.freefaculty.org/R/Norma

Re: [Rd] Would like to add this to example for plotmath. Can you help?

2009-06-03 Thread Paul Johnson
values of the mu's and sigma's that are defined above. I think I will register on your wiki and post a fix on that one, while I'm at it. > Romain > > Paul Johnson wrote: >> >> Greetings: >> >> I would like comments on this example and after fixi

[Rd] beginner's guide to C++ programming with R packages?

2009-06-26 Thread Paul Johnson
Hello, again. I'm interested to learn how programmers develop & test C/C++ code with R packages in Linux. I've been reading R source and the manual on Writing R Extensions but there are just a couple of details I can't understand. I wish I could watch over a developer's shoulder to see how peopl

[Rd] About numerical accuracy: should there be a rational number class for fractions?

2009-08-06 Thread Paul Johnson
Hello, useRs. I was monitoring the recent thread about the numerical (in)accuracy of the C pow function and the apparent mismatch between R and matlab. That particular problem has been addressed, but it seems there are many others awaiting. I'm wondering if there is advice for package writers & p

[Rd] R CMD INSTALL configure.args and CC customization

2010-01-20 Thread Paul Johnson
Hi, everybody. I hope the new year is treating you well. In a Rocks Cluster Linux system (that's Centos 5.2 based), I have built R-2.10 and it runs well. While fiddling with MPI libraries and R packages, I've noticed a few little wrinkles. This comes as no surprise to the veteran R programmers,

[Rd] R CMD INSTALL customization; followup on Dirk's question

2010-02-14 Thread Paul Johnson
Last year, Dirk E was asking about customizing options to for packages when using R CMD INSTALL http://tolstoy.newcastle.edu.au/R/e4/devel/08/06/1980.html Has there been more on that question lately? I also wonder what this means in the "Building Packages" section of the R-Extensions manual: "R

[Rd] Where does install.R go when R gets compiled? Or, how to experiment with changes to install.R?

2010-02-18 Thread Paul Johnson
Hello, everybody. I apologize if this is obvious. I've not tried to make changes in R code within the R source itself before. I'm pursuing an experiment to make RPM files for R packages on-the-fly. Any time I install an R package successfully, I want to wrap up those files in an RPM. Basically

Re: [Rd] Where does install.R go when R gets compiled? Or, how to experiment with changes to install.R?

2010-02-19 Thread Paul Johnson
On Thu, Feb 18, 2010 at 2:20 PM, Jens Elkner wrote: > On Thu, Feb 18, 2010 at 11:33:14AM -0600, Paul Johnson wrote: >> I'm pursuing an experiment to make RPM files for R packages >> on-the-fly. Any time I install an R package successfully, I want to >> wrap up those fi

[Rd] Renviron settings for Linux Distributions: please tell me R Core's advice

2010-06-04 Thread Paul Johnson
7;s addressing post-install admin, not packagers, right? Is there another recommended place to make the changes that we want to make? pj -- Forwarded message -- From: Tom "spot" Callaway Date: Thu, Jun 3, 2010 at 12:03 PM Subject: Re: How to go about getting a change in the

<    1   2