search for: polc1410

Displaying 20 results from an estimated 36 matches for "polc1410".

2024 Sep 29
1
Is there a sexy way ...?
...and I have continued on my own and located functions I see as useful in the stringi and stringr packages to make my silly version ever less silly! LOL! -----Original Message----- From: Rolf Turner <rolfturner at posteo.net> Sent: Saturday, September 28, 2024 10:11 PM To: CALUM POLWART <polc1410 at gmail.com> Cc: avi.e.gross at gmail.com; Lennart Kasserra <lennart.kasserra at gmail.com>; r-help at r-project.org Subject: Re: [R] Is there a sexy way ...? On Sat, 28 Sep 2024 10:26:31 +0100 CALUM POLWART <polc1410 at gmail.com> wrote: > Avi > > I fear this was all...
2024 Sep 29
1
Is there a sexy way ...?
On Sat, 28 Sep 2024 10:26:31 +0100 CALUM POLWART <polc1410 at gmail.com> wrote: > Avi > > I fear this was all a huge social experiment. > > Testing if a post titled "sexy way" would increase engagement... <SNIP> I conjecture that this conjecture was tongue-in-cheek. Be that as it were ??, let me assure everyone that...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...or Error in `dplyr::summarize()`: ! Can't supply both `.by` and `.groups`. Run `rlang::last_trace()` to see where the error occurred. Ding From: Rui Barradas <ruipbarradas at sapo.pt> Sent: Wednesday, June 12, 2024 11:29 AM To: Yuan Chun Ding <ycding at coh.org>; CALUM POLWART <polc1410 at gmail.com> Cc: r-help at r-project.org Subject: Re: [R] my R code worked well when running the first 1000 lines of R code Hello, Inline. ?s 19:?03 de 12/06/2024, Yuan Chun Ding via R-help escreveu: > I am sorry that I know I should provide a dataset that allows to replicate my problem. &g...
2024 Feb 12
1
Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
...was probably an implementation compromise and I've changed that in R-devel. Thanks for the report. More implementation details in the bugzilla report: https://bugs.r-project.org/show_bug.cgi?id=18666 Best Tomas > Iago > > ________________________________ > De: CALUM POLWART <polc1410 at gmail.com> > Enviat el: divendres, 9 de febrer de 2024 18:28 > Per a: Duncan Murdoch <murdoch.duncan at gmail.com> > A/c: Iago Gin? V?zquez <iago.gine at sjd.es>; r-help at r-project.org <r-help at r-project.org> > Tema: Re: [R] Avoiding Delete key function as ...
2025 Apr 07
2
An opinion question, please
We can have different frequencies of data, including Business day data and daily data as our outputs. Both of those will start on Monday. Erin Hodgess, PhD mailto: erinm.hodgess at gmail.com On Mon, Apr 7, 2025 at 4:57?PM CALUM POLWART <polc1410 at gmail.com> wrote: > Clearly something has gone terribly wrong. Everyone is saying use S3. This > is an online discussion... So someone needs to support S4. > > Which frighteningly seems to be me! I'd caution you now... I first used an > S4 object about two weeks ago and st...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...nnot really be answered. Hope this helps, Rui Barradas but still not resolved the problem. > > > > I will restart from the first line my code, it will work again and then I will track down. > > > > Thank you, > > Ding > > > From: CALUM POLWART <polc1410 at gmail.com> > Sent: Wednesday, June 12, 2024 10:52 AM > To: Yuan Chun Ding <ycding at coh.org> > Cc: r-help at r-project.org > Subject: Re: [R] my R code worked well when running the first 1000 lines of R code > > I sometimes think people on this list are quite rude to...
2023 Nov 04
2
I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
I might have factored the gender. I'm not sure it would in any way be quicker. But might be to some extent easier to develop variations of. And is sort of what factors should be doing... # make dummy data gender <- c("Male", "Female", "Male", "Female") WC <- c(70,60,75,65) TG <- c(0.9, 1.1, 1.2, 1.0) myDf <- data.frame( gender, WC, TG ) #
2024 Aug 09
3
If loop
...(I usually return, but return can only return one object and I think you want two or more" You can return any number of objects by putting them in a list and returning the list. Use of "<<-" is rarely a good idea in R. -- Bert On Fri, Aug 9, 2024 at 1:53?AM CALUM POLWART <polc1410 at gmail.com> wrote: > > OK. The fact it's in a function is making things clearer. > > Are you trying to update the values of an object from within the function, > and have them available outside the function. I don't speak functional > programming articulately enough b...
2024 Dec 13
2
[off-topic] crossword
...e examples of the usage > contexts considered here in which someone would "write"? > > This would then make perfect sense to me for the proposed answer: > "codes". > > Yours. > Olivier. > > > On Fri, 13 Dec 2024 > 08:02:32 +0000 CALUM POLWART <polc1410 at gmail.com> wrote: > > > Well to complicate things, I don't think RULES is the answer. > > > > This is a cryptic crossword clue. They usually contain the answer > > twice (well... Cryptically!!) > > > > Writes in C or R, say. > > > > I thi...
2023 Nov 05
1
I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
...programs implicitly do such a factor conversion if needed. An example might be aspects of the ggplot program where you may get a mysterious order of presentation in the graph unless you create a factor with the order you wish to have used and avoid it making one invisibly. From: CALUM POLWART <polc1410 at gmail.com> Sent: Saturday, November 4, 2023 7:14 PM To: avi.e.gross at gmail.com Cc: Jorgen Harmse <JHarmse at roku.com>; r-help at r-project.org; mkzaman.m at gmail.com Subject: Re: [R] I need to create new variables based on two numeric variables and one dichotomize conditional categ...
2024 Feb 09
1
Avoiding Delete key function as 'Quit R' in Rterm when there are no characters in cursor line
Duncan, do you think it's worth to comment this in R-devel list? Iago ________________________________ De: CALUM POLWART <polc1410 at gmail.com> Enviat el: divendres, 9 de febrer de 2024 18:28 Per a: Duncan Murdoch <murdoch.duncan at gmail.com> A/c: Iago Gin? V?zquez <iago.gine at sjd.es>; r-help at r-project.org <r-help at r-project.org> Tema: Re: [R] Avoiding Delete key function as 'Quit R' in Rt...
2024 Dec 13
3
[off-topic] crossword
Well to complicate things, I don't think RULES is the answer. This is a cryptic crossword clue. They usually contain the answer twice (well... Cryptically!!) Writes in C or R, say. I think the answer is CODER If you look up the definition of say in the dictionary one option is: 1. give instructions to or direct somebody to do something with authority (verb) That's the simple
2024 Dec 17
1
Mutate issue help needed
...#39;t support formatting but at least the recipient and sender would be looking at the same text. We don't know what email client they are using and it is off-topic to discuss specific details of email client software on this mailing list. On December 17, 2024 8:31:28 AM PST, CALUM POLWART <polc1410 at gmail.com> wrote: >Am I being "thick" here >.. > >mutate(data, *# text > >Is interpretated as mutate (data, * > >The star is the character... > >(Data is the line above being piped) > >Why have the comments been *'d?. Is that the source error...
2024 Aug 09
2
If loop
OK. The fact it's in a function is making things clearer. Are you trying to update the values of an object from within the function, and have them available outside the function. I don't speak functional programming articulately enough but basically v <- 1 funA <- function() { v <- v+1 } funA() cat (v) # 1 You either return the v from the function so funB <- function() {
2024 Sep 26
1
Problem with converting grib file to excel
...for me the dataset file did not come through. I will look at it > if it can be made available. It does look like the finial step of reading > the data into raster failed, so then did the rest of th commands. > > -Roy > > > > On Sep 25, 2024, at 3:24 PM, CALUM POLWART <polc1410 at gmail.com> wrote: > > > > Noticeable lack of silence in the group on this one. > > > > I've not got time to test currently. But my experience of geo location > > files - they often had more than 2 dimensional data. In other words you > > might have a bo...
2024 Sep 26
1
Problem with converting grib file to excel
...ataset file did not come through. I will look at it if it can be made available. It does look like the finial step of reading the data into raster failed, so then did the rest of th commands. >> >> -Roy >> >> >> > On Sep 25, 2024, at 3:24 PM, CALUM POLWART <polc1410 at gmail.com <mailto:polc1410 at gmail.com>> wrote: >> > >> > Noticeable lack of silence in the group on this one. >> > >> > I've not got time to test currently. But my experience of geo location >> > files - they often had more than 2 dim...
2024 Sep 26
1
Problem with converting grib file to excel
...t; >> if it can be made available. It does look like the finial step of > reading > >> the data into raster failed, so then did the rest of th commands. > >> > >> -Roy > >> > >> > >> > On Sep 25, 2024, at 3:24 PM, CALUM POLWART <polc1410 at gmail.com> > wrote: > >> > > >> > Noticeable lack of silence in the group on this one. > >> > > >> > I've not got time to test currently. But my experience of geo location > >> > files - they often had more than 2 dimensional...
2024 Sep 28
2
Is there a sexy way ...?
Avi I fear this was all a huge social experiment. Testing if a post titled "sexy way" would increase engagement... On Sat, 28 Sep 2024, 07:21 , <avi.e.gross at gmail.com> wrote: > I see a book coming: > "666 ways to do the same thing in R ranked by sexiness." > > Kidding aside, if you look under the covers of some of the functions we > are
2025 Apr 08
1
An opinion question, please
...ote: > > We can have different frequencies of data, including Business day data and > daily data as our outputs. > > Both of those will start on Monday. > > Erin Hodgess, PhD > mailto: erinm.hodgess at gmail.com > > > On Mon, Apr 7, 2025 at 4:57?PM CALUM POLWART <polc1410 at gmail.com> wrote: > > > Clearly something has gone terribly wrong. Everyone is saying use S3. This > > is an online discussion... So someone needs to support S4. > > > > Which frighteningly seems to be me! I'd caution you now... I first used an > > S4 obje...
2024 Jun 12
1
my R code worked well when running the first 1000 lines of R code
...so providing me suggestion. For conflicting issue, What I tried was to add dplyr::pivot_longer or tidyr:: pivot_longer, but still not resolved the problem. I will restart from the first line my code, it will work again and then I will track down. Thank you, Ding From: CALUM POLWART <polc1410 at gmail.com> Sent: Wednesday, June 12, 2024 10:52 AM To: Yuan Chun Ding <ycding at coh.org> Cc: r-help at r-project.org Subject: Re: [R] my R code worked well when running the first 1000 lines of R code I sometimes think people on this list are quite rude to posters. I'm afraid I'...