Displaying 20 results from an estimated 400 matches similar to: "RFC: make as.difftime more consistent or convenient"
2018 Aug 01
1
RFC: make as.difftime more consistent or convenient
Hello!
you, Emil Bode <emil.bode at dans.knaw.nl>, wrote on Tuesday, July 31, 2018 1:55 PM:
> Some of the changes you're proposing could be made (with effort), but note that you're not
> restricted to providing strings with a format.
> What you're trying to do can be accomplished with as.difftime(12, units='weeks'), see also
> ?as.difftime
>
> Or if
2017 Apr 04
2
Bug report: POSIX regular expression doesn't match for somewhat higher values of upper bound
Dear Sirs,
while
> regexpr('(.{1,2})\\1', 'foo')
[1] 2
attr(,"match.length")
[1] 2
attr(,"useBytes")
[1] TRUE
yields the correct match, an incremented upper bound in
> regexpr('(.{1,3})\\1', 'foo')
[1] -1
attr(,"match.length")
[1] -1
attr(,"useBytes")
[1] TRUE
incorrectly yields no match.
R versions tested:
2.11.1
2017 Apr 05
0
Bug report: POSIX regular expression doesn't match for somewhat higher values of upper bound
>>>>> <dietmar.schindler at manroland-web.com>
>>>>> on Tue, 4 Apr 2017 08:45:30 +0000 writes:
> Dear Sirs,
> while
>> regexpr('(.{1,2})\\1', 'foo')
> [1] 2
> attr(,"match.length")
> [1] 2
> attr(,"useBytes")
> [1] TRUE
> yields the correct match, an
2006 Nov 12
1
outgoing works, incoming fails on asterisk passthrough to inter-tel
Hi everybody,
Well, I've finally got asterisk to to talk nicely with my Intertel pbx.
Currently there is a outside T1 line (e&m wink start, esf, b8zs)
connected to asterisk, and then asterisk connected similarly to my
Intertel pbx. For right now all asterisk is doing is passing calls
between the two.
When I call out from the pbx, I can connect perfectly to the outside
world. When I
2005 Dec 02
0
Bernie Now you can enjoy the convenience of ordering mitigating products from your house at a time that is convenient for you. (PR#8362)
Bernie
Much thanks for letting me see this. It is just what I was trying to find
Rumiko
-------Original Message-------
From: Lindsey [mailto:yqqvog at ohavso.com]
Sent: Fri, 02 Dec 2005 03:57:42 -0400
To: Aleta
Subject: Chang This on line health products e outlet is the greatest I have
ever used.
Hi Nicol,
Manage your PMS by consuming our item. You will definitely find all the
brand
2003 Dec 02
0
How to restart * thru phone "when convenient "
> From: Philipp von Klitzing
> Sent: Tuesday, 02 December, 2003 10:50
> To: asterisk-users@lists.digium.com
> Subject: Re: [Asterisk-Users] How to restart * thru phone "when
convenient"
> > You could use "at" to issue the command at a deferred time.
> Yes, sure, but this ain't that nice "asterisk only". :->
You should be able to place
2014 May 28
1
'restart when convenient'
Hi,
I want to do a scripted 'restart when convenient' on a daily basis. This
used to work, but since i've upgraded to Asterisk 11.7 it seems it's
never convenient to restart the server.
My question: how can i tell *why* it's not convenient to restart the
server?
It used to be some colleague left the receiver OffHook or something like
that, but even when i'm fairly
2009 Feb 01
3
Putting all independent variables in one variable so performing many similar tests is more convenient
I want to do something like this.
avo(q~a+b+c+d+e+f+g+h+i+j+k+l)
avo(r~a+b+c+d+e+f+g+h+i+j+k+l)
avo(s~a+b+c+d+e+f+g+h+i+j+k+l)
(There's likely a better way to do this actually, but I think this'll work.)
How do I define e=a+b+c+d+e+f+g+h+i+j+k+l such that the following works?
avo(q~e)
avo(r~e)
avo(s~e)
Tom
2003 Dec 02
3
How to restart * thru phone "when convenient"
Hi there,
here is my attempt to initiate a "restart when convenient" from a
software SIP phone.
exten => 588,1,Answer
exten => 588,2,Wait(1)
exten => 588,3,Playback(restart-convenient)
exten => 588,4,Wait(1)
exten => 588,5,Authenticate(00000)
exten => 588,6,System(/usr/sbin/asterisk -rx "restart when convenient")
exten => 588,7,Hangup
The problem: We
2009 Nov 19
0
Wishlist: In documentation, say that `+.Date`(Date, difftime) should be called directly or remove 'or an object of class "difftime"' (PR#14072)
Full_Name: Suharto Anggono
Version: 2.8.1
OS: Windows
Submission from: (NULL) (125.161.134.206)
About PR#14067, now I understand why (Date + difftime) does not use '+.Date'.
But, before I understand, it was surprising. The surprise is also reflected in
the post "Problem with +(POSIXt, difftime) dispatching -- WAS: How to create
sequence of constant time interval" in R-help
2007 Mar 22
2
R difftime function: How can we fix the difftime unit?
Hi,
I am trying to take difference of two time objects. I want to fix the
result's unit to minutes. How can I do that?
Here is an example:
> difftime(x, y)
Time difference of 2.030720 hours
> difftime(x, z)
Time difference of 30.34672 mins
where x = '2007-03-05 08:32:58'
y = '2007-03-05 06:31:07'
and z = '2007-03-05 08:02:37'
How can I get answer
2007 Nov 04
5
Restart when convenient
I've moved 1 of our facilities over from 1.2 to 1.4 two weeks back. So
far, the only issue that I've encounted is.
I have a scheduled CRON job that runs at 3am every Sunday, that issues a:
asterisk -rx 'restart when convenient'
The first Sunday that it ran, Asterisk never restarted. The CRON logs
show that it issued the command successfully. This Sunday, it ran but
never
2010 Jun 22
1
New errors with difftime()-objects in 2.11.1 (was Re: Request: difftime method for cut())
On Thu, Jun 10, 2010 at 3:39 PM, Gustaf Rydevik
<gustaf.rydevik at gmail.com> wrote:
> Hi all,
>
> The recent change in 2.11 that made as.numeric() return false on
> difftime-objects broke some of my code that calculated age classes of
> individuals using cut(). While this was no big thing to fix for me, it
> might be wise
> to provide a cut.difftime method to ?stop
2010 Jun 22
1
New errors with difftime()-objects in 2.11.1 (was Re: Request: difftime method for cut())
On Thu, Jun 10, 2010 at 3:39 PM, Gustaf Rydevik
<gustaf.rydevik at gmail.com> wrote:
> Hi all,
>
> The recent change in 2.11 that made as.numeric() return false on
> difftime-objects broke some of my code that calculated age classes of
> individuals using cut(). While this was no big thing to fix for me, it
> might be wise
> to provide a cut.difftime method to ?stop
2009 Nov 16
0
(Date + difftime) and (POSIXt + difftime) does not use date/time arithmetics (PR#14067)
Full_Name: Suharto Anggono
Version: 2.8.1
OS: Windows
Submission from: (NULL) (125.165.81.48)
There is already PR#13369. But, the problem is not just the warning.
C:\Program Files\R\R-2.8.1\bin>R --vanilla
R version 2.8.1 (2008-12-22)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome
2008 Apr 23
1
difftime result in years?
I would like to know how many years (including partial years) are between
two dates.
So difftime("20/11/1962", "20/5/1964", units="years") would be about 1.5
But units of years are not available.
cheers
Worik
[[alternative HTML version deleted]]
2010 Feb 11
2
difftime result for days not an integer?
Anybody have an idea why I would get a non-integer value for the
number of days here?
> difftime('2004-08-05','2001-01-03',units='days')
Time difference of 1309.958 days
Would you just round off?
Best,
Jon
2008 Nov 03
0
Unexpected behavior of difftime in relationship to daylight savings time
Colleagues,
I just encountered some unexpected behavior of difftime in
relationship to the change from daylight savings to standard time. My
understanding is that DST and ST take effect at 2AM. However, the
code below suggests that R (version 2.8.0 in OS X) implements the
change at 2:16AM:
Expected:
> > difftime("2008-11-02 02:01:00", "2008-11-02 00:59:00")
2008 Jun 25
1
Incompatible methods ("+.Date", "Ops.difftime") for "+"
I received a warning about incompatible methods that I don't understand.
The workaround in this example is simple.
What is the reason that these methods are seen as incompatible?
Is there some dangerous consequence of my as.numeric() workaround?
Can a fix to the code base, perhaps similar to my workaround, make this
warning no longer necessary?
I am using R 2.7.0 on Windows.
version.string R
2002 Dec 04
2
difftime arithmetic (PR#2345)
Full_Name: Barry Rowlingson
Version: 1.6.0
OS: RH8 i386
Submission from: (NULL) (148.88.136.205)
Strange things happen if I premultiply a difftime() object with a number.
Example:
> d1 <- difftime(Sys.time(),Sys.time())
> d2 <- 1 * difftime(Sys.time(),Sys.time())
> d3 <- difftime(Sys.time(),Sys.time()) * 1
> d1
Time difference of 0 secs
- thats fine
> d2
[1] 0