Re: [Rd] R Language Definition: Subsetting matrices with negative indices is *not* an error

2015-05-09 Thread Bert Gunter
Ah, the woes of English word order -- even this native English speaker frequently gets messed up! (but maybe I'm just a bear of little brain). Best, Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And kn

Re: [Rd] Re R CMD check checking in development version of R

2014-08-28 Thread Bert Gunter
This is a nice explanation of the Imports/Depends distinction. It ought to go into the Extensions ref manual imho. Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom."

Re: [Rd] Define 'in' for new class

2014-08-12 Thread Bert Gunter
See the 'iterators' package on CRAN. -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." Clifford Stoll On Tue, Aug 12, 2014 at 12:28 AM, peter dalgaard

Re: [Rd] Determining files opened by an R session

2013-11-04 Thread Bert Gunter
like logging. > > Could someone let me know if it is possible to log which files are opened? > > Regards, > Martin Gregory > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/m

Re: [Rd] Possible tweak to R intro - was RE: [R] Subseting a data.frame -

2013-10-21 Thread Bert Gunter
the most natural way of >>>> subsetting data frames; perhaps a line or two and an example could >>>> usefully be included in the 'Working with data frames' section of the R >>>> Intro? >>> >>> >>> From: Bert Gunter [mailto:gunte

Re: [Rd] The *tmp* variable

2013-07-07 Thread Bert Gunter
occur, into errors that can be caught and corrected. > > Peter > > > On Sat, Jul 6, 2013 at 9:36 PM, Bert Gunter wrote: >> >> Peter: >> >> (Your function doesn't work -- you need to specify runif(1)) >> >> What ambiguity? >> >> In the assi

Re: [Rd] The *tmp* variable

2013-07-07 Thread Bert Gunter
HTML version deleted]] > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roc

Re: [Rd] limitations to random number generator in 64-bits machines

2013-02-22 Thread Bert Gunter
jrc.ec.europa.eu/ > = > DISCLAIMER:\ "The views expressed are purely those of th...{{dropped:10}} > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel --

Re: [Rd] Printing of anonymous functions in calls is sub-optimal

2013-02-16 Thread Bert Gunter
gt; Hadley > > -- > Chief Scientist, RStudio > http://had.co.nz/ > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phon

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Bert Gunter
eston Professor of Finance > Anderson School at UCLA, C519 > Director, UCLA Anderson Fink Center for Finance and Investments > Free Finance Textbook, http://book.ivo-welch.info/ > Editor, Critical Finance Review, http://www.critical-finance-review.org/ > > ___

Re: [Rd] as.data.frame.matrix() returns an invalid object

2012-10-12 Thread Bert Gunter
dObject(df2) : > invalid class “data.frame” object: slots in class definition but not in > object: "row.names" > > This is with R 2.15 and recent R devel. > > Cheers, > H. > > -- > Hervé Pagès > > Program in Computational Biology > Division of Publi

Re: [Rd] How to build a list with missing values? What is missing, anyway?

2012-10-05 Thread Bert Gunter
On Thu, Oct 4, 2012 at 6:31 PM, Peter Meilstrup wrote: > On Thu, Oct 4, 2012 at 6:12 PM, Bert Gunter wrote: >> The R Language definition manual explains all of this. Read it. > > I always reread that before I post to this list. > > The only relevant mention of "

Re: [Rd] How to build a list with missing values? What is missing, anyway?

2012-10-05 Thread Bert Gunter
explain the behavior of `...`? When the > interpreter comes across `...` in the arguments during evaluation of a > call, it trips a special argument-interpolating behavior? > > Peter > > __ > R-devel@r-project.org mailing l

Re: [Rd] How to build a list with missing values? What is missing, anyway?

2012-10-05 Thread Bert Gunter
ames) > > - Josh > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/How-to-build-a-list-with-missing-values-What-is-missing-anyway-tp4644957p4644965.html > Sent from the R devel mailing list archive at Nabble.com. > > ___

Re: [Rd] as.data.frame.character lacks nm= argument

2012-09-14 Thread Bert Gunter
unlap tibco.com > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roc

Re: [Rd] Advice on Namespaces

2012-09-11 Thread Bert Gunter
Thanks Duncan. This was very helpful. -- Bert On Tue, Sep 11, 2012 at 4:05 AM, Duncan Murdoch wrote: > On 12-09-10 12:11 PM, Bert Gunter wrote: >> >> Hi Folks: >> >> I'm writing a little package that may not ever hit CRAN or even be >> distributed bey

[Rd] Advice on Namespaces

2012-09-11 Thread Bert Gunter
appropriate for this list. Many thanks. Cheers, Bert -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm _

Re: [Rd] Arrays Partial unserialization

2012-09-01 Thread Bert Gunter
Hoping my request is understandable, > > All the best, > > Damien.G > > __** > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/**listinfo/r-devel<https://stat.ethz.ch/mailman/listinfo/r-devel> > -- Bert Gunter Genentech Nonclinic

Re: [Rd] Quiz: How to get a "named column" from a data frame

2012-08-19 Thread Bert Gunter
Sorry! -- Change that to drop = FALSE ! drop(t(df[,1,drop=FALSE])) t(df[,1,drop=FALSE])[1,] -- Bert On Sat, Aug 18, 2012 at 9:37 AM, Bert Gunter wrote: > Yes, but either > > drop(t(df[,1,drop=TRUE])) > > or > > t(df[,1,drop=TRUE])[1,] > > does work. My minimal ef

Re: [Rd] Quiz: How to get a "named column" from a data frame

2012-08-19 Thread Bert Gunter
.' consists of 17 letters. >> I'll post it later today (CEST time) ... or confirm >> that someone else has done so. >> >> Martin >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/

Re: [Rd] Quiz: How to get a "named column" from a data frame

2012-08-19 Thread Bert Gunter
>>> As said, I know a simple solution (*), but I'm sure it is not >>> obvious to most R users and probably not even to the majority of >>> R-devel readers... OTOH, people like Bill Dunlap will not take >>> long to provide it or a better one. >>> >>> (*) In my solution, the a

Re: [Rd] virus and malicious code

2012-08-06 Thread Bert Gunter
sponse about picking up R code from any other source, >> like gitHub. Thanks. > > > >> Dave >> [[alternative HTML version deleted]] >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz

Re: [Rd] Numerics behind splineDesign

2012-08-02 Thread Bert Gunter
Thanks Peter. So it was I who was being too "hasty." (heh-heh).* -- Bert *Yes, it was bad once. So twice makes it ... what, pathetic? On Wed, Aug 1, 2012 at 9:17 AM, peter dalgaard wrote: > > On Aug 1, 2012, at 18:03 , Bert Gunter wrote: > >> Inline... >> &g

Re: [Rd] Numerics behind splineDesign

2012-08-02 Thread Bert Gunter
Inline... On Wed, Aug 1, 2012 at 8:36 AM, Nathaniel Smith wrote: > Thanks everyone for the suggestions. > > On Wed, Aug 1, 2012 at 2:39 PM, peter dalgaard wrote: >> >> On Jul 31, 2012, at 15:46 , Bert Gunter wrote: >> >>> Well, I would first check t

Re: [Rd] Numerics behind splineDesign

2012-08-01 Thread Bert Gunter
t; > [snip] > > Some of this stuff *might* be in the "White Book" (Statistical > Models in S, ed Chambers & Hastie (esp. chapter 7?) > > Ben Bolker > > ______ > R-devel@r-project.org mailing list > https://stat.

Re: [Rd] Convenience function to get unevaluated ... function arguments

2012-07-27 Thread Bert Gunter
Feel free. -- Bert On Thu, Jul 26, 2012 at 7:52 AM, Warnes, Gregory wrote: > I'll be glad to add it to the gtools package if it doesn't (immediately) go > into one of the core packages. > > Sent from my iPhone > > On Jul 26, 2012, at 7:35 AM, "Bert Gunter&qu

Re: [Rd] Convenience function to get unevaluated ... function arguments

2012-07-26 Thread Bert Gunter
Indeed! -- Bert On Wed, Jul 25, 2012 at 3:59 PM, David Winsemius wrote: > > On Jul 24, 2012, at 4:39 PM, Bert Gunter wrote: > >> Folks: >> >> Herein is a suggestion for a little R convenience function mainly to >> obtain unevaluated ... function arguments. It a

[Rd] Convenience function to get unevaluated ... function arguments

2012-07-25 Thread Bert Gunter
hing like substituteDots to make the relationship clear might be appropriate. If R core or others do want to use this, I would be happy to write the line or two of additional documentation required (if no one else wants to). And to repeat... I know this is trivial, so no explanation or response is

[Rd] R CMD build/check on Windows 7

2012-07-17 Thread Bert Gunter
Folks: sessionInfo() R version 2.15.0 (2012-03-30) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base p

Re: [Rd] grid unit bug? (PR#14220)

2010-02-25 Thread Bert Gunter
Thank you Brian: Maybe I should follow my own advice! I DID check methods(is.numeric) to see if that were the case, but concluded it was not as that yielded an error. But all I needed to do was read the docs! Registering the method indeed seems the right way to do it. Best regards, Bert Gunter