[Rd] LazyLoad changes the class of objects

2007-10-12 Thread Gabor Grothendieck
Consider a package that this DESCRIPTION file: --- Package: tester Version: 0.1-0 Date: 2007-10-12 Title: Prototype object-based programming Author: Gabor Grothendieck Maintainer: Gabor Grothendieck [EMAIL PROTECTED] Description: test LazyLoad: true Depends: R (= 2.6.0) License: GPL2 --- and a

[Rd] as.integer(x) versus as.integer(trunc(x))

2007-10-12 Thread Petr Savicky
as.integer(x) rounds floating point numbers towards zero, so it behaves approximately as as.integer(trunc(x)). If x INT_MAX, then as.integer(x) is NA. This is nothing bad, but it is slightly more restrictive than necessary. An alternative approach could be that as.integer(x) is NA, if trunc(x)

Re: [Rd] pt inaccurate when x is close to 0 (PR#9945)

2007-10-12 Thread Martin Maechler
DM == Duncan Murdoch [EMAIL PROTECTED] on Thu, 11 Oct 2007 11:10:49 -0400 writes: DM Here's a contribution from Ian Smith that got bounced DM from the list. [well, given the obvious Spam that AOL appended at the end... ] DM Original Message DM Subject:

Re: [Rd] no visible binding

2007-10-12 Thread Uwe Ligges
Dear Roger, simply use quotes as in: model.extract(m, response) Best, Uwe roger koenker wrote: Could someone advise me about how to react to the message: * checking R code for possible problems ... NOTE slm: no visible binding for global variable 'response' from R CMD check SparseM

Re: [Rd] Error in Windows Vista, saving workspace...

2007-10-12 Thread Uwe Ligges
Do you have write permissions in the current working directory? I guess not. Uwe Ligges Filipe Santos wrote: Dear all... I'm using R 2.6.0 in windows Vista. And I got the following error: quit() Save workspace image? [y/n/c]: y Error in gzfile(file,wb): unable to open connection In

Re: [Rd] Error on saving graphics as ps-files with R 2.6.0 (PR#9960)

2007-10-12 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: Full_Name: Johannes Schauer Version: 2.6.0 OS: Windows XP Professional Submission from: (NULL) (129.27.154.7) When I want to save graphics (hist, boxplot, plot, ...) as ps-files in R 2.6.0 I get an error message stating Invalid font type with font family not

Re: [Rd] no visible binding

2007-10-12 Thread Peter Dalgaard
roger koenker wrote: Could someone advise me about how to react to the message: I'd try putting quotes in model.extract(m, response) (and also in model.extract(m, weights) even though you're not seeing the complaint on that one). * checking R code for possible problems ... NOTE slm:

Re: [Rd] File-Choose directory-Choose a folder (PR#9959)

2007-10-12 Thread ripley
As I've noted on the website, this appears to be a Vista bug as the Microsoft example code also fails. Note: choose.dir() works in Rterm but not in Rgui. On Wed, 10 Oct 2007, [EMAIL PROTECTED] wrote: Full_Name: Roberto Passera Version: 2.6.0 and 2.6.0 patched OS: Windows Vista Premium

Re: [Rd] no visible binding

2007-10-12 Thread Prof Brian Ripley
Just to pick on this: 'how to react?'. Codetools does have false positives, and non-standard evaluation often triggers them. I've seen this one several times and pretty clearly a chararcter string is better style. But some are just false positives, including those in MASS. On Fri, 12 Oct

Re: [Rd] no visible binding

2007-10-12 Thread Uwe Ligges
Roger Bivand wrote: On Fri, 12 Oct 2007, roger koenker wrote: Could someone advise me about how to react to the message: * checking R code for possible problems ... NOTE slm: no visible binding for global variable 'response' from R CMD check SparseMwith * using R version 2.6.0

Re: [Rd] no visible binding

2007-10-12 Thread Roger Bivand
On Fri, 12 Oct 2007, roger koenker wrote: Could someone advise me about how to react to the message: * checking R code for possible problems ... NOTE slm: no visible binding for global variable 'response' from R CMD check SparseMwith * using R version 2.6.0 Under development (unstable)

[Rd] no visible binding

2007-10-12 Thread roger koenker
Could someone advise me about how to react to the message: * checking R code for possible problems ... NOTE slm: no visible binding for global variable 'response' from R CMD check SparseMwith * using R version 2.6.0 Under development (unstable) (2007-09-03 r42749) The offending code looks

[Rd] File-Choose directory-Choose a folder (PR#9959)

2007-10-12 Thread roberto . passera
Full_Name: Roberto Passera Version: 2.6.0 and 2.6.0 patched OS: Windows Vista Premium Submission from: (NULL) (151.48.70.219) Using R 2.6.0 and 2.6.0 patched Italian version on Windows Vista systems, when selecting File-Choose directory, the sub-command Choose a folder doesn't go, being stopped