Movatterモバイル変換


[0]ホーム

URL:


rdrr.io

Last.value: Value of Last Evaluated Expression

Last.valueR Documentation

Value of Last Evaluated Expression

Description

The value of the internal evaluation of a top-levelR expressionis always assigned to.Last.value (inpackage:base)before further processing (e.g., printing).

Usage

.Last.value

Details

The value of a top-level assignmentis put in.Last.value,unlike S.

Do not assign to.Last.value in the workspace, because thiswill always mask the object of the same name inpackage:base.

See Also

eval

Examples

## These will not work correctly from example(),## but they will in make check or if pasted in,## as example() does not run them at the top levelgamma(1:15)          # think of some intensive calculation...fac14 <- .Last.value # keep themlibrary("splines") # returns invisibly.Last.value    # shows what library(.) above returned

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