Movatterモバイル変換


[0]ホーム

URL:


rdrr.io

invisible: Change the Print Mode to Invisible

invisibleR Documentation

Change the Print Mode to Invisible

Description

Return a (temporarily) invisible copy of an object.

Usage

invisible(x)

Arguments

x

an arbitraryR object.

Details

This function can be useful when it is desired to have functionsreturn values which can be assigned, but which do not print when theyare not assigned.

This is a primitive function.

References

Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)The New S Language.Wadsworth & Brooks/Cole.

See Also

withVisible,return,function.

Examples

# These functions both return their argumentf1 <- function(x) xf2 <- function(x) invisible(x)f1(1)  # printsf2(1)  # does not

What can we improve?

R Package Documentation

Browse R Packages

We want your feedback!

Note that we can't provide technical support on individual packages. You should contact the package authors for that.

 
Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, readEmbedding Snippets.

Close

[8]ページ先頭

©2009-2026 Movatter.jp