search for: firstn

Displaying 10 results from an estimated 10 matches for "firstn".

Did you mean: first
2024 Jun 09
2
head.ts, tail.ts loses time
...63 50 Below please find code for 'head.ts' and 'tail.ts' that matches 'window'. Comments? Spencer Graves head.ts <- function(x, n=6L, ...){ tmx <- as.numeric(time(x)) # utils:::checkHT(n, d <- dim(x)) if(is.na(n[1]) || n[1]==0)ts(NULL) # firstn <- head(tmx, n[1]) if(is.null(d)){ return(window(x, firstn[1], tail(firstn, 1))) } else{ if(length(n)<2){ return(window(x, firstn[1], tail(firstn, 1))) } else { Cols <- head(1:d[2], n[2]) xn2 <- x[, Cols[1]:tail(Cols, 1)] return(window(xn...
2024 Jun 10
1
head.ts, tail.ts loses time
...#39; that matches > 'window'. > > > Comments? > Spencer Graves > > head.ts <- function(x, n=6L, ...){ > tmx <- as.numeric(time(x)) > # > utils:::checkHT(n, d <- dim(x)) > if(is.na(n[1]) || n[1]==0)ts(NULL) > # > firstn <- head(tmx, n[1]) > if(is.null(d)){ > return(window(x, firstn[1], tail(firstn, 1))) > } else{ > if(length(n)<2){ > return(window(x, firstn[1], tail(firstn, 1))) > } else { > Cols <- head(1:d[2], n[2]) > xn2 <- x[, Cols[1...
2024 Jun 10
2
head.ts, tail.ts loses time
...nts? Spencer Graves >>> >>> head.ts <- function(x, n=6L, ...){ tmx <- >>> as.numeric(time(x)) >>> # >>> utils:::checkHT(n, d <- dim(x)) if(is.na(n[1]) || >>> n[1]==0)ts(NULL) >>> # >>> firstn <- head(tmx, n[1]) if(is.null(d)){ >>> return(window(x, firstn[1], tail(firstn, 1))) } else{ >>> if(length(n)<2){ return(window(x, firstn[1], >>> tail(firstn, 1))) } else { Cols <- head(1:d[2], n[2]) >>> xn2 <- x[, Cols[1]:tail(Cols, 1...
2024 Jun 10
1
head.ts, tail.ts loses time
...> >> Comments? >> Spencer Graves >> >> head.ts <- function(x, n=6L, ...){ >> tmx <- as.numeric(time(x)) >> # >> utils:::checkHT(n, d <- dim(x)) >> if(is.na(n[1]) || n[1]==0)ts(NULL) >> # >> firstn <- head(tmx, n[1]) >> if(is.null(d)){ >> return(window(x, firstn[1], tail(firstn, 1))) >> } else{ >> if(length(n)<2){ >> return(window(x, firstn[1], tail(firstn, 1))) >> } else { >> Cols <- head(1:d[2], n[2...
2024 Jun 11
1
head.ts, tail.ts loses time
...gt; > >>> head.ts <- function(x, n=6L, ...){ tmx <- > >>> as.numeric(time(x)) > >>> # > >>> utils:::checkHT(n, d <- dim(x)) if(is.na(n[1]) || > >>> n[1]==0)ts(NULL) > >>> # > >>> firstn <- head(tmx, n[1]) if(is.null(d)){ > >>> return(window(x, firstn[1], tail(firstn, 1))) } else{ > >>> if(length(n)<2){ return(window(x, firstn[1], > >>> tail(firstn, 1))) } else { Cols <- head(1:d[2], n[2]) > >>> xn2 <- x[,...
2024 Jun 10
1
head.ts, tail.ts loses time
...; >>> head.ts <- function(x, n=6L, ...){ tmx <- > >>> as.numeric(time(x)) > >>> # > >>> utils:::checkHT(n, d <- dim(x)) if(is.na(n[1]) || > >>> n[1]==0)ts(NULL) > >>> # > >>> firstn <- head(tmx, n[1]) if(is.null(d)){ > >>> return(window(x, firstn[1], tail(firstn, 1))) } else{ > >>> if(length(n)<2){ return(window(x, firstn[1], > >>> tail(firstn, 1))) } else { Cols <- head(1:d[2], n[2]) > >>> xn2 <-...
2024 Jun 13
0
head.ts, tail.ts loses time
...gt; > >>> head.ts <- function(x, n=6L, ...){ tmx <- > >>> as.numeric(time(x)) > >>> # > >>> utils:::checkHT(n, d <- dim(x)) if(is.na(n[1]) || > >>> n[1]==0)ts(NULL) > >>> # > >>> firstn <- head(tmx, n[1]) if(is.null(d)){ > >>> return(window(x, firstn[1], tail(firstn, 1))) } else{ > >>> if(length(n)<2){ return(window(x, firstn[1], > >>> tail(firstn, 1))) } else { Cols <- head(1:d[2], n[2]) > >>> xn2 <- x[,...
2014 May 26
1
LDAP: allow pop3, restrict imap
Hello, I have all userdata in a ldapserver. Every user has the right to use pop3. There is no explicit attribute allowing that. It's simply possible. Now I like to add imap. For a starting period I like to restrict, who may use imap. http://wiki2.dovecot.org/Authentication/RestrictAccess mention a solution where I could modify ldap pass_filter. But that require an attribute
2014 Jun 12
1
lazy_expunge mangles dovecot-acl-list
Hi, I think I found a bug in Dovecot 2.1.17 and 2.2.13. In our setup, sometimes ACLs stop working because "dovecot-acl-list" is replaced by an empty file. We found that lazy_expunge is connected to this. To reproduce, create ACLs for "user1" in a folder. Put a mail in that folder and expunge it, so that the folder will be created in the "expunged" namespace.
2014 May 20
2
lazy_expunge and shared folders
Hi, since migration to Dovecot 2.2 I have troubles with lazy_expunge as soon as a user shares a folder. The user the folder is shared to cannot login anymore, dovecot logs Fatal: lazy_expunge: Unknown namespace: '.EXPUNGED/' - When no folder is shared lazy_expunge is working fine, deleted mails are moved to the expunged namespace and can be recovered without any problems. - Sharing