About Anaconda Help Download Anaconda
If you were automatically logged out you may need to refresh the page. You're trying to access a page that requires authentication. ×

The gsubfn function is like gsub but can take a replacement function or certain other objects instead of the replacement string. Matches and back references are input to the replacement function and replaced by the function output. gsubfn can be used to split strings based on content rather than delimiters and for quasi-perl-style string interpolation. The package also has facilities for translating formulas to functions and allowing such formulas in function calls instead of functions. This can be used with R functions such as apply, sapply, lapply, optim, integrate, xyplot, Filter and any other function that expects another function as an input argument or functions like cat or sql calls that may involve strings where substitution is desirable. There is also a facility for returning multiple objects from functions and a version of transform that allows the RHS to refer to LHS used in the same transform.

copied from cf-staging / r-gsubfn
Type Size Name Uploaded Downloads Labels
conda 358.8 kB | noarch/r-gsubfn-0.7-r44hc72bb7e_1005.conda  9 months and 13 hours ago 951 main
conda 357.6 kB | noarch/r-gsubfn-0.7-r43hc72bb7e_1005.conda  9 months and 13 hours ago 1748 main
conda 357.0 kB | noarch/r-gsubfn-0.7-r42hc72bb7e_1004.conda  1 year and 9 months ago 2357 main
conda 357.4 kB | noarch/r-gsubfn-0.7-r43hc72bb7e_1004.conda  1 year and 9 months ago 2738 main
conda 366.2 kB | noarch/r-gsubfn-0.7-r41hc72bb7e_1003.tar.bz2  2 years and 5 months ago 2668 main
conda 366.4 kB | noarch/r-gsubfn-0.7-r42hc72bb7e_1003.tar.bz2  2 years and 5 months ago 2870 main
conda 365.4 kB | noarch/r-gsubfn-0.7-r41hc72bb7e_1002.tar.bz2  3 years and 10 months ago 5258 main
conda 365.3 kB | noarch/r-gsubfn-0.7-r40hc72bb7e_1002.tar.bz2  3 years and 10 months ago 2876 main
conda 364.9 kB | noarch/r-gsubfn-0.7-r36h6115d3f_1002.tar.bz2  4 years and 10 months ago 5259 main
conda 364.9 kB | noarch/r-gsubfn-0.7-r40h6115d3f_1002.tar.bz2  4 years and 10 months ago 3511 main
conda 364.5 kB | noarch/r-gsubfn-0.7-r35h6115d3f_1001.tar.bz2  5 years and 8 months ago 5334 main cf202003
conda 364.7 kB | noarch/r-gsubfn-0.7-r36h6115d3f_1001.tar.bz2  5 years and 8 months ago 4915 main cf202003
conda 352.9 kB | noarch/r-gsubfn-0.7-r351h6115d3f_1000.tar.bz2  6 years and 4 months ago 5323 main cf202003 gcc7 cf201901
conda 361.1 kB | win-64/r-gsubfn-0.7-r351h6115d3f_0.tar.bz2  6 years and 5 months ago 1695 main cf202003 cf201901
conda 339.2 kB | win-64/r-gsubfn-0.7-r341h6115d3f_0.tar.bz2  6 years and 5 months ago 1742 main cf202003 cf201901
conda 352.6 kB | osx-64/r-gsubfn-0.7-r351h6115d3f_0.tar.bz2  6 years and 5 months ago 394 main cf202003 cf201901
conda 330.6 kB | osx-64/r-gsubfn-0.7-r341h6115d3f_0.tar.bz2  6 years and 5 months ago 379 main cf202003 cf201901
conda 352.6 kB | linux-64/r-gsubfn-0.7-r351h6115d3f_0.tar.bz2  6 years and 5 months ago 4916 main cf202003 cf201901
conda 330.8 kB | linux-64/r-gsubfn-0.7-r341h6115d3f_0.tar.bz2  6 years and 5 months ago 5149 main cf202003 cf201901
conda 349.1 kB | osx-64/r-gsubfn-0.6_6-r3.4.1_0.tar.bz2  7 years and 7 months ago 425 main cf202003 cf201901
conda 358.4 kB | win-64/r-gsubfn-0.6_6-r3.4.1_0.tar.bz2  7 years and 7 months ago 1940 main cf202003 cf201901
conda 349.2 kB | linux-64/r-gsubfn-0.6_6-r3.4.1_0.tar.bz2  7 years and 7 months ago 5970 main cf202003 cf201901
conda 352.1 kB | win-64/r-gsubfn-0.6_6-r3.3.2_0.tar.bz2  7 years and 10 months ago 1908 main cf202003 cf201901
conda 342.1 kB | osx-64/r-gsubfn-0.6_6-r3.3.2_0.tar.bz2  7 years and 10 months ago 392 main cf202003 cf201901
conda 342.1 kB | linux-64/r-gsubfn-0.6_6-r3.3.2_0.tar.bz2  7 years and 10 months ago 6287 main cf202003 cf201901

© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.9) Legal | Privacy Policy