Re: [R-pkg-devel] Documenting courtesy S3 methods

2020-08-05 Thread Bert Gunter
g the code to do so) If I am clearly mistaken about this, feel free to dismiss without reply. Cheers, Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic

Re: [R-pkg-devel] incomplete gamma function Fortran subroutine

2020-07-21 Thread Bert Gunter
BTW, if you search for "incomplete gamma function" on Rseek.org, you will find whole packages for this. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom Count

Re: [R-pkg-devel] incomplete gamma function Fortran subroutine

2020-07-21 Thread Bert Gunter
Why? -- see ?dgamma See also the section on including fortran code in "Writing R Extensions," which should be your first port of call for such questions. If neither of these is what you need, it may be helpful if you explain why not. Bert Gunter "The trouble with havi

Re: [R-pkg-devel] error when submit a package

2020-06-26 Thread Bert Gunter
Did you not post this before and receive answers? Please explain why the previous answers were insufficient. "Some notes are not fixable" is not a satisfactory response. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-23 Thread Bert Gunter
with another generic of the same name that is exported. At least that's my understanding. However, this discussion is getting too esoteric for me, so I'm just going to shut up and leave it to folks who are more knowledgeable. With apologies for my noise. Bert Gunter "The trouble with h

Re: [R-pkg-devel] [External] Re: Two packages with the same generic function

2020-06-22 Thread Bert Gunter
OK. Thanks. Bert Gunter On Mon, Jun 22, 2020 at 7:51 PM wrote: > On Tue, 23 Jun 2020, Bert Gunter wrote: > > > "Users don't get warned about overriding names in packages they've > > loaded, because that would just be irritating." > > All Duncan is saying is

Re: [R-pkg-devel] Two packages with the same generic function

2020-06-22 Thread Bert Gunter
tating" because if silent, how would they know? Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Jun 22, 2020 at 5:58 PM Mark Leed

Re: [R-pkg-devel] Two packages with the same generic function

2020-06-22 Thread Bert Gunter
) explicit call under such assumptions? If pkgA has a long name, what might one do? Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, Jun

Re: [R-pkg-devel] Uncaught use of internal functions from other packages in R CMD check

2020-06-15 Thread Bert Gunter
Do note that ?asNamespace says: "Not **intended** to be called directly," (emphasis added) but not "should never be called directly" or some such. I don't know if this makes a difference to package checking, but it isn't clear to me that it would. Cheers, Bert Gunter &quo

Re: [R-pkg-devel] A Note about Vignette

2020-05-11 Thread Bert Gunter
You really need to read the 'Writing R Extensions" manual, in particular the section on the DESCRIPTION file. You are asking basic questions that are covered there. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it.&quo

Re: [R-pkg-devel] Assigning values to fields in Reference Classes

2020-05-11 Thread Bert Gunter
What does this have to do with package development? Seems more like a query for r-help. Cheers, Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic str

Re: [R-pkg-devel] Documentation for non-user-level objects

2020-05-10 Thread Bert Gunter
ves this help page, but foo is excluded from several object indices, including the alphabetical list of objects in the HTMLhelp system." Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berke

Re: [R-pkg-devel] [FORGED] Math symbols in .Rd files

2020-04-22 Thread Bert Gunter
ght be useful to a few folks on occasion. Bert On Wed, Apr 22, 2020 at 7:17 PM Rolf Turner wrote: > > > On 23/04/20 11:03 am, Bert Gunter wrote: > > > OS: Mac OSX Catalina > > R Version 3.6.3 > > UTF-8 declared as Encoding in DESCRIPTION file > > > > First, apo

[R-pkg-devel] Math symbols in .Rd files

2020-04-22 Thread Bert Gunter
to plain text? Thanks. Again, my apologies for asking this again, but I just wanted to be sure my understanding is correct -- or find out where I'm confused. Bert Gunter __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R-pkg-devel] Validate CRAN package using a linked library

2016-09-14 Thread Bert Gunter
Are you aware of Ryacas or rSymPy ?? If not, does it really add anything to these? If so, feel free to ignore. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it.” -- Opus (aka Berkeley Breathed in his "Bl

[R-pkg-devel] vignette issues

2016-09-12 Thread Bert Gunter
version available in /docs. What is “appropropriate behavior” for me to avoid these warnings? Best, Bert Bert Gunter __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

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 knowledge

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. Clifford

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 pda...@gmail.com wrote

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

2013-11-04 Thread Bert Gunter
to log which files are opened? Regards, Martin Gregory __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374

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

2013-10-21 Thread Bert Gunter
; 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:gunter.ber...@gene.com] The R Intro Manual was largely or entirely the work of Bill Venables some years ago. So it is not really a part of R's

Re: [Rd] The *tmp* variable

2013-07-07 Thread Bert Gunter
://stat.ethz.ch/mailman/listinfo/r-devel -- 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 __ R-devel@r

Re: [Rd] The *tmp* variable

2013-07-07 Thread Bert Gunter
and corrected. Peter On Sat, Jul 6, 2013 at 9:36 PM, Bert Gunter gunter.ber...@gene.com wrote: Peter: (Your function doesn't work -- you need to specify runif(1)) What ambiguity? In the assignment within f(), x - x+1, the x on the rhs is a free variable in the function, and is therefore looked

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

2013-02-22 Thread Bert Gunter
}} __ 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.roche.com/index/pdb/pdb-functional-groups/pdb

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

2013-02-16 Thread Bert Gunter
/ __ 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.roche.com/index/pdb/pdb-functional-groups/pdb

Re: [Rd] Bounty on Error Checking

2013-01-04 Thread Bert Gunter
Finance Review, http://www.critical-finance-review.org/ __ 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

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

2012-10-12 Thread Bert Gunter
-1319 __ 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.roche.com/index/pdb/pdb-functional

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

2012-10-05 Thread Bert Gunter
-a-list-with-missing-values-What-is-missing-anyway-tp4644957p4644965.html Sent from the R devel mailing list archive at Nabble.com. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Bert Gunter Genentech

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

2012-10-05 Thread Bert Gunter
a special argument-interpolating behavior? Peter __ 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

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 peter.meilst...@gmail.com wrote: On Thu, Oct 4, 2012 at 6:12 PM, Bert Gunter gunter.ber...@gene.com 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

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

2012-09-14 Thread Bert Gunter
/mailman/listinfo/r-devel -- 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 __ R-devel@r-project.org

[Rd] Advice on Namespaces

2012-09-11 Thread Bert Gunter
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 __ R-devel@r

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 murdoch.dun...@gmail.com 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 beyond a relatively narrow

Re: [Rd] Arrays Partial unserialization

2012-09-01 Thread Bert Gunter
__** R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/**listinfo/r-develhttps://stat.ethz.ch/mailman/listinfo/r-devel -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com

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

2012-08-19 Thread Bert Gunter
-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.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

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

2012-08-19 Thread Bert Gunter
__ 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 -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact

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 bgun...@gene.com wrote: Yes, but either drop(t(df[,1,drop=TRUE])) or t(df[,1,drop=TRUE])[1,] does work. My minimal effort to check timings

Re: [Rd] virus and malicious code

2012-08-06 Thread Bert Gunter
]] __ 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 -- Bert Gunter Genentech Nonclinical

Re: [Rd] Numerics behind splineDesign

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

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 pda...@gmail.com wrote: On Aug 1, 2012, at 18:03 , Bert Gunter wrote: Inline... On Wed, Aug 1, 2012 at 8:36

Re: [Rd] Numerics behind splineDesign

2012-08-01 Thread Bert Gunter
Book (Statistical Models in S, ed Chambers Hastie (esp. chapter 7?) Ben Bolker __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone

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 gregory.war...@novartis.com 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 gunter.ber

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

2012-07-25 Thread Bert Gunter
. 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 needed if it is decided to ignore it. Best, Bert -- Bert Gunter Genentech

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