r - Place on.exit() within function but active for the script -


in r, let's want place on.exit() command within function, want on.exit command apply when rscript exits opposed when function exits. how go it?

to rephrase have on.exit() within function, on.exit() command applies local scope within function. possible on.exit() command apply global scope while still within function.


Comments

Popular posts from this blog

python - Referencing Data From a 2D Histogram -

php - MySQL LIMIT results with INNER JOIN with more than 2 tables -

c# - Derived UserControl layout resets after build -