gsubfn (0.6-6)

3 users

Utilities for strings and function arguments..

gsubfn 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.

Maintainer: G Grothendieck
Author(s): G. Grothendieck

License: GPL (>= 2)

Uses: proto, boot, chron, doBy, lattice, quantreg, reshape, zoo, svUnit
Reverse depends: fscaret, MplusAutomation, roxygen, rtf, sqldf
Reverse suggests: ChemoSpec, lulcc, rtf

Released almost 3 years ago.

12 previous versions



  1.0/5 (1 vote)


  0.0/5 (0 votes)

Log in to vote.


Related packages: corpora, kernlab, languageR, lsa, tm, wordnet, zipfR, RWeka, RKEA, openNLP, skmeans, tau, tm.plugin.mail, lda, textcat, topicmodels, tm.plugin.dc, textir, movMF, wordcloud(20 best matches, based on common tags.)

Search for gsubfn on google, google scholar, r-help, r-devel.

Visit gsubfn on R Graphical Manual.