(Mainly reply to self)
I found there's a new API VECTOR_PTR_RO. Thanks for adding this!
https://github.com/r-devel/r-svn/commit/d499fab95b1ba23ee7842293030d4af1e69ae0fe
Best,
Yutani
2024年6月9日(日) 14:13 Hiroaki Yutani :
> Sorry to ask about a bit drifted topic, but will there be an alternative
>
Hi all,
I have recently been researching how available.packages and
install.packages filter packages from repositories with additional fields
in their PACKAGES file.
Currently there are some default filters, but users (and R admins) can set
up their own filters by passing a list to the fields arg
Hello, All:
The 'head' and 'tail' functions strip the time from a 'ts' object.
Example:
> head(presidents)
[1] NA 87 82 75 63 50
> window(presidents, 1945, 1946.25)
Qtr1 Qtr2 Qtr3 Qtr4
1945 NA 87 82 75
1946 63 50
Below please find code for 'head.ts' and 'tail.ts' t
It looks like to me the class is being removed explicitly due to the use of
as.numeric()
On Sun, Jun 9, 2024 at 12:04 PM Spencer Graves
wrote:
> Hello, All:
>
>
> The 'head' and 'tail' functions strip the time from a 'ts'
> object.
> Example:
>
>
> > head(presidents)
> [1] NA 87 82 75
Hi Luke, thanks for all your work on R!
I'd like to ask specifically about R_serialize / R_unserialize (and
associated helper functions). These are used by at least a handful of
packages and I don't see them in the list from Yutani.
Are these API functions considered "stable"?
Best,
Travers
On
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
wrote:
>
> Hello, All:
>
>
> The 'head' and