search for: rematch

Displaying 15 results from an estimated 15 matches for "rematch".

Did you mean: regmatch
2013 Nov 21
1
[PATCH] suggestions for R-lang manual
...<- 1:5 > myvec + mymat [,1] [,2] [1,] 2 9 [2,] 4 11 [3,] 6 13 [4,] 8 15 [5,] 10 12 [6,] 7 14 Warning message: In myvec + mymat : longer object length is not a multiple of shorter object length > Regarding -The arguments in the call to the generic are rematched with the -arguments for the method using the standard argument matching mechanism. -The first argument, i.e.@: the object, will have been evaluated. - this information is duplicated. See a few paragraphs up "When the method is invoked it is called..." Scott -- Scott Kostyshak Econom...
2015 Jan 29
1
[Q] Get formal arguments of my implemented S4 method
...;nonConformingMethod" for method definitions that > diverge in the argument list. > > 2. the internal dispatch code checks the class of the selected definition > (this can likely be done with little cost in the standard case). In the > case of non-conforming, the arguments are rematched to define the method's > other arguments. > > The possibilities need examining, but my feeling is that the re-matching > should happen in the current frame, as opposed to doing a new call. > > There is a fair amount of code, for example in callNextMethod, that > requires...
2015 Jan 29
2
[Q] Get formal arguments of my implemented S4 method
I wish it didn't have to depend on the name '.local'. Back when I wrote a lot of S4 methods I avoided the auto-generated .local and named the local function something that made sense so that is was easier for a user to track down the source of an error. E.g., define the generic QQQ with numeric and integer methods: setGeneric("QQQ", function(x, ...)NULL)
2002 Jul 01
1
SetGeneric and formula interfaces
Hi, while playing with the `methods' package I was not able to find what the recommended way of dealing with the following problem is. Suppose there is a generic function `foo' and two functions `foo.default' and `foo.formula', in the classical way: foo <- function(y, ...) UseMethod("foo") foo.default <- function(y, ...) {} foo.formula <- function(formula,
2015 Jan 29
0
[Q] Get formal arguments of my implemented S4 method
...have a class, say "nonConformingMethod" for method definitions that diverge in the argument list. 2. the internal dispatch code checks the class of the selected definition (this can likely be done with little cost in the standard case). In the case of non-conforming, the arguments are rematched to define the method's other arguments. The possibilities need examining, but my feeling is that the re-matching should happen in the current frame, as opposed to doing a new call. There is a fair amount of code, for example in callNextMethod, that requires some computations using knowledge...
2015 Mar 27
2
[LLVMdev] `llvm.$op.with.overflow`, InstCombine and ScalarEvolution
> If we don't care about trying to optimize out overflow checks in > InstCombine, I'd go with moving the complexity to CGP. I think instcombine should optimize out overflow checks (as it does today) without introducing _with_overflow calls. Are there reasons why such an approach would not work? > However, I think > InstCombine is doing the right thing here by forming these.
2002 May 08
1
Questions about S4 style methods and generics
I have some questions about S4 style methods and generics. First of all, is there any way of using default values for arguments in the generics/methods? My own experiments show that such arguments are always ignored. The green book seems to be silent on this matter. The second question is about using a non-trivial function body for generics. Page 351 of the green book gives an example of this
2020 Jun 26
2
R 4.0.0 rebuild status
On Friday, 26 June 2020 10.47.13 WEST I?aki Ucar wrote: > I used bcond locally and wrongly assumed that fedpkg build would > support --with BCOND and --without BCOND. Instead, the way to activate > it is to change to "%bcond_with check" and then revert to > "%bcond_without check". The only difference with bootstrap is that > "bootstrap" is recognized
2007 Feb 24
3
gsub: replacing a.*a if no occurence of b in .*
I am trying to read a number of XML files using xmlTreeParse(). Unfortunately, some of them are malformed in a way that makes R crash. The problem is that closing tags are sometimes repeated like this: <tag>value1</tag><tag>value2</tag>some garbage</tag></tag><tag>value3</tag> I want to preprocess the contents of the XML file using gsub() before
2020 Jun 04
2
mclust package installation is preparing for lazy loading and never finishes
...s. Here a complete list of packages already installed at my library directory: marc at hera:~/R/x86_64-pc-linux-gnu-library/4.0$ ls askpass DEoptimR generics later pkgbuild readxl tibble assertthat desc ggplot2 lazyeval pkgconfig rematch tictoc backports deSolve glue lifecycle pkgload remotes tidyr base64enc digest gridExtra lspline plotly reprex tidyselect BH diptest gtable lubridate plyr reshape2 tidyverse blob...
2019 Jul 04
2
Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
...R-prettydoc * R-prettyunits * R-processx * R-progress * R-promises * R-ps * R-purrr * R-qcc * R-qpdf * R-qtl * R-quadprog * R-quantities * R-qvalue * R-R6 * R-rappdirs * R-R.cache * R-rcmdcheck * R-RColorBrewer * R-Rcompression * R-Rcpp * R-RcppCCTZ * R-RCurl * R-R.devices * R-readr * R-readxl * R-rematch * R-rematch2 * R-remotes * R-repr * R-reprex * R-reshape * R-reshape2 * R-reticulate * R-rex * R-rgdal * R-rgeos * R-rhub * R-RInside * R-rlang * R-rlecuyer * R-RM2 * R-rmarkdown * R-R.methodsS3 * R-Rmpfr * R-ROC * R-RODBC * R-R.oo * R-roxygen2 * R-rprintf * R-rprojroot * R-R.rsp * R-Rsamtools * R-...
1999 Apr 14
5
R's UseMethod() does not dispatch on changed class() (PR#167)
(opening new bug report thread, on suggestion of BDR ..) I said on vaguely related topic: MM> There's another long-standing MM> UseMethod / NextMethod / Dispatch problem that I've never traced/solved.. MM> MM> Look at the $RHOME/tests/mode-methods.R file ! Peter Dalgaard already remarked : PD> ..i.e. this: PD> abc <- function(x, ...) { PD> if
2018 Apr 23
0
R 3.5.0 is released
...thods on Ops() for the "structure" class no longer cause infinite recursion when the structure is not an S4 object. * nlm(f, ..) for the case where f() has a "hessian" attribute now computes LL' = H + uI correctly. (PR#17249). * An S4 method that "rematches" to its generic and overrides the default value of a generic formal argument to NULL no longer drops the argument from its formals. * Rscript can now accept more than one argument given on the #! line of a script. Previously, one could only pass a single argument...
2018 Apr 23
0
R 3.5.0 is released
...thods on Ops() for the "structure" class no longer cause infinite recursion when the structure is not an S4 object. * nlm(f, ..) for the case where f() has a "hessian" attribute now computes LL' = H + uI correctly. (PR#17249). * An S4 method that "rematches" to its generic and overrides the default value of a generic formal argument to NULL no longer drops the argument from its formals. * Rscript can now accept more than one argument given on the #! line of a script. Previously, one could only pass a single argument...
2006 Dec 11
21
iptables 1.3.7, kernel 2.6.19, ROUTE and Layer7 issues
Hi, I''m having problems with this configuration: iptables 1.3.7 (vanilla or repackaged for fc5) kernel 2.6.19 (vanilla) ROUTE 1.11 (last pom-ng) layer7-filter 2.6 (last in sf.net) connlimit (last pom-ng) When I try to use -j ROUTE in any chain in mangle table I have this error: [root@myhost ~]# iptables -v -t mangle -A POSTROUTING -p tcp --dport msnp -j ROUTE --gw