ID EN
Miscellaneous

Last.value

R Base 3.6.2 🇮🇩 Bahasa Indonesia

Nilai evaluasi internal ekspresi R tingkat atas selalu ditetapkan ke .Last.value (dalam paket:base) sebelum diproses lebih lanjut (misalnya, pencetakan).

Syntax

R
.Last.value

Details

Nilai penugasan tingkat atas dimasukkan ke dalam .Last.value, tidak seperti S. Jangan tetapkan ke .Last.value di ruang kerja, karena ini akan selalu menutupi objek dengan nama yang sama di paket:base.

Contoh

Example
R
# NOT RUN {
## 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 level
gamma(1:15)          # think of some intensive calculation...
fac14 <- .Last.value # keep them

library("splines") # returns invisibly
.Last.value    # shows what library(.) above returned
# }

See Also

eval