The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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.
Version: | 0.7 |
Depends: | proto |
Suggests: | boot, chron, grid, lattice, quantreg, svUnit, tcltk, zoo |
Published: | 2018-03-16 |
DOI: | 10.32614/CRAN.package.gsubfn |
Author: | G. Grothendieck |
Maintainer: | G. Grothendieck <ggrothendieck at gmail.com> |
BugReports: | https://github.com/ggrothendieck/gsubfn/issues |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
URL: | https://github.com/ggrothendieck/gsubfn |
NeedsCompilation: | no |
Materials: | NEWS |
In views: | NaturalLanguageProcessing |
CRAN checks: | gsubfn results |
Reference manual: | gsubfn.pdf |
Vignettes: |
gsubfn: Utilities for Strings and for Function Arguments. |
Package source: | gsubfn_0.7.tar.gz |
Windows binaries: | r-devel: gsubfn_0.7.zip, r-release: gsubfn_0.7.zip, r-oldrel: gsubfn_0.7.zip |
macOS binaries: | r-release (arm64): gsubfn_0.7.tgz, r-oldrel (arm64): gsubfn_0.7.tgz, r-release (x86_64): gsubfn_0.7.tgz, r-oldrel (x86_64): gsubfn_0.7.tgz |
Old sources: | gsubfn archive |
Reverse depends: | fscaret, sqldf |
Reverse imports: | HaDeX, kanjistat, MplusAutomation, nflseedR, priceR, RITAN, smbinning, SpecHelpers, Ularcirc, vietnameseConverter |
Reverse suggests: | ChemoSpec, COTAN, dartR.popgen, lulcc, rtf |
Please use the canonical form https://CRAN.R-project.org/package=gsubfn to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.