Re: [Rd] The default behaviour of a missing entry in an environment

2009-11-16 Thread Robert Gentleman
ut under the model you seem to be suggesting, preventing such behavior when you don't own the environments in question is problematic. Robert > > Duncan Murdoch > >> >>> x <- 3 >>> e <- new.env() >>> "x" %in% nam

Re: [Rd] Non-GPL packages for R

2009-09-11 Thread Robert Gentleman
Hi, Peter Dalgaard wrote: Prof. John C Nash wrote: The responses to my posting yesterday seem to indicate more consensus than I expected: Umm, I had thought that it was well established that responders need not represent the population being surveyed. I doubt that there is consensus at th

[Rd] debug

2009-07-27 Thread Robert Gentleman
not being handled over the the next few weeks. Please let me know if you have problems, or suggested improvements. Robert -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M1-B514 PO Box

Re: [Rd] tabulate can accept NA values?

2009-07-20 Thread Robert Gentleman
olves introducing some artificial NA value (and consequently copying the matrix) outside the range of tabulate's nbin argument. Martin -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M1-

Re: [Rd] Can a function know what other function called it?

2009-05-23 Thread Robert Gentleman
(easily) distinguish which of the two calls to bar was active. There is no line counter or anything of that sort available. best wishes Robert > function call? > > Thanks! > > __ > R-devel@r-project.org mailing list > https://st

Re: [Rd] [R] step by step debugger in R?

2009-05-23 Thread Robert Gentleman
Hi, I stripped the cc's as I believe that all read this list. Romain Francois wrote: > [moving this to r-devel] > > Robert Gentleman wrote: >> Hi, >> >> Romain Francois wrote: >> >>> Duncan Murdoch wrote: >>> >>>> On 5

[Rd] a statement about package licenses

2009-05-01 Thread Robert Gentleman
We are writing on behalf of the R Foundation, to clarify our position on the licenses under which developers may distribute R packages. Readers should also see FAQ 2.11: this message is not legal advice, which we never offer. Readers should also be aware that besides the R Foundation, R has many o

Re: [Rd] install.packages and dependency version checking

2008-12-15 Thread Robert Gentleman
at > will encapsulate all the possible scenarios so weneed to get experience > until 2.9.0 is released. Please report any quirks to R-devel if they > are completely reproducible (and preferably with the code change needed > to fix them, since the chance of anyone else being able to repr

Re: [Rd] wish: exportClassPattern

2008-12-04 Thread Robert Gentleman
; Thanks, >> Michael >> >> [[alternative HTML version deleted]] >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > -- Robert Gentleman, PhD Pro

Re: [Rd] why is \alias{anRpackage} not mandatory?

2008-10-07 Thread Robert Gentleman
pened with any of the problems above. So I move very, very slowly on them. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Robert Gentleman, PhD Program in Computational Biology Division of Publi

Re: [Rd] Suggestion for the optimization code

2008-08-08 Thread Robert Gentleman
Best, Mathieu * BTW, if this is relevant, I could try to do it. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hu

Re: [Rd] RFC: What should ?foo do?

2008-04-25 Thread Robert Gentleman
Duncan Murdoch wrote: > On 4/25/2008 10:16 AM, Robert Gentleman wrote: >> >> Duncan Murdoch wrote: >>> Currently ?foo does help("foo"), which looks for a man page with >>> alias foo. If foo happens to be a function call, it will do a bit >>>

Re: [Rd] RFC: What should ?foo do?

2008-04-25 Thread Robert Gentleman
nt subsets of the docs you have mentioned; help?foo #only man pages guides?foo #the manuals, R Extensions etc and so on. You did not, make a suggestion as to how we would get the equivalent of ?foo now, if a decision to move were taken. > > Comments, please. > > Duncan Mu

Re: [Rd] R CMD check should check date in description

2008-04-04 Thread Robert Gentleman
n the DESCRIPTION file? If so, would you mind elaborating why? Sure: The date of what? > > Hadley > -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2-B876 PO Box 19024 Se

Re: [Rd] R CMD check should check date in description

2008-04-04 Thread Robert Gentleman
king (where comparing to the date the check > is run is not too useful) ... But definitely not a warning. Robert > > Best > -k > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel &g

Re: [Rd] Problem with new("externalptr")

2008-01-29 Thread Robert Gentleman
t; } > > so I can create new "externalptr" instances from R with: > > .Call("xp_new") > > I understand that there is not much you can do from R with an "externalptr" > instance and that you will have to manipulate them at the C level anyway. > But since new("e

[Rd] course announcement

2008-01-07 Thread Robert Gentleman
you have a registration before making any travel plans. Also, this is definitely not a course for beginners. Best wishes Robert -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2

Re: [Rd] Evaluating R expressions from C

2008-01-04 Thread Robert Gentleman
wishes Robert > > Thanks for any help, > Terry Therneau > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Robert Gentleman, PhD Program in Computationa

Re: [Rd] install.packages() and configure.args

2007-10-22 Thread Robert Gentleman
work. >> >> Cheers, >> H. >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.7 (Darwin) > Comment: Using GnuPG

Re: [Rd] gregexpr (PR#9965)

2007-10-11 Thread Robert Gentleman
o be vaguely worded in the help. > >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Scienc

Re: [Rd] 'load' does not properly add 'show' methods for classes extending 'list'

2007-09-25 Thread Robert Gentleman
;. To cite Bioconductor, see >> 'citation("Biobase")' and for packages 'citation(pkgname)'. >> >> Loading required package: AnnotationDbi >> Loading required package: DBI >> Loading required package: RSQLite >> An object of class "G

[Rd] Jobs in Seattle

2007-09-13 Thread Robert Gentleman
the post doc and should probably direct questions about the bioinformatics position to Martin. All applications must go through the FHCRC web site. thanks Robert -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research

Re: [Rd] S4 and Namespaces problems {was "error message from lmer"}

2007-07-18 Thread Robert Gentleman
>> [7] "methods" "base" > >> > >> other attached packages: > >> lme4 Matrix rcompletionrcompgen latticediveMove > >> "0.99875-2" "0.99875-2" "0.1-2""0.1-13&

Re: [Rd] HTML vignette browser

2007-06-04 Thread Robert Gentleman
name to something more scary than "source", e.g. "LaTeX/Noweb > source". I would very much prefer to keep the source, with some name, scary or not... > > -Deepayan > > __ > R-devel@r-project.org mailing list >

Re: [Rd] Calling R_PolledEvents from R_CheckUserInterrupt

2007-05-31 Thread Robert Gentleman
ned(Win32) ) > R_ProcessEvents(); > #else > +R_PolledEvents(); > if (R_interrupts_pending) > onintr(); > #endif /* Win32 */ > > __ > R-devel@r-project.org mailing

Re: [Rd] Native implementation of rowMedians()

2007-05-14 Thread Robert Gentleman
heel > happening in every package that needs such quantiles in its C code. > > Biobase is in quite active maintenance, and I'd assume its > maintainers will remove rowMedians() from there (or first > replace it with a wrapper in order to deal with the namespace > issue you mentioned) as soon as R has

Re: [Rd] One for the wish list - var.default etc

2007-05-09 Thread Robert Gentleman
where namespaces are essential). best wishes Robert > > The tradeoff is false because unit tests are a better way to assure safety. > If the major packages (like stats) had a suite of tests, a package developer > could load his own package, run all the unit tests, and see

[Rd] boundary case anomaly

2007-04-08 Thread Robert Gentleman
umns, or either or both - and why a special name?) best wishes Robert -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2-B876 PO Box 19024 Seattle, Washington 98109-1024

[Rd] buglet in terms calculations

2007-04-08 Thread Robert Gentleman
et us there? Certainly cleaning up the names via cleanTick = function(x) gsub("`", "", x) works, but it seems a bit ugly, and it might be better if the modeling code was modified. best wishes -- Robert Gentleman, PhD Program in Computational Biology Division of

Re: [Rd] possible bug in model.frame.default

2007-03-07 Thread Robert Gentleman
es, subset, na.action)) > Browse[1]> > Erreur dans model.frame(formula, rownames, variables, varnames, extras, > extranames, : > type (closure) incorrect pour la variable '(weights)' > > I couldn't go further because of the .Internal. I tried to googlise

Re: [Rd] Wish list

2007-01-01 Thread Robert Gentleman
Many of the suggestions above would improve R, but they're unlikely to >> happen unless someone volunteers to do them. I'd suggest picking >> whichever one of these or some other list that you think is the highest >> priority, and post a specific proposal to this list about how to do it. >>

Re: [Rd] A possible improvement to apropos

2006-12-14 Thread Robert Gentleman
found <- found[sapply(found, function(x) { >>> exists(x, where = i, mode = mode, inherits = FALSE) >>> })] >>> } >>> numFound <- length(found) >>> x <- c(x, if (where) >>>

Re: [Rd] caching frequently used values

2006-12-13 Thread Robert Gentleman
vironment with > new.env(), but how can I assign and retrieve values based on a > numerical index (the derivative)? The example of the help page of > assign explicitly shows that assign("a[1]") does not work for this > purpose. > > Thanks, > > Tamas > >

Re: [Rd] caching frequently used values

2006-12-13 Thread Robert Gentleman
s (getAnywhere > doesn't work). > > Tamas > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sc

Re: [Rd] data frame subset patch, take 2

2006-12-13 Thread Robert Gentleman
Robert Gentleman wrote: > Hi, >We had the "names" discussion and, AFAIR, the idea that someone might > misinterpret the output as suggesting that one could index by number, > seemed to kill it. A more reasonable argument against is that names<- is > p

Re: [Rd] data frame subset patch, take 2

2006-12-13 Thread Robert Gentleman
_____ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Resea

Re: [Rd] data frame subset patch, take 2

2006-12-12 Thread Robert Gentleman
f[2,] ## still internally produces the character(1e6) row names! > > something I think we should eliminate as well, > i.e., at least make sure that only seq_len(1e6) is internally > produced and not the character vector. > > Note however that some of these changes are backward &

Re: [Rd] Error condition in evaluating a promise

2006-10-18 Thread Robert Gentleman
in the S4 system are likely to make lazy evaluation a thing of the past since it is pretty hard to dispatch on class without knowing what the class is. That means, that as we move to more S4 methods/dispatch we will be doing more evaluation of arguments. best wishes Robert > Ch

Re: [Rd] Feature request: names(someEnv) same as ls(someEnv)

2006-10-15 Thread Robert Gentleman
__ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Robert Gentl

Re: [Rd] Strange behaviour of the [[ operator

2006-09-30 Thread Robert Gentleman
gt; Or even >> m[j=2,i=] > [1] 2 4 > > However, what would the argument names be in the >2-dim case? i, j are > used only in help("[") and that page is quite specific about > explaining that named matching doesn't work. > -- Robert Gentleman,

Re: [Rd] Question about substitute() and function def

2006-09-14 Thread Robert Gentleman
function(a = a) 1 a bug for sure > I would have expected to get "function(a = foo) 1". > > Duncan Murdoch > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Robert G

Re: [Rd] [R] Bug/problem reporting: Possible to modify posting guide FAQ?

2006-08-28 Thread Robert Gentleman
the package maintainer as well. You can use find("functionname") > and packageDescription("packagename") to find this information. > Only send such questions to one of R-help or R-devel. This applies to both > requests for help and to bug reports. > > ______ > R-help@s

Re: [Rd] S4 'object is not subsettable' in prototype

2006-08-21 Thread Robert Gentleman
I was thinking that one of the main advatnages of the new S4 type was >> to get away from this sort of accidental dispatch. Not trying to be >> snide, but what is useful about getting a zero for length(foo)? The >> main use I can think of is in trying to identify S4 instances, but

Re: [Rd] configure on mac

2006-08-13 Thread Robert Gentleman
rev38710 >> language R >> version.string R version 2.4.0 Under development (unstable) >> (2006-07-28 r38710) >> >> url:www.econ.uiuc.edu/~roger Roger Koenker >> email [EMAIL PROTECTED] Department of Economics >> vox:

Re: [Rd] [R] HTTP User-Agent header

2006-07-31 Thread Robert Gentleman
should appear at an R-devel near you... thanks Seth Seth Falcon wrote: > Robert Gentleman <[EMAIL PROTECTED]> writes: >> OK, that suggests setting at the options level would solve both of your >> problems and that seems like the best approach. I don't really want to

Re: [Rd] [R] HTTP User-Agent header

2006-07-28 Thread Robert Gentleman
t; On 7/28/06, Robert Gentleman <[EMAIL PROTECTED]> wrote: >> I wonder if it would not be better to make the user agent string >> something that is configurable (at the time R is built) rather than at >> run time. This would make Seth's patch about 1% as long. Or this could &

Re: [Rd] [R] HTTP User-Agent header

2006-07-28 Thread Robert Gentleman
Prof Brian Ripley wrote: > On Fri, 28 Jul 2006, Robert Gentleman wrote: > >> I wonder if it would not be better to make the user agent string >> something that is configurable (at the time R is built) rather than at >> run time. This would make Seth's patch ab

Re: [Rd] [R] HTTP User-Agent header

2006-07-28 Thread Robert Gentleman
s made in R via download.file. If there is interest, I >> will polish it. > > It looks right, but I am running under Windows without a compiler. > -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1

[Rd] proposed modifications to deprecated

2006-04-27 Thread Robert Gentleman
he message?), if not print a standard message (just as .Deprecated does) and then continue with the search using the other file extensions. Defunct could be handled similarly. Comments, alternative suggestions? thanks Robert -- Robert Gentleman, PhD Program in Computational Biolog

Re: [Rd] R CMD check: non source files in src on (2.3.0 RC (2006-04-19 r37860))

2006-04-21 Thread Robert Gentleman
gt; to start deploying an R-forge project hosting service "eventually" > (hopefully, we can set things up during the summer). This should > provide us with an ideal infrastructure for sharing developer resources, > in particular as we could add QC testing et al to the standard c

Re: [Rd] R CMD check: non source files in src on (2.3.0 RC (2006-04-19 r37860))

2006-04-20 Thread Robert Gentleman
Thu, 20 Apr 2006, Robert Gentleman wrote: > > >>I disagree, things like README files and other objects are important and >>should be included. I don't see the real advantage to such warnings, if >>someone wants them they could be turned on optionally. > >

Re: [Rd] R CMD check: non source files in src on (2.3.0 RC (2006-04-19 r37860))

2006-04-20 Thread Robert Gentleman
to be able to build exactly what I check out from >>my source code repository without having to copy files in and out. > > > All described in TFM, including how to set defaults for what is checked. > > >>The output from R CMD check is below. Any insight would be appreci

Re: [Rd] SaveImage, LazyLoad, S4 and all that {was "install.R ... files"}

2006-02-03 Thread Robert Gentleman
;> Seth> uses S4 classes from another package with a namespace, one >> Seth> must import the classes and *also* export them? >> >> Seth> Now I see this: >> >> Seth> ** preparing package for lazy loading >> Seth> Error in getClass(&qu

Re: [Rd] Word boundaries and gregexpr in R 2.2.1 (PR#8547)

2006-02-01 Thread Robert Gentleman
> platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status > major2 > minor2.1 > year 2005 > month 12 > day 20 > svn rev 36812 > language R > > __ > R-devel@r-p

Re: [Rd] A patch for do_sample: check replace arg

2006-01-24 Thread Robert Gentleman
ument"), "replace"); > +replace = asLogical(sreplace); > if (replace == NA_LOGICAL) > errorcall(call, _("invalid '%s' argument"), "replace"); > if (n == NA_INTEGER || n < 1) > > __ > R-devel

[Rd] clarification of library/require semantics

2005-11-04 Thread Robert Gentleman
folks I have asked have said they want the lib.loc parameter to be used for other loading. Comments? Robert -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2-B876 PO Box 19024 Seattle

Re: [Rd] bug loading libraries with winXP and 2.2.0 but not 2.1.1 (PR#8200)

2005-10-10 Thread Robert Gentleman
same version of multtest loads fine : > > >>library(multtest) > > Loading required package: survival > Loading required package: splines > > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Robert Gentleman, P

Re: [Rd] Shy Suggestion?

2005-09-20 Thread Robert Gentleman
by anyone wanting to use both As I said above, and will try to emphasize, I really do not want R CMD check to do any checking of Uses (unless asked to do so). Developers that use Uses need to make sure that their package works and passes R CMD check whether the package is there or not. --