Displaying 20 results from an estimated 23 matches for "enchufa2".
2018 Feb 20
2
How to modify dots and dispatch NextMethod
Hi all,
Not sure if this belongs to R-devel or R-package-devel. Anyways...
Suppose we have objects of class c("foo", "bar"), and there are two S3
methods c.foo, c.bar. In c.foo, I'm trying to modify the dots and
forward the dispatch using NextMethod without any success. This is
what I've tried so far:
c.foo <- function(..., recursive=FALSE) {
dots <-
2017 Dec 18
2
Dialect for shell scripts
...; http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_04
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
> --
> I?aki ?car
> http://www.enchufa2.es
> @Enchufa2
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
2018 Feb 21
0
How to modify dots and dispatch NextMethod
I've set up a repo with a reproducible example of the issue described
in my last email:
https://github.com/Enchufa2/dispatchS3dots
I?aki
2018-02-20 19:33 GMT+01:00 I?aki ?car <i.ucar86 at gmail.com>:
> Hi all,
>
> Not sure if this belongs to R-devel or R-package-devel. Anyways...
>
> Suppose we have objects of class c("foo", "bar"), and there are two S3
> methods c.f...
2017 Dec 17
2
Dialect for shell scripts
Dear all,
During a recent package submission, we were highlighted that some lines
in our configure script didn't follow the correct syntax. The lines
looked like this:
x=$(($y/10))
We were indicated at the time that this is because the statement does
not use Bourne shell syntax, which is absolutely true, and also that the
manual warns about this, which is true again. So far everything
2018 Feb 22
2
How to modify dots and dispatch NextMethod
...or uncovering
this problem.
I don't think there is a way to replace (unnamed) arguments in dots for
NextMethod.
Tomas
On 02/21/2018 02:16 PM, I?aki ?car wrote:
> I've set up a repo with a reproducible example of the issue described
> in my last email:
>
> https://github.com/Enchufa2/dispatchS3dots
>
> I?aki
>
> 2018-02-20 19:33 GMT+01:00 I?aki ?car <i.ucar86 at gmail.com>:
>> Hi all,
>>
>> Not sure if this belongs to R-devel or R-package-devel. Anyways...
>>
>> Suppose we have objects of class c("foo", "bar"),...
2020 Oct 31
1
R 4.0 for CentOS 7
...se Fedora as the base image instead, because you'll enjoy binary
installations for most of CRAN via Copr [1]. You even have a docker
image ready to go [2]. (Disclaimer: I'm the maintainer of that
project).
[1] https://copr.fedorainfracloud.org/coprs/iucar/cran/
[2] https://hub.docker.com/r/enchufa2/cran2copr/dockerfile
--
I?aki ?car
2017 Dec 18
0
Dialect for shell scripts
...ties/V3_chap02.html
> [4]
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_04
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
I?aki ?car
http://www.enchufa2.es
@Enchufa2
2018 Feb 22
2
How to modify dots and dispatch NextMethod
...'t think there is a way to replace (unnamed) arguments in dots for
>> NextMethod.
> That's a pity. IMHO, it should be some mechanism for that, but dots
> are special in inscrutable ways.
>
> Anyway, for anyone insterested, I found a workaround:
>
> https://github.com/Enchufa2/dispatchS3dots#workaround
Even though technically this won't be too hard, I don't think NextMethod
should be made any more complex than it is now. There should always be a
way to implement special dispatch scenarios in R and your workaround
shows it is possible specifically in your scena...
2018 Aug 09
2
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
...319-335-3386
> Department of Statistics and Fax: 319-335-3017
> Actuarial Science
> 241 Schaeffer Hall email: luke-tierney at uiowa.edu
> Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu
--
I?aki ?car
http://www.enchufa2.es
@Enchufa2
2018 Jan 25
0
Why R should never move to git
...ments, but can't do this simple
> task. That's an example of really bad UI design.
>
> Duncan Murdoch
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
--
I?aki ?car
http://www.enchufa2.es
@Enchufa2
2017 Dec 18
0
Dialect for shell scripts
...> utilities/V3_chap02.html#tag_18_06_04
> >>
> >> ______________________________________________
> >> R-devel at r-project.org mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>
> > --
> > I?aki ?car
> > http://www.enchufa2.es
> > @Enchufa2
>
> > ______________________________________________
> > R-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https...
2018 Jan 22
2
How to address the following: CRAN packages not using Suggests conditionally
...to deal with this matter.
>
>
> Just disable code chunk evaluation if suggested packages are missing (see
> [1]). As explained by Prof. Ripley, it will only affect Fedora checks on
> r-devel, i.e., your users will still see fully evaluated vignettes on CRAN.
>
> [1] https://www.enchufa2.es/archives/suggests-and-vignettes.html
>
> I?aki
>
>
> Thanks in advance for your kind assistance,
> Ulrich Bodenhofer
>
>
>
> -------- Forwarded Message --------
> Subject: Re: CRAN packages not using Suggests conditionally
> Date: Mon, 15 Jan 2018 08:...
2018 Aug 10
0
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
...ent of Statistics and Fax: 319-335-3017
>> Actuarial Science
>> 241 Schaeffer Hall email: luke-tierney at uiowa.edu
>> Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu
>
>
> --
> I?aki ?car
> http://www.enchufa2.es
> @Enchufa2
2018 Jan 22
1
How to address the following: CRAN packages not using Suggests conditionally
...Just disable code chunk evaluation if suggested packages are
>> ??? missing (see [1]). As explained by Prof. Ripley, it will only
>> ??? affect Fedora checks on r-devel, i.e., your users will still see
>> ??? fully evaluated vignettes on CRAN.
>>
>> ??? [1] https://www.enchufa2.es/archives/suggests-and-vignettes.html
>> ??? <https://www.enchufa2.es/archives/suggests-and-vignettes.html>
>>
>> ??? I?aki
>>
>>
>> ??????? Thanks in advance for your kind assistance,
>> ??????? Ulrich Bodenhofer
>>
>>
>>
>>...
2017 Dec 18
1
Dialect for shell scripts
...06_04
>>>>
>>>> ______________________________________________
>>>> R-devel at r-project.org mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>>
>>> --
>>> I?aki ?car
>>> http://www.enchufa2.es
>>> @Enchufa2
>>
>>> ______________________________________________
>>> R-devel at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>> ______________________________________________
>> R-devel at r-proje...
2018 Jan 22
0
How to address the following: CRAN packages not using Suggests conditionally
...>
>
> Just disable code chunk evaluation if suggested packages are
> missing (see [1]). As explained by Prof. Ripley, it will only
> affect Fedora checks on r-devel, i.e., your users will still see
> fully evaluated vignettes on CRAN.
>
> [1] https://www.enchufa2.es/archives/suggests-and-vignettes.html
> <https://www.enchufa2.es/archives/suggests-and-vignettes.html>
>
> I?aki
>
>
> Thanks in advance for your kind assistance,
> Ulrich Bodenhofer
>
>
>
> -------- Forwarded Message --------...
2018 Aug 09
4
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
On 9 August 2018 at 20:37, Tomas Kalibera wrote:
| So to answer your original question, this could probably be handled in
| Rcpp,
Hm. Why do you say that / what did you have in mind?
Recall that we do not alter SEXPs or introduce additional additional
reference counters -- because we do not think that altering the basic R API
for such calls would be a wise strategy. So we do more or less what
2018 Jun 08
6
Subsetting the "ROW"s of an object
Hi all,
Is there a better to way to subset the ROWs (in the sense of NROW) of
an vector, matrix, data frame or array than this?
subset_ROW <- function(x, i) {
nd <- length(dim(x))
if (nd <= 1L) {
x[i]
} else {
dims <- rep(list(quote(expr = )), nd - 1L)
do.call(`[`, c(list(quote(x), quote(i)), dims, list(drop = FALSE)))
}
}
subset_ROW(1:10, 4:6)
#> [1] 4 5 6
2020 Oct 06
0
Switching BLAS/LAPACK without leaving your R session
Hi all,
We are excited to announce that this new feature is coming to Fedora
33, which is in beta state. See [1] or [2] for more information on how
to test it.
[1] https://cran.r-project.org/bin/linux/fedora/
[2] https://www.enchufa2.es/archives/switch-blas-lapack-without-leaving-your-r-session.html
Regards,
--
I?aki ?car
2018 Feb 22
0
How to modify dots and dispatch NextMethod
...e (unnamed) arguments in dots for
>>> NextMethod.
>>
>> That's a pity. IMHO, it should be some mechanism for that, but dots
>> are special in inscrutable ways.
>>
>> Anyway, for anyone insterested, I found a workaround:
>>
>> https://github.com/Enchufa2/dispatchS3dots#workaround
>
> Even though technically this won't be too hard, I don't think NextMethod
> should be made any more complex than it is now. There should always be a way
> to implement special dispatch scenarios in R and your workaround shows it is
> possible spec...