by schofar · 10y ago · 0 comments
> if ("blah" == "blah") {
y = 2
x = y + 2
} else {
x = 1
}
> x
4
> y
2
I really wish what I introduce in my blocks would stay in my blocks...Does R have an "IIFE" type construct, similar to JS or Golang?