search for: cyclicgroup

Displaying 14 results from an estimated 14 matches for "cyclicgroup".

2019 Aug 15
2
Feature request: non-dropping regmatches/strextract
I do think keeping the default behavior is desirable for backwards compatibility; my suggestion is not to change default behavior but to add an optional argument that allows a different behavior. Although this can be implemented in a user-defined function, retaining empty matches facilitates programmatic use, and seems to be something that should be available in base R. It is available, for
2019 Jun 15
0
Bionic beaver repository issues
...? ? ? ? ? ? ? Recommends: r-doc-html but it is not going to be installed for the first installation attempt. The lines in the first message reflect a later installation attempt after installing from the Ubuntu standard repos. Best,B On Friday, June 14, 2019, 09:17:17 PM CDT, Cyclic Group Z_1 <cyclicgroup-z1 at yahoo.com> wrote: Hello, I appear to have a similar issue as?Willem Ligtenberg (Disco Dingo repository issues,?Thu May 2 19:01:04 CEST 2019), except on a completely fresh installation of Ubuntu?18.04 LTS (Bionic Beaver). After updating and upgrading packages and adding the repo "...
2019 Aug 15
0
Feature request: non-dropping regmatches/strextract
....frame': 3 obs. of 2 variables: $ Name : chr "Groucho" "" "Harpo" $ Address: chr "groucho at marx.com" "chico at marx.com" "" Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Aug 15, 2019 at 11:31 AM Cyclic Group Z_1 <cyclicgroup-z1 at yahoo.com> wrote: > I do think keeping the default behavior is desirable for backwards > compatibility; my suggestion is not to change default behavior but to add > an optional argument that allows a different behavior. Although this can be > implemented in a user-defined func...
2019 Aug 30
0
Feature request: non-dropping regmatches/strextract
...allow strcapture() to accept an atomic vector as a prototype, which would do what you want for regexec() (NA on no match, empty string on empty capture). Then we could call the regexpr()-based function strextract(). What do you think? Michael On Thu, Aug 29, 2019 at 3:27 PM Cyclic Group Z_1 <cyclicgroup-z1 at yahoo.com> wrote: > > Thank you! I greatly appreciate your consideration, though of course it is up to you. I think many people switch to stringr/stringi simply because functions in those packages have some consistent design choices, for example, they do not drop empty/missing matche...
2019 Sep 02
2
Feature request: non-dropping regmatches/strextract
I think that's a good reason for not including this in regmatches; you're right, its name is somewhat suggestive of yielding matches. Also, that sounds like a great design for strcapture with an atomic prototype. Best, CG
2019 Sep 02
0
Feature request: non-dropping regmatches/strextract
...add a new function later that combines the regexpr() and regmatches() steps. The gregexpr() and regexec() inputs are both lists so it's not clear whether a "nomatch" value would be relevant (the elements are empty) in those cases. On Mon, Sep 2, 2019 at 11:38 AM Cyclic Group Z_1 <cyclicgroup-z1 at yahoo.com> wrote: > > I think that's a good reason for not including this in regmatches; you're right, its name is somewhat suggestive of yielding matches. Also, that sounds like a great design for strcapture with an atomic prototype. > > Best, > CG -- Michael La...
2019 Aug 29
2
Feature request: non-dropping regmatches/strextract
Thank you! I greatly appreciate your consideration, though of course it is up to you. I think many people switch to stringr/stringi simply because functions in those packages have some consistent design choices, for example, they do not drop empty/missing matches, which facilitates array-based programming. For example, in the cases where one needs to make a new column in a data.frame (data.table,
2019 Aug 25
2
Conventions: Use of globals and main functions
This seems like a nice idiom; I've seen others use? ? if(!interactive()){? ? ? ? main()? ? }to a similar effect. Best,CG On Sunday, August 25, 2019, 01:16:06 AM CDT, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote: This is what I usually put in scripts: if (is.null(sys.calls())) { ? main() } This is mostly equivalent to the Python idiom. It the script runs from Rscript, then it
2019 Aug 28
0
Conventions: Use of globals and main functions
...hand I am not sure what the main()-idiom would actually add to the table other than allowing for the dual use of function definition and function execution code in the same script - which we agreed upon is bad practice. Best, Peter Am Mi., 28. Aug. 2019 um 17:58 Uhr schrieb Cyclic Group Z_1 < cyclicgroup-z1 at yahoo.com>: > I appreciate the well-thought-out comments. > > To your first point, I am not sure what "glattering" means precisely (a > Google search revealed nothing useful), but I assume it means something to > the effect of overfilling the main namespace with t...
2019 Aug 28
0
Conventions: Use of globals and main functions
...ything except returing a value. Using pure functions mainly prevents 99% of the problems with global state while using more name spaces does only chop these kind of problems into smaller and thus more numerous problems. Best, Peter Am Mi., 28. Aug. 2019 um 05:56 Uhr schrieb Cyclic Group Z_1 < cyclicgroup-z1 at yahoo.com>: > > That beeing said I think the main task of scripts is to get things done > via running them end to end in a fresh session. Now, it very well may > happen that a lot of stuff has to be done. Than splitting up scripts into > subscripts and sourcing them from a...
2019 Aug 15
1
Feature request: non-dropping regmatches/strextract
...$ Name : chr "Groucho" "" "Harpo" > $ Address: chr "groucho at marx.com" "chico at marx.com" "" > Bill Dunlap > TIBCO Software > wdunlap tibco.com > > > On Thu, Aug 15, 2019 at 11:31 AM Cyclic Group Z_1 < > cyclicgroup-z1 at yahoo.com> wrote: > >> I do think keeping the default behavior is desirable for backwards >> compatibility; my suggestion is not to change default behavior but to add >> an optional argument that allows a different behavior. Although this can be >> implemented in...
2019 Jun 15
2
Bionic beaver repository issues
Hello, I appear to have a similar issue as?Willem Ligtenberg (Disco Dingo repository issues,?Thu May 2 19:01:04 CEST 2019), except on a completely fresh installation of Ubuntu?18.04 LTS (Bionic Beaver). After updating and upgrading packages and adding the repo "deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/" and associated key, attempting to install r-base fails due to
2019 Aug 28
2
Conventions: Use of globals and main functions
I appreciate the well-thought-out comments. To your first point, I am not sure what "glattering" means precisely (a Google search revealed nothing useful), but I assume it means something to the effect of overfilling the main namespace with too many names. Per Norm Matloff's counterpoint in The Art of R Programming regarding this issue, this is mostly avoided by well-defined,
2019 Aug 28
2
Conventions: Use of globals and main functions
>?That beeing said I think the main task of scripts is to get things done via running them end to end in a fresh session. Now, it very well may happen that a lot of stuff has to be done. Than splitting up scripts into subscripts and sourcing them from a meta script is a straightforward solution. It might also be that some functionality is put into functions to be reused in other places. This