Displaying 20 results from an estimated 32 matches for "raoknz".
2023 Nov 06
1
strptime with +03:00 zone designator
Thanks to all who replied.
On Mon, 6 Nov 2023 at 18:37, Richard O'Keefe <raoknz at gmail.com> wrote:
> OK, so the consensus is
> (1) One cannot make strptime accept ISO8601-compliant zone designators
> (2) The lubridate package can
> (3) Or one can hack away with regex.
> Lubridate it is, then.
>
> But I do regard strptime's inability to process IS...
2023 Nov 06
2
strptime with +03:00 zone designator
>>>>> Richard O'Keefe
>>>>> on Mon, 6 Nov 2023 18:37:34 +1300 writes:
> Thanks to all who replied. On Mon, 6 Nov 2023 at 18:37,
> Richard O'Keefe <raoknz at gmail.com> wrote:
>> OK, so the consensus is (1) One cannot make strptime
>> accept ISO8601-compliant zone designators (2) The
>> lubridate package can (3) Or one can hack away with
>> regex. Lubridate it is, then.
>>
>> But I do...
2024 Jun 26
1
Converting .grib to excel file
...e a SpatVector (points, lines, polygons), a
data.frame or matrix with (x, y) or (longitude, latitude - in that
order!) coordinates, or a vector with cell numbers.
It does NOT say that the set of locations can be a vector of strings.
On Wed, 26 Jun 2024 at 20:05, Richard O'Keefe <raoknz at gmail.com> wrote:
>
> I'm now inclined to go with 'search for "convert GRIB to CSV".
> https://confluence.ecmwf.int/display/CKB/How+to+convert+GRIB+to+CSV
> is the first line. I know that's not an R solution, but using software
> specifically developed fo...
2023 Nov 06
1
strptime with +03:00 zone designator
...5:00 UTC"
>
> >
>
>
>
> Thanks
>
> Jim Holtman
> *Data Munger Guru*
>
>
> *What is the problem that you are trying to solve?Tell me what you want to
> do, not how you want to do it.*
>
>
> On Sun, Nov 5, 2023 at 3:45?PM Richard O'Keefe <raoknz at gmail.com> wrote:
>
>> I have some data that includes timestamps like this:
>> 2017-02-28T13:35:00+03:00
>> The documentation for strptime says that %z expects
>> an offset like 0300. I don't see any way in the documentation
>> to get it to accept +hh:mm...
2023 Nov 05
3
strptime with +03:00 zone designator
I have some data that includes timestamps like this:
2017-02-28T13:35:00+03:00
The documentation for strptime says that %z expects
an offset like 0300. I don't see any way in the documentation
to get it to accept +hh:mm with a colon separator, and
everything I tried gave me NA as the answer.
Section 4.2.5.1 of ISO 8601:2004(E) allows both the
absence of colons in +hh[mm] (basic format) and
2024 Jun 26
1
Converting .grib to excel file
...you. The file has the volume of 6 Megabyte.
> I can send it by email.
> The file has 6 met parameters and Date (day/month/year hour:minute).
> I want the exported file as excel contains 7 columns (Date + 6 met parameters).
>
>
> On Tue, 25 Jun 2024, 15:54 Richard O'Keefe, <raoknz at gmail.com> wrote:
>>
>> Your message referred to an attached file but there was no attachment,
>> I have no account at that service, so could not download a sample for
>> myself. Does the licence for the data even allow you to send some of
>> it in a message? W...
2024 Jun 25
2
Converting .grib to excel file
...rib file data to send it for you. The file has the volume of 6
Megabyte.
I can send it by email.
The file has 6 met parameters and Date (day/month/year hour:minute).
I want the exported file as excel contains 7 columns (Date + 6 met
parameters).
On Tue, 25 Jun 2024, 15:54 Richard O'Keefe, <raoknz at gmail.com> wrote:
> Your message referred to an attached file but there was no attachment,
> I have no account at that service, so could not download a sample for
> myself. Does the licence for the data even allow you to send some of
> it in a message? Which parameters are you...
2023 Nov 06
1
strptime with +03:00 zone designator
...2017-02-28T13:35:00+03:00"> ymd_hms(x)[1] "2017-02-28 10:35:00 UTC"
>
Thanks
Jim Holtman
*Data Munger Guru*
*What is the problem that you are trying to solve?Tell me what you want to
do, not how you want to do it.*
On Sun, Nov 5, 2023 at 3:45?PM Richard O'Keefe <raoknz at gmail.com> wrote:
> I have some data that includes timestamps like this:
> 2017-02-28T13:35:00+03:00
> The documentation for strptime says that %z expects
> an offset like 0300. I don't see any way in the documentation
> to get it to accept +hh:mm with a colon separator,...
2019 Jun 07
2
[R] Open a file which name contains a tilde
> On Jun 6, 2019, at 2:04 PM, Richard O'Keefe <raoknz at gmail.com> wrote:
>
> How can expanding tildes anywhere but the beginning of a file name NOT be
> considered a bug?
>
>
I think that that IS what libreadline is doing if one allows a whitespace separated list of file names.
As reported in R-help,
https://www.mail-archiv...
2024 Jun 29
0
R related tools - GUI
...ide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 28 Jun 2024 18:59:17 +0330
> From: javad bayat <j.bayat194 at gmail.com>
> To: "Richard O'Keefe" <raoknz at gmail.com>
> Cc: R-help <R-help at r-project.org>
> Subject: Re: [R] Converting .grib to excel file
> Message-ID:
> <CANTxAm+36CqGAH1O6=piex=4X1sPdTD0i7SqT_ywZDNGWsrvgQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear Richard,...
2024 Jun 25
1
Converting .grib to excel file
...file has the volume of 6
> Megabyte.
> I can send it by email.
> The file has 6 met parameters and Date (day/month/year hour:minute).
> I want the exported file as excel contains 7 columns (Date + 6 met
> parameters).
>
>
> On Tue, 25 Jun 2024, 15:54 Richard O'Keefe, <raoknz at gmail.com> wrote:
>
>> Your message referred to an attached file but there was no attachment,
>> I have no account at that service, so could not download a sample for
>> myself. Does the licence for the data even allow you to send some of
>> it in a message? Which...
2024 Mar 02
1
Initializing vector and matrices
...e for basic
operations like vector/matrix, etc. construction to do so. When this
is not possible, I suspect "optimal" efficient strategies for
allocating space to build objects gets you into the weeds of how R
works.
Cheers,
Bert
On Sat, Mar 2, 2024 at 1:02?AM Richard O'Keefe <raoknz at gmail.com> wrote:
>
> The matrix equivalent of
> x <- ...
> v <- ...
> x[length(x)+1] <- v
> is
> m <- ...
> r <- ...
> m <- rbind(m, r)
> or
> m <- ...
> k <- ...
> m <- cbind(m, c)
>
> A vector or matr...
2023 Apr 05
1
on lexical scoping....
R *does* search the environment stack.
> search()
[1] ".GlobalEnv" "package:stats" "package:graphics"
[4] "package:grDevices" "package:utils" "package:datasets"
[7] "package:methods" "Autoloads" "package:base
What you seem to be missing is that a package may contain
bindings that it
2023 Oct 13
1
if-else that returns vector
?ifelse
'ifelse' returns a value with the same shape as 'test' which is
filled with elements selected from either 'yes' or 'no' depending
on whether the element of 'test' is 'TRUE' or 'FALSE'.
This is actually rather startling, because elsewhere in the
S (R) language, operands are normally replicated to the length
of the longer.
2019 Jun 08
0
[R] Open a file which name contains a tilde
...nd()
when it *should*, to be consistent with the documentation,
be calling tilde_expand_word().
as separate elements of the character vector.
On Sat, 8 Jun 2019 at 04:10, Berry, Charles <ccberry at ucsd.edu> wrote:
>
>
> > On Jun 6, 2019, at 2:04 PM, Richard O'Keefe <raoknz at gmail.com> wrote:
> >
> > How can expanding tildes anywhere but the beginning of a file name NOT be
> > considered a bug?
> >
> >
>
> I think that that IS what libreadline is doing if one allows a whitespace
> separated list of file names.
>
> As r...
2025 May 23
1
Why is there no macro facility for R?
R is closely modelled on S. S was always designed to interoperate
well with UNIX tools.
Unix has always had cpp (for c-like languages) and m4
(general-purpose) as outboard macro processors.
Then too, the classic S Blue Book explained how to do "computing on
the language'",
see section 5 of R Language Definition,
so the AST-based macro processor for R is called (drum roll please) R.
2023 Jan 11
1
return value of {....}
I am more than a little puzzled by your question.
In the construct {expr1; expr2; expr3} all of the
expressions expr1, expr2, and expr3 are evaluated,
in that order. That's what curly braces are FOR.
When you want some expressions evaluated in a
specific order, that's why and when you use curly
braces. If that's not what you want, don't use them.
Complaining about it is like
2019 Jun 08
0
[R] Open a file which name contains a tilde
...n,
> be calling tilde_expand_word().
>
>
>
> as separate elements of the character vector.
>
>
>
> On Sat, 8 Jun 2019 at 04:10, Berry, Charles <ccberry at ucsd.edu> wrote:
>
>>
>>
>>> On Jun 6, 2019, at 2:04 PM, Richard O'Keefe <raoknz at gmail.com> wrote:
>>>
>>> How can expanding tildes anywhere but the beginning of a file name NOT be
>>> considered a bug?
>>>
>>>
>>
>> I think that that IS what libreadline is doing if one allows a whitespace
>> separated list of...
2023 Jan 16
1
return value of {....}
...any people like packages such as in the tidyverse because they
manage to make some changes, for better and often for verse.
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of Sorkin, John
Sent: Sunday, January 15, 2023 8:08 PM
To: Richard O'Keefe <raoknz at gmail.com>; Valentin Petzel <valentin at petzel.at>
Cc: R help Mailing list <r-help at r-project.org>
Subject: Re: [R] return value of {....}
Richard,
I sent my prior email too quickly:
A slight addition to your code shows an important aspect of R, local vs.
global variables:
x...
2024 Jan 30
2
Use of geometric mean for geochemical concentrations
Dear Rich,
It depends how the data is generated.
Although I am not an expert in ecology, I can explain it based on a biomedical example.
Certain variables are generated geometrically (exponentially), e.g. MIC or Titer.
MIC = Minimum Inhibitory Concentration for bacterial resistance
Titer = dilution which still has an effect, e.g. serially diluting blood samples;
Obviously, diluting the