Re: [Rd] Marking a ticket as a (potential) regression in bug tracker?

2020-11-26 Thread Scott Kostyshak
On Fri, Jun 12, 2020 at 10:17:11AM -0400, Scott Kostyshak wrote: > > Is there a way to mark a ticket as a potential regression in the bug > tracker? I think the following issue is a regression: > > https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17684 > > I'

[Rd] Marking a ticket as a (potential) regression in bug tracker?

2020-06-12 Thread Scott Kostyshak
nk the bug has bitten many people, so I don't think it is critical, but often it is helpful to mark bugs as regressions in trackers. Thanks, Scott -- Scott Kostyshak Assistant Professor of Economics University of Florida https://people.clas.ufl

Re: [Rd] [patch] add sanity checks to quantile()

2020-01-04 Thread Scott Kostyshak
On Sat, Jan 04, 2020 at 06:32:15PM -0500, Duncan Murdoch wrote: > > On 04/01/2020 4:35 p.m., Scott Kostyshak wrote: > > On Fri, May 31, 2019 at 01:28:55AM -0400, Scott Kostyshak wrote: > > > The attached patch adds some sanity checks to the "type" argument of &

Re: [Rd] [patch] add sanity checks to quantile()

2020-01-04 Thread Scott Kostyshak
On Fri, May 31, 2019 at 01:28:55AM -0400, Scott Kostyshak wrote: > The attached patch adds some sanity checks to the "type" argument of > quantile(). Output from the following commands show the change of > behavior with the current patch: > > vec <- 1:10 >

[Rd] [patch] add sanity checks to quantile()

2019-05-30 Thread Scott Kostyshak
it is desired, I could change the patch such that it only gives an error when current R gives an error (i.e., the only benefit of the patch would be better error messages), or I can change the patch to give a warning in these cases. Scott -- Scott Kostyshak Assistant Professor of Economics Uni

Re: [Rd] source(echo = TRUE) with a iso-8859-1 encoded file gives an error

2018-05-04 Thread Scott Kostyshak
Thanks for your reply, Ista, and your advice. I will re-post to r-help. Best, Scott -- Scott Kostyshak Assistant Professor of Economics University of Florida https://people.clas.ufl.edu/skostyshak/ On Tue, May 01, 2018 at 07:15:30PM +, Ista Zahn wrote: > Hi Scott, > > This qu

[Rd] source(echo = TRUE) with a iso-8859-1 encoded file gives an error

2018-05-01 Thread Scott Kostyshak
ices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.4.3 > Sys.getlocale() [1] "LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_

[Rd] Mention the case of logical(0) in ?stopifnot

2018-03-31 Thread Scott Kostyshak
=https-3A__stackoverflow.com_questions_33670060_how-2Dto-2Dhave-2Dstopifnot-2Dreturn-2Dan-2Derror-2Dwhen-2Dcalled-2Don-2Da-2Dmissing-2Dnull-2Delement&d=DwIBAg&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=1fpq0SJ48L-zRWX2t0llEVIDZAHfU8S-4oINHlOA0rk&m=G8tEZpMWPL4vxGGinNsRHdfXpDqiFEownNA

Re: [Rd] Using response variable in interaction as explanatory variable in glm crashes R

2017-10-10 Thread Scott Kostyshak
0:6. Dear Martin, I just wanted to thank you for providing details on your approach to debugging. Often I see bug fixes and I wonder "how the heck did they figure that out?" so I am very excited when I see details like these on the process (and not just the end result), so that I can learn.

[Rd] specifying name in the error message "promise already under evaluation"

2017-09-17 Thread Scott Kostyshak
promise. For example, I think that the following would already be an improvement: promise "y" already under evaluation: recursive default argument reference or earlier problems? Any thoughts? Scott -- Scott Kostyshak Assistant Professor of Economics University of Florida http

Re: [Rd] [patch] ?confint: "assumes asymptotic normality"

2017-07-20 Thread Scott Kostyshak
On Thu, Jul 20, 2017 at 04:21:04PM +0200, Martin Maechler wrote: > >>>>> Scott Kostyshak > >>>>> on Thu, 20 Jul 2017 03:28:37 -0400 writes: > > >> From ?confint: > > "Computes confidence intervals" and "The defa

[Rd] [patch] ?confint: "assumes asymptotic normality"

2017-07-20 Thread Scott Kostyshak
;Computes asymptotic confidence intervals". I hope I'm not being too pedantic here. Scott -- Scott Kostyshak Assistant Professor of Economics University of Florida https://people.clas.ufl.edu/skostyshak/ Index: src/library/stats/man/confint.Rd ===

Re: [Rd] Patch for R-exts.texi

2017-07-08 Thread Scott Kostyshak
On Sat, Jul 08, 2017 at 06:18:25PM +0200, Martin Maechler wrote: > >>>>> Scott Kostyshak > >>>>> on Mon, 3 Jul 2017 02:09:47 -0400 writes: > > > Attached is a patch for R-exts.texi against r72880. Here > > are some of

[Rd] Patch for R-exts.texi

2017-07-03 Thread Scott Kostyshak
" -> x86_64 - One change of "which" -> "that" - The link to Luke's uiowa.edu page involves two changes, removing the duplicate URL and changing the protocol to https. Thanks for your time, Scott -- Scott Kostyshak Assistant Professor of Economics Univer

Re: [Rd] Cursor not behaving properly

2014-11-19 Thread Scott Kostyshak
On Tue, Nov 18, 2014 at 9:50 PM, Scott Kostyshak wrote: > On Mon, Nov 10, 2014 at 10:52 AM, Kaiyin Zhong (Victor Chung) > wrote: >> I found a strange bug in R recently (version 3.1.2): >> >> As you can see from the screenshots attached, when the cursor passes the >

Re: [Rd] Cursor not behaving properly

2014-11-18 Thread Scott Kostyshak
e a bug report at bugs.r-project.org. Scott -- Scott Kostyshak Economics PhD Candidate Princeton University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Turn warnings or notes into errors on CMD check ?

2014-10-11 Thread Scott Kostyshak
environment variable? Any suggestions for the name? Should this be two options or one option with "1" means only turn warnings into errors and "2" means turn both warnings and notes into errors? Scott -- Scott Kostyshak Economics PhD Candidate

Re: [Rd] [patch] Rscript off-by-one error in output

2014-09-20 Thread Scott Kostyshak
On Wed, Jul 9, 2014 at 7:26 PM, Scott Kostyshak wrote: > Rscript eats up the last argument when reporting the command it runs: > > $ Rscript --verbose "/tmp/test.R" one two three > running > '/usr/local/lib/R-devel/lib/R/bin/R --slave --no-restore > --file=/tm

Re: [Rd] last user argument missing from Rscript --verbose

2014-09-19 Thread Scott Kostyshak
/R-3.1.1-inst/bin/R --slave --no-restore -e > commandArgs()' > > [1] "/usr/local64.sfs/app/R/R-3.1.1-inst/bin/exec/R" > [2] "--slave" > [3] "--no-restore" > [4] "-e" > [5] "commandArgs()" > [6] "--args" > > because the '--args' appears anyway and indeed *is* passed to 'R'... > > A better fix would rather suppress that; but I will commit the > above change. -- Scott Kostyshak Economics PhD Candidate Princeton University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [patch] Add support for editor function in edit.default

2014-09-09 Thread Scott Kostyshak
On Tue, Sep 9, 2014 at 2:24 AM, Deepayan Sarkar wrote: > On Sun, Aug 24, 2014 at 9:14 AM, Scott Kostyshak > wrote: >> On Tue, May 20, 2014 at 5:55 AM, Scott Kostyshak >> wrote: >>> Regarding the following extract of ?options: >>> ‘editor’: a non-empty

Re: [Rd] Looking for new maintainer of orphans R2HTML SemiPar cghseg hexbin lgtdl monreg muhaz operators pamr

2014-09-07 Thread Scott Kostyshak
incidentally my recent research is related. Best, Scott -- Scott Kostyshak Economics PhD Candidate Princeton University > > > Best, > Uwe Ligges > > > >> >> -Greg >> >> On Sep 7, 2014, at 12:17 PM, Romain Francois >> wrote: >> >>&

Re: [Rd] [patch] Add support for editor function in edit.default

2014-08-23 Thread Scott Kostyshak
On Tue, May 20, 2014 at 5:55 AM, Scott Kostyshak wrote: > Regarding the following extract of ?options: > ‘editor’: a non-empty string, or a function that is called with a > file path as argument. > > edit.default currently calls the function with three arguments: na

[Rd] [patch] Rscript off-by-one error in output

2014-07-09 Thread Scott Kostyshak
RY=en_US.UTF-8LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base -- Scott Kostyshak Eco

[Rd] [patch] Fix n arg in mclapply call to ngettext

2014-06-29 Thread Scott Kostyshak
ONETARY=en_US.UTF-8LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base Scott --

Re: [Rd] r65998 build error. share/Rd/macros/*: No such file or directory

2014-06-22 Thread Scott Kostyshak
On Sun, Jun 22, 2014 at 11:16 AM, Duncan Murdoch wrote: > On 22/06/2014, 5:07 PM, Scott Kostyshak wrote: >> As of r65998 I'm getting >> /usr/bin/install: cannot stat >> ‘/home/scott/rbuilds/r-devel/repo/share/Rd/macros/*’: No such file or >> directory >

[Rd] r65998 build error. share/Rd/macros/*: No such file or directory

2014-06-22 Thread Scott Kostyshak
ds9q6253n/config.log Scott -- Scott Kostyshak Economics PhD Candidate Princeton University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Encourage exit with nonzero error status in ?last.dump

2014-06-13 Thread Scott Kostyshak
On Fri, Jun 13, 2014 at 5:32 AM, Martin Maechler wrote: >>>>>> Scott Kostyshak >>>>>> on Fri, 13 Jun 2014 02:04:36 -0400 writes: > > > The following example in ?dump.frames options(error = > > quote({dump.frames(to.file = TRUE); q()}

[Rd] Encourage exit with nonzero error status in ?last.dump

2014-06-12 Thread Scott Kostyshak
; q(status = 1)})) Scott -- Scott Kostyshak Economics PhD Candidate Princeton University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] [patch] Add support for editor function in edit.default

2014-05-20 Thread Scott Kostyshak
ON=C attached base packages: [1] stats graphics grDevices utils datasets methods base -- Scott Kostyshak Economics PhD Candidate Princeton University Index: src/library/utils/R/edit.R === --- src/library/utils/R/edi

Re: [Rd] "Name partially matched in data frame"

2014-04-30 Thread Scott Kostyshak
return(a) + a <- x[[name, exact = FALSE]] + return(a) + } > > dataf$long [1] 5 > I hope you don't do that though. Another option is to use the more verbose dataf[["long", exact = FALSE]]. Scott -- Scott Kostyshak Economics PhD Candidate Princeton Uni

Re: [Rd] "Name partially matched in data frame"

2014-04-30 Thread Scott Kostyshak
On Wed, Apr 30, 2014 at 3:33 PM, Scott Kostyshak wrote: > Hi Dennis, > > On Wed, Apr 30, 2014 at 3:03 PM, Fisher Dennis wrote: >> R 3.1.0 >> OS X >> >> Colleagues, >> >> I recently updated to 3.1.0 and I have encountered >> Warning

[Rd] duplication regression (?)

2014-04-14 Thread Scott Kostyshak
s methods base > Scott -- Scott Kostyshak Economics PhD Candidate Princeton University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [PATCH] suggestions for R-lang manual

2014-03-04 Thread Scott Kostyshak
On Mon, Mar 3, 2014 at 7:48 AM, Martin Maechler wrote: >>>>>> Scott Kostyshak >>>>>> on Thu, 27 Feb 2014 16:43:02 -0500 writes: > > > On Thu, Nov 21, 2013 at 1:17 AM, Scott Kostyshak > wrote: > >> Attached is

Re: [Rd] [PATCH] suggestions for R-lang manual

2014-02-27 Thread Scott Kostyshak
On Thu, Nov 21, 2013 at 1:17 AM, Scott Kostyshak wrote: > Attached is a patch with suggestions for the R-lang manual at r64277. > > Below are a few comments (some are implemented in the patch): > > In the section "Objects", there is a table introduced by "The &

Re: [Rd] help page of warnings()

2013-12-29 Thread Scott Kostyshak
> Again, thank you for your detailed response, I hope that the case I am > making is clearer now. Thank you for giving more details on what you're trying to accomplish. Scott -- Scott Kostyshak Economics PhD Candidate Princeton University > Best regards, > Elad Zippory &

Re: [Rd] help page of warnings()

2013-12-28 Thread Scott Kostyshak
iving more suggestions and wouldn't be surprised if others disagree. I hope you send more messages like the one you just sent because I'm interested in understanding what R users find confusing. Best regards, Scott [1] an old but related Stack Overflow question: http://stackoverfl

[Rd] [PATCH] suggestions for R-lang manual

2013-11-20 Thread Scott Kostyshak
t a multiple of shorter object length > Regarding -The arguments in the call to the generic are rematched with the -arguments for the method using the standard argument matching mechanism. -The first argument, i.e.@: the object, will have been evaluated. - this information is duplicated. Se

Re: [Rd] [PATCH] minor suggestions for R-ints manual

2013-11-06 Thread Scott Kostyshak
On Tue, Nov 5, 2013 at 11:43 AM, Martin Maechler wrote: >>>>>> Scott Kostyshak >>>>>> on Sat, 12 Oct 2013 17:50:52 -0400 writes: > > > Attached is a patch with minor suggestions for the R-ints > > manual at r64048. The most substant

[Rd] [PATCH] minor suggestions for R-ints manual

2013-10-12 Thread Scott Kostyshak
since 2001 only two exist, `base' and `grid'. Is the year 2001 correct? I base it on the date of the commit that introduced the "6 years" string and on the date of grid 0.1. Scott -- Scott Kostyshak Economics PhD Candidate Princeton University Index: tru

Re: [Rd] Possible POSIXlt / wday glitch & bugs.r-project.org status

2013-10-04 Thread Scott Kostyshak
]. But also experiencing the same bug using R > installed on Windows 7 from the CRAN binaries. > > For those interested, I've also noted this on the `lubridate` Github issues > page [2], even though this doesn't appear to be a lubridate issu

[Rd] [PATCH] file.access returns success for NA

2013-10-03 Thread Scott Kostyshak
LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base > -- Scott Kostyshak Economics PhD Candidate Princeton University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] tools::md5sum(directory) behavior different on Windows vs. Unix

2013-09-29 Thread Scott Kostyshak
On Mon, Sep 9, 2013 at 3:00 AM, Scott Kostyshak wrote: > tools::md5sum gives a warning if it receives a directory as an > argument on Unix but not on Windows. > > From what I understand, this happens because in Windows a directory is > not treated as a file so fopen returns NU

[Rd] tools::md5sum(directory) behavior different on Windows vs. Unix

2013-09-09 Thread Scott Kostyshak
ent with file.info). Would either patch be considered? Or is this difference encouraged because the concept of a file is different on Unix than on Windows? Scott [1] http://cran.r-project.org/bin/windows/base/rw-FAQ.html#What-should-I-expect-to-behave-differently-from-the-Unix-version -- Sc

Re: [Rd] Comments requested on "changedFiles" function

2013-09-08 Thread Scott Kostyshak
at forces comparison of only size and mtime > from file.info. I don't see a big cost in storing whatever file.info > returns (which is system dependent; on Windows I don't see the user and > group related columns; on Unix I don't see the exe column). > Users might want to detect changes to anything there, and I shouldn't make > it harder for them. > > I've also kept the special-casing of md5sum; it really needs to be wrapped > in suppressWarnings() (on Unix only). And I've kept the options to specify > what changedFiles checks among the file.info columns; I can see that you > might want a snapshot with everything, but sometimes only want to be told > about changes in a subset of the attributes. > > I've uploaded > <http://www.stats.uwo.ca/faculty/murdoch/temp/testpkg_1.1.tar.gz> if anyone > is interested. Works well. Scott -- Scott Kostyshak Economics PhD Candidate Princeton University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Comments requested on "changedFiles" function

2013-09-06 Thread Scott Kostyshak
On Fri, Sep 6, 2013 at 7:40 PM, Scott Kostyshak wrote: > On Fri, Sep 6, 2013 at 3:46 PM, Duncan Murdoch > wrote: >> On 06/09/2013 2:20 PM, Duncan Murdoch wrote: >>> >>> I have now put the code into a temporary package for testing; if anyone >>> i

Re: [Rd] Comments requested on "changedFiles" function

2013-09-06 Thread Scott Kostyshak
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] testpkg_1.0 loaded via a names

Re: [Rd] Comments requested on "changedFiles" function

2013-09-05 Thread Scott Kostyshak
On Thu, Sep 5, 2013 at 6:48 AM, Duncan Murdoch wrote: > On 13-09-04 11:36 PM, Scott Kostyshak wrote: >> >> On Wed, Sep 4, 2013 at 1:53 PM, Duncan Murdoch >> wrote: >>> >>> In a number of places internal to R, we need to know which files have >>>

Re: [Rd] Comments requested on "changedFiles" function

2013-09-04 Thread Scott Kostyshak
cates a change in that test.} > > \code{\link{print}} methods are defined for each of these types. The > \code{\link{print}} method for \code{"changedFilesSnapshot"} objects > displays the arguments used to produce it, while the one for > \code{"changedFiles"

Re: [Rd] [PATCH] remove a duplicate tk function definition (and alphabetize)

2013-09-02 Thread Scott Kostyshak
On Mon, Sep 2, 2013 at 1:37 AM, peter dalgaard wrote: > > On Sep 2, 2013, at 00:42 , Duncan Murdoch wrote: > >> On 13-09-01 3:53 PM, peter dalgaard wrote: >>> >>> On Sep 1, 2013, at 20:08 , Duncan Murdoch wrote: >>> >>>> On 13-09-01 2:45

[Rd] [PATCH] remove a duplicate tk function definition (and alphabetize)

2013-08-31 Thread Scott Kostyshak
alink.gmane.org/gmane.comp.lang.r.devel/33987 -- Scott Kostyshak Economics PhD Candidate Princeton University Index: src/library/tcltk/R/Tk.R === --- src/library/tcltk/R/Tk.R(revision 63780) +++ src/library/tcltk/R/Tk.R(working c

Re: [Rd] tk + browser() can leave R unresponsive

2013-08-03 Thread Scott Kostyshak
On Sat, Aug 3, 2013 at 5:56 AM, Scott Kostyshak wrote: > I don't know if this is a bug. I can reproduce the following on Ubuntu > 12.04.2 and 13.04 64-bit with R version 3.0.1 and with r63479. There > is no difference if R is patched with the fix for PR#15407 or not, > althoug

[Rd] tk + browser() can leave R unresponsive

2013-08-03 Thread Scott Kostyshak
LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base Scott -- Scott Kostyshak Economics PhD Candidate Princeton University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Posting Guide: changed link and other comment

2013-07-19 Thread Scott Kostyshak
-- it is useful reading for this list as well as more generally. Scott -- Scott Kostyshak Economics PhD Candidate Princeton University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R CMD check --outdir=path gives unknown option '--outdir'

2013-07-19 Thread Scott Kostyshak
, before posting. If possible, try > the current R-patched or R-devel version of R (see the FAQ for details), to > see if the problem has already been addressed.' OK. > It has been. Thanks, Scott -- Scott Kostyshak Economics PhD Candidate Princeton University __

Re: [Rd] R CMD check --outdir=path gives unknown option '--outdir'

2013-07-18 Thread Scott Kostyshak
LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=C LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1]

[Rd] two typos in NEWS.Rd

2013-02-23 Thread Scott Kostyshak
Regarding: "\pkg{parallle} (as in e.g. \code{mclapply()}." Two typos: "parallle" -> "parallel" "\code{mclapply()}." -> "\code{mclapply()})" Patch is attached. Scott diff --git a/doc/NEWS.Rd b/doc/NEWS.Rd index c642432..012fd8f 100644 --- a/doc/NEWS.Rd +++ b/doc/NEWS.Rd @@ -928,7 +928,7 @@