From f5c4671bfbad96bf346bd7e9a21fc4317b4959df Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 3 Dec 2022 17:00:20 +0530 Subject: Adds most of the tools --- ctags/man/ctags-lang-r.7.html | 482 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 482 insertions(+) create mode 100644 ctags/man/ctags-lang-r.7.html (limited to 'ctags/man/ctags-lang-r.7.html') diff --git a/ctags/man/ctags-lang-r.7.html b/ctags/man/ctags-lang-r.7.html new file mode 100644 index 0000000..3ac7c5e --- /dev/null +++ b/ctags/man/ctags-lang-r.7.html @@ -0,0 +1,482 @@ + + + +
+ + +Version: | +5.9.0 |
---|---|
Manual group: | Universal Ctags | +
Manual section: | 7 | +
This man page gathers random notes about tagging R source code +with Universal Ctags.
+If a variable gets a value returned from a well-known constructor +and the variable appears for the first time in the current input file, +the R parser makes a tag for the variable and attaches a kind +associated with the constructor to the tag regardless of whether +the variable appears in the top-level context or a function.
+Well-known constructor and kind mapping
++++
++ + ++ + + + + Constructor +kind ++ function() +function ++ c() +vector ++ list() +list ++ + data.frame() +dataframe +
If a variable doesn't get a value returned from one of well-known +constructors, the R parser attaches globalVar or functionVar kind +to the tag for the variable depending on the context.
+Here is an example demonstrating the usage of the kinds:
+"input.r"
++G <- 1 +v <- c(1, 2) +l <- list(3, 4) +d <- data.frame(n = v) +f <- function(a) { + g <- function (b) a + b + w <- c(1, 2) + m <- list (3, 4) + e <- data.frame(n = w) + L <- 2 +} ++
"output.tags" +with "--options=NONE --sort=no --fields=+KZ -o - input.r"
+ + +ctags(1)
+