I want to write an R function using R's C interface that takes a 2-column
matrix of increasing, non-overlapping integer intervals and returns a list
with those intervals plus some added intervals, such that there are no
gaps. For example, it should take the matrix rbind(c(5L, 6L), c(7L, 10L),
c(20L
Hi all,
R-exts currently requests that package authors don't include copies of
standard licenses:
> Whereas you should feel free to include a license file in your source
> distribution, please do
> not arrange to install yet another copy of the GNU COPYING or COPYING.LIB
> files but
> refer to
E.g. in https://cran.r-project.org/bin/macosx/contrib/4.0/PACKAGES there is
Package: stringi
Version: 1.5.3
but there is no such binary at
https://cran.r-project.org/bin/macosx/contrib/4.0/
FYI, G.
__
R-devel@r-project.org mailing list
https://stat.et
Abby, my answer was too concise. The thrust is that even if you define a method
for
"[<-" with signature x="matrix" and value ="Matrix", for example, it will never
be used since "matrix" is S3.
If instead x="someS4class" then the S4 method will be invoked.
There may be cases when changing the
If the current semantics is to be kept, one approach might be to insert in the
internal code of "[<-" something like the equivalent of
If(isS4(value))
value <- coreData(value)
with the contract that classes that wish to be treated as equivalent to basic
vector classes define suitable metho