search for: internalreadconsole

Displaying 1 result from an estimated 1 matches for "internalreadconsole".

2007 Jul 06
1
Hook for running a function before evaluation
Hello, I like much addTaskCallback() and friends. However, there are situations were we would like to have a function run BEFORE, not after every top-level tasks. I think specifically to reset options(width = ) to accommodate to the current width of the console, using something like: options(width = system("tput cols")) I am sure there are many other situations where this could be