magik of R implicit return [🇷 for BE/BA]
Dear Detlew!
Now running:
[1] "two"
# nothing here!
[1] "NULL"
❝ Do you have the thousand sentences for me?
veryspecialfunction <- function(flag) {
if (flag == 1) {
"one"
}
if (flag == 2){
"two"
}
}
Now running:
veryspecialfunction(2)
[1] "two"
veryspecialfunction(1)
# nothing here!
typeof(veryspecialfunction(1))
[1] "NULL"
—
Kind regards,
Mittyri
Kind regards,
Mittyri
Complete thread:
- R Inferno Helmut 2019-04-26 16:03 [🇷 for BE/BA]
- full conditions! mittyri 2019-04-26 16:20
- full conditions! Helmut 2019-04-26 16:41
- full conditions! d_labes 2019-04-27 14:29
- magik of R implicit returnmittyri 2019-04-27 22:23
- magik of R implicit return ElMaestro 2019-04-27 22:34
- implicit return? d_labes 2019-04-28 19:36
- implicit return? ElMaestro 2019-04-28 20:36
- implicit return? Helmut 2019-04-28 20:50
- implicit return? ElMaestro 2019-04-28 21:16
- implicit return? Helmut 2019-04-28 23:38
- implicit return? ElMaestro 2019-04-29 09:40
- implicit return? Helmut 2019-04-29 10:41
- implicit return? ElMaestro 2019-04-29 12:55
- built-in ifelse mittyri 2019-04-30 13:05
- implicit return? ElMaestro 2019-04-29 12:55
- implicit return? Helmut 2019-04-29 10:41
- implicit return? ElMaestro 2019-04-29 09:40
- implicit return? Helmut 2019-04-28 23:38
- implicit return? ElMaestro 2019-04-28 21:16
- implicit return? d_labes 2019-04-28 19:36
- magik of R implicit return ElMaestro 2019-04-27 22:34
- magik of R implicit returnmittyri 2019-04-27 22:23
- full conditions! mittyri 2019-04-26 16:20