[R-pkg-devel] current docker image for ASAN

2024-01-16 Thread Steven Scott
Greetings everyone, though I expect this message is mainly for Dirk. CRAN checks of my bsts/Boom package generate an ASAN error that the CRAN maintainers have asked me to look into. I recall doing this before (this error has been there for several years now) via a docker image that Dirk had set

Re: [R-pkg-devel] portability question

2023-12-20 Thread Steven Scott
2023, at 8:42 AM, Dirk Eddelbuettel wrote: > > > > > > On 20 December 2023 at 11:10, Steven Scott wrote: > > | The Boom package builds a library against which other packages link. > The > > | library is built using the Makevars mechanism using the line > > | > > |

[R-pkg-devel] portability question

2023-12-20 Thread Steven Scott
The Boom package builds a library against which other packages link. The library is built using the Makevars mechanism using the line ${AR} rc $@ $^ A user has asked me to change 'rc' to 'rcs' so that 'ranlib' will be run on the archive. This is apparently needed for certain flavors of macs.

Re: [R-pkg-devel] Wrong mailing list: Could the 100 byte path length limit be lifted?

2023-12-14 Thread Steven Scott
Compiled code is another source of long names. Some libraries are produced by companies with style restrictions that demand LongDescriptiveNames for functions and classes, and which expect file names to match the name of the class contained within. If you've got

Re: [R-pkg-devel] Trouble with long-running tests on CRAN debian server

2023-08-23 Thread Scott Ritchie
Hi Uwe, I agree and have also been burnt myself by programs occupying the maximum number of cores available. My understanding is that in the absence of explicit parallelisation, use of data.table in a package should not lead to this type of behaviour? Best, Scott On Wed, 23 Aug 2023 at 14:30

Re: [R-pkg-devel] Trouble with long-running tests on CRAN debian server

2023-08-21 Thread Scott Ritchie
e x is the input argument to the function) It took some trial and error to get to pass the CRAN tests; the number of columns in the input data was also contributing to the problem. Best, Scott On Mon, 21 Aug 2023 at 14:38, Dirk Eddelbuettel wrote: > > On 21 August 2023 at 16:05, Ivan Kry

Re: [R-pkg-devel] Trouble with long-running tests on CRAN debian server

2023-08-21 Thread Scott Ritchie
.2 GHz): > system.time({ remove_technical_variation(test_data) }) user system elapsed 1.108 0.020 1.130 Runtimes are similar on these two machines when using an older version of ukbnmr that has a 5x- larger test dataset (50 rows instead of 10 rows). Best, Scott On Mon, 21 Aug 2023

[R-pkg-devel] Trouble with long-running tests on CRAN debian server

2023-08-21 Thread Scott Ritchie
}) ``` Kind Regards, Scott Ritchie [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

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

[Rd] Unsigned binary

2022-06-08 Thread Scott McAllister
Good afternoon Are you aware that the current release of R for Windows (4.2.0) is unsigned? Do you have any plans to rectify this ? Thanks, Scott McAllister - Support Engineer Rate Your Experience: Great<https://patchmypc.com/customer-feedback-scott> | Good<https://patchmypc.com

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: [R-pkg-devel] best LICENSE practices: AGPL-3 + LaTeX Project Public License

2021-07-13 Thread Steven Scott
I'll let others discuss the technical details of how to set up the licence files. I want to make sure you know that using AGPL is a good way to ensure that nobody in tech uses your package. Maybe that's intended, but when I was at Google the ONLY software we were specifically prohibited from

Re: [R-pkg-devel] Problems with too much testing

2021-04-16 Thread Steven Scott
One of the basic principles of testing is "test interface, not implementation." Tests that violate this principle become "change detector tests" instead of "correctness tests" and essentially prevent any improvements to the code. In C++ objects have "public" and "private" methods, and the

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

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've ju

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

2020-07-21 Thread Steven Scott
You can often find this kind of code on netlib.org. Just include it with the fortran code in your package. On Tue, Jul 21, 2020 at 11:22 AM Wang, Zhu wrote: > Sorry for not making myself clear: The Fortran subroutine in an R package > needs to call incomplete gamma function. > > -Original

Re: [R-pkg-devel] [External] Re: Interpret feedback: not write testthat-tests in examples

2020-07-16 Thread Steven Scott
I agree with the consensus that documentation is for humans, while tests are for computers. On Thu, Jul 16, 2020, 8:41 PM wrote: > On Thu, 16 Jul 2020, Ben Bolker wrote: > > > FWIW/in defense of the OP, this is a *very* common idiom in the base R > code > > base. There may be some false

Re: [R-pkg-devel] package CatDataAnalysis

2020-06-28 Thread Steven Scott
Charlie, The folks at CRAN try hard to serve everyone, but sometimes they wind up making up rules as they go along. I'd add another sentence or two about the data, perhaps with an eye towards the wide world of "citizen data scientists" who don't know about Alan's book. Then resubmit the package

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

2020-06-12 Thread Scott Kostyshak
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.edu/skostyshak

Re: [R-pkg-devel] clang11 CRAN check and use of Eigen

2020-05-12 Thread Steven Scott
The errors are all around std::ostream. My guess is that Eigen is missing an #include. The missing include was probably included transitively in earlier versions of clang, but clang11 cleaned up some files that didn't need that include themselves, and the downstream file got broken as a result.

Re: [R-pkg-devel] [FORGED] help with ASAN

2020-03-25 Thread Steven Scott
Rolf, I will strive to do better. Please note that you load a package with library(...). Just sayin'. On Wed, Mar 25, 2020 at 6:16 PM Rolf Turner wrote: > > On 26/03/20 10:17 am, Steven Scott wrote: > > > I'm trying to build an ASAN enabled version of my R library &

[R-pkg-devel] help with ASAN

2020-03-25 Thread Steven Scott
I'm trying to build an ASAN enabled version of my R library to help debug errors found by CRAN on my last submission. I'm tantalizingly close, but need some help figuring out what's wrong with my configuration. I'm using a docker container that I think contains a version of R built with the

[R-pkg-devel] Need help building packages to track down ASAN error

2020-03-23 Thread Steven Scott
One of my packages (bsts) appears to have a memory error identified by ASAN. I'm trying to build an ASAN-enabled R+bsts so that I can debug the error. I'm using the rocker image rocker/r-devel-ubsan-clang, loaded and run as follows: docker run --cap-add SYS_PTRACE -e PASSWORD= --rm -p 8787:8787

[Rd] Rinternals.h could expose macros for ISNA and ISNAN for CPLXSXP

2020-01-29 Thread Scott Ritchie
(x.i)) #define ISNAN_COMPLEX(x) (ISNAN(x.r) || ISNAN(x.i)) ``` Best, Scott Ritchie [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

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 o

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
ror 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 University of Florida https://people.clas.ufl.edu/skostyshak/ Index: src

Re: [R-pkg-devel] Linux Errors on RHub

2019-04-23 Thread Steven Scott
y > understand CRAN's position. When you have 1000s of package to test on > different OS, if everything takes too long it would be a disaster. At the > same time, basically the last three days I have been trying to figure out > how to get the times down. > > -Roy > &g

Re: [R-pkg-devel] Linux Errors on RHub

2019-04-23 Thread Steven Scott
Roy, I don't have an answer for you, but I have a similar issue. Does your code happen to have a C++ component that takes a long time to compile? On Tue, Apr 23, 2019 at 5:11 PM Roy Mendelssohn - NOAA Federal via R-package-devel wrote: > > > > -- Forwarded message -- > From: Roy

Re: [R-pkg-devel] long file names in tar

2019-04-18 Thread Steven Scott
wrote: > > On 18 April 2019 at 10:37, Steven Scott wrote: > | My Boom package makes a C++ library available to package authors (mainly > | me). The wrapped library is used outside of R and must comply with > | external style rules such as UseLongDescriptiveNames, and files mu

[R-pkg-devel] long file names in tar

2019-04-18 Thread Steven Scott
My Boom package makes a C++ library available to package authors (mainly me). The wrapped library is used outside of R and must comply with external style rules such as UseLongDescriptiveNames, and files must be named for the class they contain. From time to time a LongDescriptiveFileName, when

Re: [R-pkg-devel] Submitting a package whose unit tests sometimes fail because of server connections

2019-04-16 Thread Steven Scott
I'd mock the tests you want run on Cran and keep live fire tests that you can run manually. Just don't include the live fire stuff in the package. On Tue, Apr 16, 2019, 10:57 AM Will wrote: > Hello everyone, > > I'm sorry to bother you, but I would like some help getting a package ( >

Re: [Rd] Compile R to WebAssembly / Emscripten?

2019-02-27 Thread Scott Chamberlain
Recently Michael Droettboom at Mozilla was asking around about doing for R what they've done for Python here https://github.com/iodide-project/pyodide with the Iodide project S On Tue, Feb 26, 2019 at 11:47 AM Gabriel Becker wrote: > As I recall, the major blocker is that R links against a

[R-pkg-devel] bazel rules for testthat

2019-02-16 Thread Steven Scott
Is anyone on this list using bazel as a build system, and if so have you found a good BUILD rule for unit tests based on testthat? Thanks. [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list

Re: [R-pkg-devel] R package development

2019-01-01 Thread Steven Scott
Also, consider different names. The convention in R is for a probability distribution foo to have dfoo, pfoo, qfoo, and rfoo. I'm not sure what S, F and H stand for in your notation, so maybe consider giving them more descriptive names? If F is for Fisher then dFisherCor or something like that.

Re: [R-pkg-devel] C++11 and deprecated warnings "noise" for auto_ptr

2018-07-19 Thread Steven Scott
Thanks Dirk, This will cut down the size of my compilation logs dramatically. On Thu, Jul 19, 2018 at 6:06 AM Iñaki Úcar wrote: > Great! Many thanks for sharing this, Dirk. > > Iñaki > El jue., 19 jul. 2018 a las 14:37, Dirk Eddelbuettel > () escribió: > > > > > > As some of you may have

Re: [R-pkg-devel] trying to understand an error

2018-06-05 Thread Steven Scott
Thanks Uwe. Will do. On Tue, Jun 5, 2018 at 1:55 PM, Uwe Ligges wrote: > Please ask the Mac maintainer, Simon Urbanek, in such a case where it is > not obvious what is going on. > > Best, > Uwe Ligges > > > > > > On 05.06.2018 18:45, Steven Scott wrote: >

Re: [R-pkg-devel] trying to understand an error

2018-06-05 Thread Steven Scott
If there's anyone willing to take a look at the build errors I would appreciate it. I'm trying to work a bug report from a downstream user, and I think the OSX build has an issue that I don't understand. Thanks. On Thu, May 31, 2018 at 1:49 PM, Steven Scott wrote: > Looking at the Boom pack

[R-pkg-devel] trying to understand an error

2018-05-31 Thread Steven Scott
Looking at the Boom package results page, I see that it has errors on OSX and two flavors of Linux. The OSX install page is here: https://www.r-project.org/nosvn/R.check/r-release-osx-x86_64/Boom-00install.html . I'm trying to understand the nature of the error. The last lines say: clang++

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

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

2018-05-01 Thread Scott Kostyshak
MERIC=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_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C" Thanks for your time, Scott -- Scott Kostyshak Assistant Professor of Economics University of Florida https://people.clas.ufl.edu/skostyshak/ # Ch?vez quantile_type <- 4 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] Fwd: [CRAN-pretest-archived] CRAN submission Boom 0.8

2018-04-21 Thread Steven Scott
Thanks Uwe. On Sat, Apr 21, 2018 at 3:02 PM, Uwe Ligges <lig...@statistik.tu-dortmund.de > wrote: > > > On 21.04.2018 20:06, Steven Scott wrote: > >> No word from the maintainers. >> > > Only one maintainer is reading this list. > > > I submitted

Re: [R-pkg-devel] Fwd: [CRAN-pretest-archived] CRAN submission Boom 0.8

2018-04-21 Thread Steven Scott
No word from the maintainers. I submitted a revised version of the package just now (with an updated date in DESCRIPTION). If someone could look at it in the next few days I'd appreciate it. Thanks. On Wed, Apr 4, 2018 at 3:01 PM, Steven Scott <steve.the.bayes...@gmail.com> wrote: &g

Re: [R-pkg-devel] Fwd: [CRAN-pretest-archived] CRAN submission Boom 0.8

2018-04-04 Thread Steven Scott
Thanks Dirk. IMO the package is in good shape otherwise. I'll wait hear from the CRAN maintainers. S On Wed, Apr 4, 2018 at 2:53 PM, Dirk Eddelbuettel <e...@debian.org> wrote: > > On 4 April 2018 at 14:15, Steven Scott wrote: > | These appear to be caused by an ill formed

[R-pkg-devel] Fwd: [CRAN-pretest-archived] CRAN submission Boom 0.8

2018-04-04 Thread Steven Scott
I've been trying to update the Boom package to the next version, and it hasn't been going so well. Hoping someone can help me figure out what next steps I should take. I got the attached mail from auto-check. From what I can tell the new version of Boom (0.8.0) has two issues. Some long path

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

2018-03-31 Thread Scott Kostyshak
these tests if someone thinks it would be a good idea to double-check them and possibly improve them (e.g., convert them to use identical() instead of `==`). I'm guessing it's not worth the time. Scott [1] https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_pipermail_r-2Dhelp_2015-

Re: [Rd] Duplicate column names created by base::merge() when by.x has the same name as a column in y

2018-02-22 Thread Scott Ritchie
in y has the suffix added? - When `no.dups=FALSE` will the output be the same as it currently (no suffix added to either column)? Or will add the suffix to the column in y? Best, Scott On 22 February 2018 at 22:31, Martin Maechler <maech...@stat.math.ethz.ch> wrote: > >>>>&g

Re: [Rd] Duplicate column names created by base::merge() when by.x has the same name as a column in y

2018-02-20 Thread Scott Ritchie
;- c(names(x), names(y)) if(any(d <- duplicated(nm))) if(sum(d) > 1L) Best, Scott On 21 February 2018 at 08:23, <frede...@ofb.net> wrote: > Hi Scott, > > I think that's a good idea and I tried your patch on my copy of the > repository. But it

Re: [Rd] Duplicate column names created by base::merge() when by.x has the same name as a column in y

2018-02-18 Thread Scott Ritchie
ot;.y" (suffixes[2L]) to this column means it can now be accessed, while keeping the current behaviour of making the key columns always accessible by using the names provided to by.x. I've attached a new patch that has this behaviour. Best, Scott On 19 February 2018 at 05:08, Gabriel Bec

Re: [Rd] Duplicate column names created by base::merge() when by.x has the same name as a column in y

2018-02-17 Thread Scott Ritchie
this occurs but they expect the name of the key column(s) to remain the same). Best, Scott On 18 February 2018 at 11:48, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: > On 17/02/2018 6:36 PM, frede...@ofb.net wrote: > >> Hi Scott, >> >> Thanks for the patch

Re: [Rd] Duplicate column names created by base::merge() when by.x has the same name as a column in y

2018-02-17 Thread Scott Ritchie
The attached patch.diff will make merge.data.frame() append the suffixes to columns with common names between by.x and names(y). Best, Scott Ritchie On 17 February 2018 at 11:15, Scott Ritchie <s.ritchi...@gmail.com> wrote: > Hi Frederick, > > I would expect that any

Re: [Rd] Duplicate column names created by base::merge() when by.x has the same name as a column in y

2018-02-16 Thread Scott Ritchie
ase - I intend to do the same for merge.data.table in the data.table package where I initially encountered the edge case. Best, Scott On 17 February 2018 at 03:53, <frede...@ofb.net> wrote: > Hi Scott, > > It seems like reasonable behavior to me. What result would you expect? > T

[Rd] Duplicate column names created by base::merge() when by.x has the same name as a column in y

2018-02-15 Thread Scott Ritchie
sex.y age.y 1 Max M43 Sebastian M 8 2 Qin F36 Kai-lee F 7 3 Sarah F41Oliver M 5 Warning message: In merge.data.frame(parents, children, by.x = "name", by.y = "parent") : column name ‘name’ is duplicated in the result ``` Kind Regards, Scott Ritchie [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[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: [Rd] Using response variable in interaction as explanatory variable in glm crashes R

2017-10-10 Thread Scott Kostyshak
dexed 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
ise. 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 https://people

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 <skostys...@ufl.edu> > >>>>> on Thu, 20 Jul 2017 03:28:37 -0400 writes: > > >> From ?confint: > > "Computes confidence interv

[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 <skostys...@ufl.edu> > >>>>> on Mon, 3 Jul 2017 02:09:47 -0400 writes: > > > Attached is a patch for R-exts.texi against r72880. Here > >

[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 University

Re: [R-pkg-devel] Encoding problem

2017-01-30 Thread David Scott
d from a given body > of data. ~ John Tukey > > 2017-01-29 13:40 GMT+01:00 David Scott <d.sc...@auckland.ac.nz > <mailto:d.sc...@auckland.ac.nz>>: > > I am trying to add a vignette to xtable showing how to incorporate > some Chinese characters following an e

[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] Cursor not behaving properly

2014-11-19 Thread Scott Kostyshak
On Tue, Nov 18, 2014 at 9:50 PM, Scott Kostyshak skost...@princeton.edu wrote: On Mon, Nov 10, 2014 at 10:52 AM, Kaiyin Zhong (Victor Chung) kindlych...@gmail.com 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

Re: [Rd] Cursor not behaving properly

2014-11-18 Thread Scott Kostyshak
into the session, then you will find the bug reproduced. I am on Ubuntu 14.04, and I have tested this in konsole, guake and gnome-terminal. I can reproduce this, also on Ubuntu 14.04, with gnome-terminal and xterm. If you don't get any response here, please file a bug report at bugs.r-project.org. Scott

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

2014-10-11 Thread Scott Kostyshak
or 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 Princeton University

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 skost...@princeton.edu 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=/tmp/test.R --args one

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

2014-09-19 Thread Scott Kostyshak
- for(i = 1; i ac-1; i++) fprintf(stderr, %s, av[i]); + for(i = 1; i ac; i++) fprintf(stderr, %s, av[i]); in unix/Rscript.c, right ? Yes, I suggested the same patch here: http://r.789695.n4.nabble.com/patch-Rscript-off-by-one-error-in-output-td4693780.html Scott BTW: If one use

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

2014-09-07 Thread Scott Kostyshak
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 rom...@r-enthusiasts.com wrote: I'll pick up operators. Le 7 sept. 2014 à 18:03, Uwe Ligges lig...@statistik.tu

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 skost...@princeton.edu 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

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

2014-07-09 Thread Scott Kostyshak
) @@ -249,7 +249,7 @@ #endif if(verbose) { fprintf(stderr, running\n '%s, cmd); - for(i = 1; i ac-1; i++) fprintf(stderr, %s, av[i]); + for(i = 1; i ac; i++) fprintf(stderr, %s, av[i]); fprintf(stderr, '\n\n); } #ifndef _WIN32 Scott sessionInfo() R Under development (unstable

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

2014-06-29 Thread Scott Kostyshak
=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 -- Scott Kostyshak Economics PhD Candidate Princeton University Index

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

2014-06-22 Thread Scott Kostyshak
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 Commenting out the newly added @for f in $(srcdir)/Rd/macros/*; do \ $(INSTALL_DATA) $${f} $(DESTDIR)$(rsharedir)/Rd/macros; \ done

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 murdoch.dun...@gmail.com 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 Commenting out the newly

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

2014-06-14 Thread Scott Kostyshak
On Fri, Jun 13, 2014 at 5:32 AM, Martin Maechler maech...@stat.math.ethz.ch wrote: Scott Kostyshak skost...@princeton.edu 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()})) is useful

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

2014-06-13 Thread Scott Kostyshak
exits with a 0 error status. Although it's just an example, it's an important one as it's referenced in the 'Details' section of the help file. I think it would be better to encourage exiting with a nonzero error status: options(error = quote({dump.frames(to.file = TRUE); q(status = 1)})) Scott

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

2014-05-20 Thread Scott Kostyshak
' is a function, it might be called with 'name', 'file', and 'title' arguments) or ?edit ? Scott sessionInfo() R Under development (unstable) (2014-05-20 r65677) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8

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 skost...@princeton.edu wrote: Hi Dennis, On Wed, Apr 30, 2014 at 3:03 PM, Fisher Dennis fis...@plessthan.com wrote: R 3.1.0 OS X Colleagues, I recently updated to 3.1.0 and I have encountered Warning messages: ... Name partially

Re: [Rd] Name partially matched in data frame

2014-04-30 Thread Scott Kostyshak
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 University __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] duplication regression (?)

2014-04-14 Thread Scott Kostyshak
=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 -- Scott

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 maech...@stat.math.ethz.ch wrote: Scott Kostyshak skost...@princeton.edu on Thu, 27 Feb 2014 16:43:02 -0500 writes: On Thu, Nov 21, 2013 at 1:17 AM, Scott Kostyshak skost...@princeton.edu wrote: Attached is a patch

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 skost...@princeton.edu 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 following table

Re: [Rd] help page of warnings()

2013-12-29 Thread Scott Kostyshak
On Sat, Dec 28, 2013 at 11:19 PM, Elad Zippory elad.zipp...@gmail.com wrote: Hi Scott, Thank you for your detailed response. (btw, the reason why I didn't link the Stack Overflow question is because I deleted it after I sent the e-mail). Hi Elad, Please keep the conversation on the list

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

2013-11-20 Thread Scott Kostyshak
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. See a few paragraphs up When the method is invoked it is called... Scott -- Scott Kostyshak Economics PhD

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 maech...@stat.math.ethz.ch wrote: Scott Kostyshak skost...@princeton.edu 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 substantial change

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

2013-10-12 Thread Scott Kostyshak
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: trunk/doc/manual/R-ints.texi

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

2013-10-04 Thread Scott Kostyshak
is currently away from his office, so I expect it won't get fixed until he gets back in a few days. https://stat.ethz.ch/pipermail/r-help/2013-October/360958.html Scott ``` ping bugs.r-project.org PING rbugs.research.att.com (207.140.168.137): 56 data bytes Request timeout for icmp_seq 0

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

2013-10-03 Thread Scott Kostyshak
(translateChar(STRING_ELT(fn, i))), modemask); #endif - } else INTEGER(ans)[i] = FALSE; + } else INTEGER(ans)[i] = NA_INTEGER; UNPROTECT(1); return ans; } Comments? Scott sessionInfo() R Under development (unstable) (2013-09-27 r64011) Platform: x86_64-unknown-linux-gnu (64-bit

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 skost...@princeton.edu 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 NULL

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

2013-09-09 Thread Scott Kostyshak
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 -- Scott

Re: [Rd] Comments requested on changedFiles function

2013-09-08 Thread Scott Kostyshak
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

Re: [Rd] Comments requested on changedFiles function

2013-09-06 Thread Scott Kostyshak
) several times, sometimes I get: chngdF changedFiles(snapshot) File changes: mtime md5sum file2 TRUE TRUE and other times I get: chngdF changedFiles(snapshot) File changes: md5sum file2 TRUE I wonder why. Scott sessionInfo() R Under development (unstable) (2013-08-31 r63780

Re: [Rd] Comments requested on changedFiles function

2013-09-06 Thread Scott Kostyshak
On Fri, Sep 6, 2013 at 7:40 PM, Scott Kostyshak skost...@princeton.edu wrote: On Fri, Sep 6, 2013 at 3:46 PM, Duncan Murdoch murdoch.dun...@gmail.com 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 is interested

Re: [Rd] Comments requested on changedFiles function

2013-09-05 Thread Scott Kostyshak
On Thu, Sep 5, 2013 at 6:48 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 13-09-04 11:36 PM, Scott Kostyshak wrote: On Wed, Sep 4, 2013 at 1:53 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: In a number of places internal to R, we need to know which files have changed (e.g

Re: [Rd] Comments requested on changedFiles function

2013-09-04 Thread Scott Kostyshak
a different name than 'dir' be used since 'dir' is a base function? Further, if someone is not very familiar with R (or just not in R mode at the time of reading), they might think that 'dir.create' is calling the create member of the object named 'dir' that you just made. Scott writeBin(1, file.path

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

2013-09-01 Thread Scott Kostyshak
'tkcoords' is defined twice (in the same way) in src/library/tcltk/R/Tk.R. Attached is a patch against r63780 that removes the duplicate definition and alphabetizes the functions. I've read that minor patches such as this should be sent to r-devel [1]. Scott [1] http://permalink.gmane.org

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

2013-08-03 Thread Scott Kostyshak
: [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

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 skost...@princeton.edu 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, although

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

2013-07-19 Thread Scott Kostyshak
packages: [1] stats graphics grDevices utils datasets methods base Should I report this to http://bugs.r-project.org/? Did you? If not, please do (or tell me to if you don't have time). I see nothing in News.Rd on trunk. Scott -- Scott Kostyshak Economics PhD Candidate Princeton

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

2013-07-19 Thread Scott Kostyshak
that, 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

  1   2   >