Re: [Rd] read.table segfaults

2011-08-26 Thread Scott
It does look like you've got a memory issue. perhaps using as.is=TRUE, and/or stringsAsFactors=FALSE will help as optional arguments to read.table if you don't specify these sorts of things, R can have to look through the file and figure out which columns are characters/factors etc and so the l

[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

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
case - 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, wrote: > Hi Scott, > > It seems like reasonable behavior to me. What result would you expect? > That the second &quo

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 wrote: > Hi Frederick, > > I would expect that any duplicate names in the resulting data.fr

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
ases where 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 wrote: > On 17/02/2018 6:36 PM, frede...@ofb.net wrote: > >> Hi Scott, >> >> Thanks for the patch. I'm not really involve

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, Gabrie

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
nm <- c(names(x), names(y)) if(any(d <- duplicated(nm))) if(sum(d) > 1L) Best, Scott On 21 February 2018 at 08:23, wrote: > Hi Scott, > > I think that's a good idea and I tried your patch on my copy of the > repository. But it looks to me like the r

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
the column 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 wrote: > >>>>> Gabriel Becker > &

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

2018-03-31 Thread Scott Kostyshak
se 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

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

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

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 numb

[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

[Rd] Trivial error in documentation

2019-06-03 Thread David Scott
190 118 149 313 NA NA 299 99 19 194 ...  $ Wind   : num  7.4 8 12.6 11.5 14.3 14.9 8.6 13.8 20.1 8.6 ...  $ Temp   : int  67 72 74 62 56 66 65 59 61 69 ...  $ Month  : int  5 5 5 5 5 5 5 5 5 5 ...  $ Day    : int  1 2 3 4 5 6 7 8 9 10 ... Rega

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 >

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 &

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

2020-01-29 Thread Scott Ritchie
ISNA(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] [R] Use of .Fortran

2010-06-19 Thread David Scott
ain, I at least learnt something about calling 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 n

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] Crash report: regexpr("a{2-}", "")

2010-09-22 Thread David Scott
es utils datasets methods base other 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,

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

[Rd] License statement

2010-12-22 Thread David Scott
nt 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,

Re: [Rd] License statement

2010-12-22 Thread Scott Gonyea
atible AND you intend to distribute your new "package"--that is, distribution external from whichever entity claims ownership. Scott Which was a correction to: The issue is the bundling of the code, contained inside those packages. As long as you're not sourcing material fr

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

2011-02-15 Thread David Scott
turned eliminating the possibility of mistakes and provides clarity for anyone reading the code. David Scott 5. Neatness counts. Code should look nice! Check out how beautiful the functions in MASS look! I want code with spaces and "<- " rather than everything jammed together wi

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

2011-02-15 Thread David Scott
where an early exit 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

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 écr

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

2016-06-20 Thread David Scott
ribution to the R community, I don't approve of software which adds code to your document without informing you. David Scott -- _ David Scott Department of Statistics The University of Auckland, PB 92019

[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] 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] ?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] ?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] 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] 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] 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] 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'

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] 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)

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

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 __

[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

[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

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] [PATCH] remove a duplicate tk function definition (and alphabetize)

2013-08-31 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://perm

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

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

2013-09-04 Thread Scott Kostyshak
t; list containing > \item{added, deleted, changed, unchanged}{character vectors of filenames > from the before > and after snapshots, with obvious meanings} > \item{changes}{a logical matrix with a row for each common file, and a > column for each > comparison test. \code{TRUE} indi

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-06 Thread Scott Kostyshak
(and then fill in the directories with NA)? (2) If I run example(changedFiles) 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 w

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

[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] 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] [PATCH] file.access returns success for NA

2013-10-03 Thread Scott Kostyshak
access(R_ExpandFileName(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

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 byte

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

Re: [Rd] help page of warnings()

2013-12-29 Thread Scott Kostyshak
On Sat, Dec 28, 2013 at 11:19 PM, Elad Zippory 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

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

[Rd] duplication regression (?)

2014-04-14 Thread Scott Kostyshak
LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=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 dataset

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

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

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

2014-05-20 Thread Scott Kostyshak
ptions (stating the possibility that if 'editor' 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-b

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

2014-06-12 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)

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] 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";

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

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

2014-07-09 Thread Scott Kostyshak
0) +++ src/unix/Rscript.c (working copy) @@ -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]); f

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

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-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] last user argument missing from Rscript --verbose

2014-09-19 Thread Scott Kostyshak
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.h

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

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

2014-11-18 Thread Scott Kostyshak
command > 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 fil

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 >

[Rd] Question about Rweb

2011-10-05 Thread Tonidandel, Scott
defunct website. I am at a loss regarding what to do. So, the question is, can someone out there tell me if it is possible to install Rweb on one of my own university servers and where can one go to learn how to do this? Thanks in advance for any advice. Scott T [[alternative HTML version

[Rd] Proper use of suppressPackageStartupMessages in package building

2011-12-12 Thread Scott Chamberlain
packages? Best, Scott Chamberlain [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Undocumented functions

2011-12-16 Thread David Scott
Scott On 16/12/2011 1:01 a.m., Nicola Sturaro Sommacal wrote: Hi! I am building a package. This package will not submitted to CRAN. I write the help files for the most important functions of my package, I cannot write it for all functions. This may sounds strange, but so there! I know that all

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

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

2009-12-10 Thread David Scott
s. David _____ 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,

Re: [Rd] Using SVN + SSH on windows

2010-03-27 Thread David Scott
works 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 syst

[Rd] round(#, digits=x) unreliable for x=2 (PR#9682)

2007-05-14 Thread scott . wilkinson
Full_Name: Scott Wilkinson Version: 2.3.1 OS: WinXP Pro Submission from: (NULL) (140.253.203.4) In the example below round() does not report to the specified number of digits when the last digit to be reported is zero: Compare behaviour for 0.897575 and 0.946251. Ditto for signif(). The number

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

2007-05-21 Thread David Scott
found reply ?apropos will give some useful information David Scott _ David Scott Department of Statistics, Tamaki Campus The University of Auckland, PB 92019 Auckland 1142,NEW ZEALAND Phone: +64

[Rd] garchFit (PR#10698)

2008-02-05 Thread scott . yonker
Full_Name: Scott Yonker Version: R for OSX Cocoa OS: Mac OSX Submission from: (NULL) (24.208.185.211) The garchFit function in the Rmetrics libray cannot estimate ARCH models, meaning that the number of beta terms in the model must be greater than zero. For this function neither p nor q can be

[Rd] Build options for R

2008-03-07 Thread Scott Zentz
Hello Everyone, I had posted the message below to the r-help listserv... >Recently I was given a Java servlet based web calculator that will >call R (libR.so to be exact) but I am having trouble trying to disable R >from requiring --save, --no-save or --vanilla... Is there any way to >build R

[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] significant digits (PR#9682)

2008-06-12 Thread Scott . Wilkinson
nice to include this in signif() Regards, Scott. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf=20 > Of Patrick Carr > Sent: Tuesday, 3 June 2008 11:28 AM > To: [EMAIL PROTECTED] > Cc: Wilkinson, Scott (CLW, Townsville) > Subject: Re: s