[Rd] capture "->"

Dmitri Popavenko dm|tr|@pop@venko @end|ng |rom gm@||@com
Fri Mar 1 10:17:34 CET 2024


Hi everyone,

I am aware this is a parser issue, but is there any possibility to capture
the use of the inverse assignment operator into a formula?

Something like:

> foo <- function(x) substitute(x)

gives:

> foo(A -> B)
B <- A

I wonder if there is any possibility whatsoever to signal the use of ->
instead of <-

Thank you,
Dmitri

	[[alternative HTML version deleted]]



More information about the R-devel mailing list