Displaying 20 results from an estimated 119 matches for "o'keefe".
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 ISO...
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...
2024 Jan 30
2
Basic astronomy package recommendation wanted.
On Tue, 30 Jan 2024, Richard O'Keefe writes:
> Given
> - UTC timestamp
> - a location (latitude,longitude,elevation)
> I want to know
> - the sun angles
> - the moon angles
> - the phase of the moon.
> I looked on CRAN for astronomy, but didn't notice anything th...
2024 Jun 26
1
Converting .grib to excel file
Whoops, sorry, you *did* answer "what went wrong".
> param_names <- c("param1", "param2", "param3", "param4", "param5", "param6")
> extracted_data <- extract(raster_data, param_names, df = TRUE)
#Error in (function (clas...
2023 Nov 06
1
strptime with +03:00 zone designator
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 ISO8601-compliant zone
designators as a bug.
On Mon, 6 Nov 20...
2003 Sep 19
4
3D plotting in R
A student is trying to cluster some data. Tree-building things seem to
be pretty hopeless (we've tried most of the ones in R, I think).
Multi-dimensional scaling produces somewhat tantalising results:
things do clump together somewhat, but the clusters overlap a lot.
I was wondering if these was an artefact of squee...
2024 Sep 06
1
BUG: atan(1i) / 5 = NaN+Infi ?
On 2024-09-06 12:44 a.m., Richard O'Keefe wrote:
> I expect that atan(1i) = (0 + infinity i) and that atan(1i)/5 = (0 +
> infinity i)/5 = (0 + infinity i).
> Here's what I get in C:
> (0,1) = (0, 1)
> atan((0,1)) = (0, inf)
> atan((0,1))/5 = (0, inf)
>
> Note the diff...
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...
2004 Jul 12
2
Association between discrete and continuous variable
What's the reommended way, in R, to determine the strength of
association between a discrete variable and a continuous variable?
Yes, I have read the manuals, trawled the archives, &c.
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....
2024 Mar 02
1
Initializing vector and matrices
"It would be really really helpful to have a clearer idea of what you
are trying to do."
Amen!
But in R, "constructing" objects by extending them piece by piece is
generally very inefficient (e.g.
https://r-craft.org/growing-objects-and-loop-memory-pre-allocation/),
although someti...
2003 Jun 23
7
How can I do a spinning plot in R?
I have found XLispStat's spinning plots illuminating.
I'd like to do the same thing in R.
A dozen or so probes with help, help.search, apropos
haven't turned up anything, and I've even resorted to
grepping through the entire R source distribution
looking for 'spin.*plot', to no avail....
2003 Aug 13
2
What does m$... mean?
While reading through some of the R source code, I have come
across forms such as
m$...
m$... <- e
and I wondered what they meant.
?"$" mentions x$name, but not $...
All it says is
The operators `$' and `$<-' do not evaluate their second argument.
It is translated to a st...
2024 Jun 26
1
Converting .grib to excel file
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 for encoding, decoding, extracting, &c GRIB file by the
Eu...
2024 Jan 30
1
Basic astronomy package recommendation wanted.
There is also the package solrad that might do some of this. It is more intended for calculating solar radiation, which is probably not what you want, but may do other things you may find helpful.
> On Jan 30, 2024, at 5:44?AM, Enrico Schumann <es at enricoschumann.net> wrote:
>
> On Tue, 30 Ja...
2024 Jun 25
2
Converting .grib to excel file
Richard,
Many thanks for your email.
I had attached the grib file to the original email to R help team but it
seems you did not receive it.
Unfortunately, I do not know how to reduce the volume or extract some of
the grib file data to send it for you. The file has the volume of 6
Megabyte.
I can send it by email.
The file...
2024 Mar 02
1
Initializing vector and matrices
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 matrix so constructed never has "holes" in it.
It's better to think of CONSTRUCTING vectors and matrices rather...
2023 Oct 11
2
Problem with compatible library versions
Is that a method where a program that I write today would still run without changes in 10 years?
Tim
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of Richard O'Keefe
Sent: Wednesday, October 11, 2023 8:08 AM
To: Uwe Ligges <ligges at statistik.tu-dortmund.de>...
2019 Jun 06
4
Open a file which name contains a tilde
On Wed, 5 Jun 2019 18:07:15 +0200
Frank Schwidom <schwidom at gmx.net> wrote:
> +> path.expand("a ~ b")
> [1] "a /home/user b"
> How can I switch off any file crippling activity?
It doesn't seem to be possible if readline is enabled and works
correctly....
2003 Sep 04
3
Overlaying graphs
----- Original Message -----
From: "Richard A. O'Keefe" <ok at cs.otago.ac.nz>
To: <paul at datavore.com>
Sent: Thursday, September 04, 2003 2:56 AM
Subject: Re: [R] Overlaying graphs
> I do not know how to overlay the curve graphic on top of hist graphic.
>
> Do you k...