Displaying 20 results from an estimated 300 matches similar to: "head.ts, tail.ts loses time"
2024 Jun 10
2
head.ts, tail.ts loses time
>>>>> Spencer Graves
>>>>> on Mon, 10 Jun 2024 07:50:13 -0500 writes:
> Hi, Gabor et al.: Thanks for this. I should change my
> current application to use either zoo or xts, as Gabor
> suggests.
> However, I was surprised to learn that "[.ts" does NOT
> return an object of class "ts". I see that
2024 Jun 10
1
head.ts, tail.ts loses time
zoo overcomes many of the limitations of ts:
library(zoo)
as.ts(head(as.zoo(presidents)))
## Qtr1 Qtr2 Qtr3 Qtr4
## 1945 NA 87 82 75
## 1946 63 50
xts also works here.
On Sun, Jun 9, 2024 at 12:04?PM Spencer Graves
<spencer.graves at prodsyse.com> wrote:
>
> Hello, All:
>
>
> The 'head' and 'tail' functions strip the time
2024 Jun 10
1
head.ts, tail.ts loses time
Hi, Gabor et al.:
Thanks for this. I should change my current application to use either
zoo or xts, as Gabor suggests.
However, I was surprised to learn that "[.ts" does NOT return an
object of class "ts". I see that "head.default" and "head.matrix" both
call "[", so "head" cannot return a ts object, because "["
2024 Jun 10
1
head.ts, tail.ts loses time
Hi, Martin et al.:
On 6/10/24 9:32 AM, Martin Maechler wrote:
>>>>>> Spencer Graves
>>>>>> on Mon, 10 Jun 2024 07:50:13 -0500 writes:
>
> > Hi, Gabor et al.: Thanks for this. I should change my
> > current application to use either zoo or xts, as Gabor
> > suggests.
>
>
> > However, I was
2024 Jun 11
1
head.ts, tail.ts loses time
It isn't really clear that it can't work. This does work by inserting NA's.
library(zoo)
as.ts(as.zoo(lynx)[ c(1:3, 7) ] )
## Time Series:
## Start = 1821
## End = 1827
## Frequency = 1
## [1] 269 321 585 NA NA NA 3928
On Mon, Jun 10, 2024 at 10:32?AM Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
>
> >>>>> Spencer Graves
2024 Jun 13
0
head.ts, tail.ts loses time
> It isn't really clear that it can't work. This does work by inserting NA's...
>
> library(zoo)
> as.ts(as.zoo(lynx)[ c(1:3, 7) ] )
If by 'this' you mean indexing, it would be very confusing and error prone for expressions like lynx[c(1:3, 7)] (lynx is from class 'ts') to return a ts object with NA's inserted and, even more so, since this has been
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
2008 May 07
2
Wine and translation (memories)
I think we will take over to finish the missing parts of the German and French translation.
To do this and since I do not want to play around with the .rc format, Trados can directly process a .rc file without the next to process back and forth to another format and because for the 3-4 missing files, and since I want to remain consistent with the rest, I will create a Translation Memory under
1999 Apr 27
1
Multivariate ts -- arithmetic bug [ for SOME time-series ] (PR#178)
Paul wrote to R-devel :
PaulG> ts() is giving me problems on Solaris:
PaulG> R : Copyright 1999, The R Development Core Team
PaulG> Version 0.64.0 (April 8, 1999)
PaulG> ...
>> z <- ts(matrix(1:20,10,2), start=c(1969,1), frequency=12)
>> max(abs(z-z))
PaulG> Error: invalid time series parameters specified
>> traceback()
2010 Sep 22
2
Unique subsetting question
Hi all,
I'm looking at a large data set, and I'm interested in removing rows where
only one variable is duplicated. Here's an example:
> presidents
Qtr1 Qtr2 Qtr3 Qtr4
1945 NA 87 82 75
1946 63 50 43 32
1947 35 60 54 55
1948 36 39 NA NA
1949 69 57 57 51
1950 45 37 46 39
1951 36 24 32 23
1952 25 32 NA 32
1953 59
2024 Jun 26
2
Regarding the Security Vulnerability CVE 2024 - 27322
Dear Aishwarya Priyadarshini,
Welcome to R-help! Most people here aren't affiliated with R Foundation.
? Wed, 26 Jun 2024 17:03:37 +0000
"Priya, Aishwarya via R-help" <r-help at r-project.org> ?????:
> I am reaching out to seek your guidance on addressing the security
> vulnerability CVE-2024-27322.
> To address this issue effectively, it appears that we need to
2015 May 22
1
returnValue()
In R devel rev.66393 (2014-08-15) it was possible to do this:
trace(optim, exit = quote(str(returnValue())))
but returnValue() does not seem to be available any more. The above
was useful to get the output of a function when it was called deep
within another function that I have no control over.
Has this been replaced by some other equivalent function?
P.S. This demonstrates that it no
2005 Feb 02
4
(no subject)
can you recommend a good manual for R that starts with a data set and gives
demonstrations on what can be done using R? I downloadedR Langauage
definition and An introduction to R but haven't found them overly useful.
I'd really like to be able to follow some tutorials using a dataset or many
datasets. The datasets I have available on R are
Data sets in package 'datasets':
2009 Dec 08
0
Holiday Gift Perl Script for US Holiday Dummy Regressors
##### BEGIN CODE ######
#!/usr/bin/perl
######
#
# --start, -s = The date you would like to start generating regressors
#--end, -e = When to stop generating holiday regressros
# --scope, -c = D, W for Daily or Weekly respectively (e.g. Does this week
have a particular holiday)
# --file, -f = Ummm where to write the output silly!
#
# **NOTE** The EOM holiday is "End of Month" for
2006 Feb 22
5
Moveable Type import question.
Hello RoRsters'',
I''ve just started my first project with ROR, and frankly it''s pretty
amazing, there are many things that still haven''t "clicked" for me yet
but essentially it''s all coming together.
My first project is a basic blog application to replace a current
Moveable Type based blog. I''ve managed to get the basic functionality
2009 Dec 08
0
Opps Correct Version of Holiday Regressor Perl Script
Here is the correct version. The old version is the redirect only version of
the script.
### BEGIN SCRIPT ####
#!/usr/bin/perl
######
# --start, -s = The date you would like to start generating regressors
#--end, -e = When to stop generating holiday regressros
# --scope, -c = D, W for Daily or Weekly respectively (e.g. Does this week
have a particular holiday)
# --file, -f = Ummm where to write
1998 Nov 16
2
0.63 missing .pl files in etc?
Just grabbed the R-0.63.tar.gz from CRAN. Again during the build make
fails. bin/build-help did not have exec permissions. After that, it
failed for missing *.pl files called from build-help. I just copied
them from an R-devel I had. Then make docs worked. However,
LibIndex was not built. I am on an hpux-pa1.1-hpux-10.20 using egcs:
gcc version egcs-2.92.18 19981101 (gcc2 ss-980609 experimental)
1998 Nov 16
2
0.63 missing .pl files in etc?
Just grabbed the R-0.63.tar.gz from CRAN. Again during the build make
fails. bin/build-help did not have exec permissions. After that, it
failed for missing *.pl files called from build-help. I just copied
them from an R-devel I had. Then make docs worked. However,
LibIndex was not built. I am on an hpux-pa1.1-hpux-10.20 using egcs:
gcc version egcs-2.92.18 19981101 (gcc2 ss-980609 experimental)