mirror of
https://github.com/msberends/AMR.git
synced 2025-12-13 23:50:20 +01:00
help page %like%
This commit is contained in:
@@ -46,6 +46,9 @@ These \code{\link[=like]{like()}} and \verb{\%like\%}/\verb{\%unlike\%} function
|
||||
Using RStudio? The \verb{\%like\%}/\verb{\%unlike\%} functions can also be directly inserted in your code from the Addins menu and can have its own keyboard shortcut like \code{Shift+Ctrl+L} or \code{Shift+Cmd+L} (see menu \code{Tools} > \verb{Modify Keyboard Shortcuts...}). If you keep pressing your shortcut, the inserted text will be iterated over \verb{\%like\%} -> \verb{\%unlike\%} -> \verb{\%like_case\%} -> \verb{\%unlike_case\%}.
|
||||
}
|
||||
\examples{
|
||||
# data.table has a more limited version of \%like\%, so:
|
||||
detach("package:data.table", unload = TRUE)
|
||||
|
||||
a <- "This is a test"
|
||||
b <- "TEST"
|
||||
a \%like\% b
|
||||
|
||||
Reference in New Issue
Block a user