Examples for 'base::invisible'


Change the Print Mode to Invisible

Aliases: invisible

Keywords: programming

### ** Examples

# These functions both return their argument
f1 <- function(x) x
f2 <- function(x) invisible(x)
f1(1)  # prints
[1] 1
f2(1)  # does not

[Package base version 4.2.3 Index]