similar to: Splitting a time + duration into a series of periods

Displaying 20 results from an estimated 800 matches similar to: "Splitting a time + duration into a series of periods"

2019 Oct 21
3
S4SXP type vs S4 object bit?
I'm trying to understand the R internals a bit better and reading over the documentation. I see that there is a bit related to whether an object is S4 (S4_OBJECT_MASK), and also the object type S4SXP (25). The documentation makes clear that these two things aren't the same. But in practice, will the S4-bit and object type ever disagree for S4 objects? I know that one can set the bit
2006 Jun 12
1
cumulative time durations of specified periods (chron)
Hi, Say we have two chron vectors representing start and end date/times of an event, respectively: R> (xfrom <- chron(seq(1.25, 11, 3.25))) [1] (01/02/70 06:00:00) (01/05/70 12:00:00) (01/08/70 18:00:00) [4] (01/12/70 00:00:00) R> (xto <- chron(as.numeric(xfrom) + seq(1.5, 2.25, 0.25))) [1] (01/03/70 18:00:00) (01/07/70 06:00:00) (01/10/70 18:00:00) [4] (01/14/70 06:00:00) and we
2004 Jul 01
4
Pager Notification
Hi; Before I tell a customer that this would require custom development I figured I would ask here. Does Asterisk support pager notification of new voicemails out of the box? Or do I need an AGI script to do that? Also, if I want to call a number from an automated program in Asterisk and get the DTMF tones entered by the user on the other side, is there an easy way to do this? Best
2019 Jan 15
4
Objectsize function visiting every element for alt-rep strings
I have a toy alt-rep string package that generates randomly seeded strings. example: library(altstringisode) x <- altrandomStrings(1e8) head(x) [1] "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... etc object.size(1e8) Object.size will call the set_altstring_Elt_method for every single element, materializing (slowly) every element of the vector. This
2019 Apr 13
3
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
Hi Inaki, > "Performant"... in terms of what. If the cost of copying the data > predominates over the computation time, maybe you didn't need > parallelization in the first place. Performant in terms of speed. There's no copying in that example using `mclapply` and so it is significantly faster than other alternatives. It is a very simple and contrived example, but
2019 Apr 12
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
Just throwing my two cents in: I think removing/deprecating fork would be a bad idea for two reasons: 1) There are no performant alternatives 2) Removing fork would break existing workflows Even if replaced with something using the same interface (e.g., a function that automatically detects variables to export as in the amazing `future` package), the lack of copy-on-write functionality would
2019 Jan 31
2
Object.size() should not visit every element for alt-rep strings, or there should be an altstring_objectsize_method
Below is a toy alt-rep string example, that generates N random strings: https://gist.github.com/traversc/a48a504eb062554f2d6ff8043ca16f9c example: `x <- altrandomStrings(1e8)` `head(x)` [1] "2PN0bdwPY7CA8M06zVKEkhHgZVgtV1" "5PN2qmWqBlQ9wQj99nsQzldVI5ZuGX" ... `object.size(1e8)` Object.size will call the `set_altstring_Elt_method` for every single element, materializing
2020 Apr 17
3
Demo for linking native routines between R packages
Dear Davis, Thank you a lot for sharing this, and I am happy that I was not the only one who need to do it once to learn:) I proposed to add my repo to the manual. I think it makes sense to add both of ours, if possible, or we could merge them together and add that to the manual. Long-term URL stability is apparently an issue, but I think we may find a solution there. Anyway, thanks a lot for
2004 May 07
4
Cisco 7940 Phones as paging system?
Hi all; I have been searching for an answer to a question that a customer asked me and I have only found a few older answers. So, wanting to find out if anyone has any experience with this issue and can help provide me with some advice. I have a customer which is strongly interested in using Asterisk as a PBX. One of the core requirements, however, is that the system MUST be able to
2004 Apr 02
1
Newbie: ISDN and Capacity Planning
Hi; I am in the process of planning a PBX/Voice mail system for a business with an ISDN phone system and somewhere on the order of 12 internal phones. The ISDN system appears to be a Primary Rate Interface, though this may be irrelevent because receptionists answer all inbound telephone calls before possibly transferring via the PBX, and most calls do not get transferred. Telephone use
2024 May 11
1
[External] R hang/bug with circular references and promises
On Sat, 11 May 2024, Travers Ching wrote: > The following code snippet causes R to hang. This example might be a > bit contrived as I was experimenting and trying to understand > promises, but uses only base R. > > It looks like it is looking for "not_a_variable" recursively but since > it doesn't exist it goes on indefinitely. > > x0 <- new.env() > x1
2024 May 11
1
[External] R hang/bug with circular references and promises
On Sat, May 11, 2024 at 9:34?AM luke-tierney--- via R-devel <r-devel at r-project.org> wrote: > > On Sat, 11 May 2024, Travers Ching wrote: > > > The following code snippet causes R to hang. This example might be a > > bit contrived as I was experimenting and trying to understand > > promises, but uses only base R. > > This has nothing to do with promises.
2005 Sep 06
9
civil emergency comms: Asterisk + HAM
The disaster in the Gulf coast and the less than optimal initial response suggests to me that citizens must shoulder more responsibility for emergency management. Communications loss must have played a large role in the failures that occurred. I can't help but wonder if there are fewer ham radio operators today and that if there were more, maybe they could make a difference in future
2003 Sep 05
0
Finding periods, sort of.
A student of mine has 110 similarly structured multivariate time series, and we're interested in methods that are practical for thousands of them. Basically each series describes a series of musical notes, and certain properties of these notes are recorded. The same set of properties is recorded for each series. The event times are irregular. The number of events and the event times are
2002 Apr 18
2
Changing tick mark labels
Hello, Can anyone help me out with this problem? After performing logistic regressions and testing the significance with likelihood ratios, I have plotted the results using "termplot". I am wondering, how to get the names of my variables to appear on the x-axis rather than ascending numbers? I have used: termplot(fm, se=T, axes=FALSE, col.se="black") axis(1, 1:4,
2011 Jan 03
2
Sharing user folders doesn't work when users have periods in names.
I am using period as an IMAP separator with Maildir directories and I cannot share folders where the user has a period in their name. Suppose I log in as 'some.user' and do: SETACL INBOX mailtest at example.co.uk +lrwstipekxacd /var/mail/virtual/users/some.user/Maildir/dovecot-acl is created, with appropriate contents and shared-mailboxes.db gains an entry for
2004 Mar 18
1
termplot has problems with a single term (fix included) (PR#6675)
The bug exists on R-1.9.0-alpha compiled the 10/3. Termplot has a problem if either the model only contains a single term or if asked to plot a single term. In addition there are problems with the option se = TRUE. Analysis: termplot starts with terms <- if (is.null(terms)) predict(model, type = "terms", se = se) else predict(model, type = "terms", se = se,
2012 Mar 29
1
Adding duration (hh:mm:ss)\Converting factor column into duration class
Hi All, I have a data frame: Time1 Time2 1 176:46:10 41:48:06 2 171:28:57 61:19:10 3 178:25:15 34:05:35 4 74:04:20 25:01:55 5 136:11:20 37:59:32 6 138:17:17 30:22:27 7 183:04:48 29:25:02 8 179:35:01 19:29:44 > str(df) 'data.frame': 8 obs. of 2 variables: $ Time1: Factor w/ 583 levels
2005 Aug 10
2
Firewall will definately increase jitters in your voice conversation
Hi, If you will put firewall, then i think you will get high latency and consequently you will hear voice jitter in your conversation. so avoid putting firewall. Regards Lokesh Portugal mail lokeshkumar80@yahoo.co.in ____________________________________________________ Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to
2003 Jan 23
2
SWAT port change
Hi Folks, I have a conflict on port 901 which is the default for SWAT. I tried to reassign it to port 902 in /etc/services and this did not work. Does any one know how to re-assign the port number for SWAT? (We use AIX) Thanks