Re: [Rd] scoping/non-standard evaluation issue

2011-01-04 Thread Gabor Grothendieck
On Tue, Jan 4, 2011 at 4:35 PM, John Fox wrote: > Dear r-devel list members, > > On a couple of occasions I've encountered the issue illustrated by the > following examples: > > - snip --- > >> mod.1 <- lm(Employed ~ GNP.deflator + GNP + Unemployed + > +         Armed.Forces + Popu

Re: [Rd] scoping/non-standard evaluation issue

2011-01-04 Thread peter dalgaard
On Jan 4, 2011, at 22:35 , John Fox wrote: > Dear r-devel list members, > > On a couple of occasions I've encountered the issue illustrated by the > following examples: > > - snip --- > >> mod.1 <- lm(Employed ~ GNP.deflator + GNP + Unemployed + > + Armed.Forces + Popu

[Rd] R CMD check bug or misfeature

2011-01-04 Thread Charles Geyer
This is a bug/misfeature report for R CMD check. The function tools:::.check_packages_used_in_tests Gives an apparently unintended error when checking the tests in the contributed package rcdd_1.1-3.tar.gz as found on CRAN. See the script below for details. The actual error reported is tota

Re: [Rd] scoping/non-standard evaluation issue

2011-01-04 Thread John Fox
Dear all, A small correction: I had a stray line in my f2(), env <- new.env(parent=.GlobalEnv) left over from yet another attempt; it can simply be removed. Sorry for the confusion, John John Fox Senator William McMaster Professor of Social Statisti

[Rd] scoping/non-standard evaluation issue

2011-01-04 Thread John Fox
Dear r-devel list members, On a couple of occasions I've encountered the issue illustrated by the following examples: - snip --- > mod.1 <- lm(Employed ~ GNP.deflator + GNP + Unemployed + + Armed.Forces + Population + Year, data=longley) > mod.2 <- update(mod.1, . ~ . -

Re: [Rd] C code hanging and printing everything at the end

2011-01-04 Thread Simon Urbanek
On Jan 4, 2011, at 11:41 AM, Robert Lowe wrote: > Hi, > > I am currently writing an extension for R and have the need to include some C > code. If I call the code with a large amount of data then it can take several > minutes to complete. > > The C code prints out after a certain iteration he

[Rd] C code hanging and printing everything at the end

2011-01-04 Thread Robert Lowe
Hi, I am currently writing an extension for R and have the need to include some C code. If I call the code with a large amount of data then it can take several minutes to complete. The C code prints out after a certain iteration hence letting the user know it hasn't crashed. When running in R