Re: [Rd] hist(..., log="y")

2023-08-07 Thread David Scott
histogram in the function logHist, in my package DistributionUtils, which may be of interest if anyone seriously wishes to add functionality to the base hist function. David Scott On 7/08/2023 8:54 pm, Martin Maechler wrote: > >>>>> Ott Toomet > >>>>> on S

Re: [Rd] string concatenation operator (revisited)

2021-12-06 Thread David Scott
(NA, 2) NA2 > glue(NA, 2, .sep = " ") NA 2 > glue(NA, 2, .na = NULL) NA David Scott On 7/12/2021 1:20 pm, Gabriel Becker wrote: > As I recall, there was a large discussion related to that which > resulted in > the recycle0 argument being added (but defaulting to FALSE)

Re: [Rd] issue with data()

2021-02-17 Thread David Scott
I would recommend option 2. I have done that when changes to xtable broke some packages. xtable has a number of dependencies but not on the scale of survival. Just 4 packages out of 868 seems minimal to me. David Scott On 17/02/2021 3:39 am, Therneau, Terry M., Ph.D. via R-devel wrote: I am

[R-pkg-devel] R-devel warning: You used a knitr feature that depends on the digest package.

2018-02-06 Thread David Scott
is just take off cache = true. David Scott -- _ David Scott Department of Statistics The University of Auckland, PB 92019 Auckland 1142,NEW ZEALAND Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055

Re: [R-pkg-devel] Encoding problem

2017-01-30 Thread David Scott
> tbl <- data.frame(positivePairs = 0, negativePairs = 0, > avePositiveSpread = NA, > aveNegativeSpread = NA, > PnL = 435, sumPnL = 144358.7) >

[R-pkg-devel] Encoding problem

2017-01-29 Thread David Scott
("ÕýÏò¿ª²Ö", "¸ºÏò¿ª²Ö", "ÕýÏò¿ª²Öƽ¾ù¼Û²î", "¸ºÏò¿ª²Öƽ¼Û¼Û²î", "µ±ÈÕËðÒæ", "ÀÛ¼ÆËðÒæ") @ I am a bit of a novice at encodings, and know nothing about Chinese characters so any advice is welcome. David Scott -- __

Re: [Rd] [FORGED] Re: Error in texi2dvi

2016-06-20 Thread David Scott
ode to your document without informing you. David Scott -- _____ David Scott Department of Statistics The University of Auckland, PB 92019 Auckland 1142,NEW ZEALAND Phone: +64 9 923 5055, or +64 9 3

Re: [Rd] Undocumented functions

2011-12-16 Thread David Scott
://stat.ethz.ch/mailman/listinfo/r-devel -- _ David Scott Department of Statistics The University of Auckland, PB 92019 Auckland 1142,NEW ZEALAND Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055 Email

Re: [Rd] First package submission to CRAN

2011-06-22 Thread David Scott
, France website: http://dutangc.free.fr That is now deprecated Christophe. Recommended now is R CMD INSTALL --build to get a binary. See the recent thread with the subject Porting unmaintained packages to post R 2.10.0 era David Scott Le 22 juin 2011 à 22:12, steven mosher a écrit : I'm

Re: [Rd] Request: Suggestions for good teaching packages, esp. with C code

2011-02-15 Thread David Scott
, when some general purpose library might be more desirable. But that's a small point, and clarity and completeness counts a great deal in my opinion. -- _ David Scott Department of Statistics The University

Re: [Rd] Request: Suggestions for good teaching packages, esp. with C code

2011-02-15 Thread David Scott
seems preferable as Ken suggests. Then an explicit return may make the code sufficiently clear for a violation of Gabor's principle to be acceptable. David Scott -- _ David Scott Department of Statistics

[Rd] License statement

2010-12-22 Thread David Scott
to violate the licensing of R and the packages I am using (RODBC, ggplot2, zoo). David Scott -- _ David Scott Department of Statistics The University of Auckland, PB 92019 Auckland 1142,NEW

Re: [Rd] Suggested change to integrate.Rd (was: Re: 0.5 != integrate(dnorm, 0, 20000) = 0)

2010-12-07 Thread David Scott
If changes are to be made to integrate it would be nice if the following was fixed: integrate(dnorm, -Inf, -Inf) 1 with absolute error 9.4e-05 Note that integrate manages ok when not dealing with Inf or -Inf: integrate(dnorm, -500, -500) 0 with absolute error 0 David Scott On 8/12/2010

Re: [Rd] Crash report: regexpr(a{2-}, )

2010-09-22 Thread David Scott
attached packages: [1] djsmisc_1.0-1 David Scott On 23/09/10 04:37, Brian Diggs wrote: [Accidentally posted this to r-help instead of r-devel; reposting to put it into the correct list and thread. My apologies for the duplication.] On 9/21/2010 8:04 PM, Henrik Bengtsson wrote: Each

Re: [Rd] How to connect R to Mysql?

2010-09-18 Thread David Scott
Server in a current project, and it is one of two approaches I commonly use to read Excel files (along with xlsReadWrite). While I am at it, I would like to say thanks to Brian Ripley for his work on RODBC. David Scott On 9/17/2010 9:26 AM, Thomas Etheber wrote: I also had problems connecting

Re: [Rd] [R] Use of .Fortran

2010-06-19 Thread David Scott
other language code from R. David Prof Brian Ripley wrote: On Sat, 19 Jun 2010, David Scott wrote: I have no experience with incorporating Fortran code and am probably doing something pretty stupid. Surely you saw in the posting guide that R-help is not the place for questions about C, C

Re: [Rd] Using SVN + SSH on windows

2010-03-27 Thread David Scott
perfectly fine with windows and tortoise in my experience. Is your putty/ssh working? Can you access other machines with it? I do recall ssh can be a bit fussy. David Scott On 27.03.2010 18:31, Gabor Grothendieck wrote: s getting commits to R-Forge to work from Windows. The entire system

Re: [Rd] How to organized code in the R/ directory of a package?

2009-12-10 Thread David Scott
_ David Scott Department of Statistics The University of Auckland, PB 92019 Auckland 1142,NEW ZEALAND Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055 Email: d.sc...@auckland.ac.nz, Fax: +64 9

[Rd] NEWS file

2008-04-14 Thread David Scott
Is there Emacs support for creating a NEWS file for a package? If so where could I find it? I had a look at the GNU coding standards on documenting programs. It has a bit on Emacs and Change Logs but not concerning a NEWS file as far as I could see. David Scott

Re: [Rd] section needed in FAQ - Using R (PR#9698)

2007-05-21 Thread David Scott
David Scott _ David Scott Department of Statistics, Tamaki Campus The University of Auckland, PB 92019 Auckland 1142,NEW ZEALAND Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000 Email