Package: governor 0.1.3
governor: Speed Limiter to Control Rate of Execution of Loops
It can be necessary to limit the rate of execution of a loop or repeated function call e.g. to show or gather data only at particular intervals. This package includes two methods for limiting this execution rate; speed governors and timers. A speed governor will insert pauses during execution to meet a user-specified loop time. Timers are alarm clocks which will indicate whether a certain time has passed. These mechanisms are implemented in 'C' to minimize processing overhead.
Authors:
governor_0.1.3.tar.gz
governor_0.1.3.zip(r-4.5)governor_0.1.3.zip(r-4.4)governor_0.1.3.zip(r-4.3)
governor_0.1.3.tgz(r-4.4-x86_64)governor_0.1.3.tgz(r-4.4-arm64)governor_0.1.3.tgz(r-4.3-x86_64)governor_0.1.3.tgz(r-4.3-arm64)
governor_0.1.3.tar.gz(r-4.5-noble)governor_0.1.3.tar.gz(r-4.4-noble)
governor_0.1.3.tgz(r-4.4-emscripten)governor_0.1.3.tgz(r-4.3-emscripten)
governor.pdf |governor.html✨
governor/json (API)
NEWS
# Install 'governor' in R: |
install.packages('governor', repos = c('https://coolbutuseless.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/coolbutuseless/governor/issues
Last updated 10 days agofrom:61c646f686. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 07 2024 |
R-4.5-win-x86_64 | OK | Nov 07 2024 |
R-4.5-linux-x86_64 | OK | Nov 07 2024 |
R-4.4-win-x86_64 | OK | Nov 07 2024 |
R-4.4-mac-x86_64 | OK | Nov 07 2024 |
R-4.4-mac-aarch64 | OK | Nov 07 2024 |
R-4.3-win-x86_64 | OK | Nov 07 2024 |
R-4.3-mac-x86_64 | OK | Nov 07 2024 |
R-4.3-mac-aarch64 | OK | Nov 07 2024 |
Exports:gov_disablegov_enablegov_initgov_waittimer_checktimer_disabletimer_enabletimer_init
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Disable/enable a governor | gov_disable gov_enable |
Initialize a governor to control the speed of a loop | gov_init |
Wait an appropriate amount of time within a for-loop to match the desired interval set in 'gov' | gov_wait |
Check the status of a timer | timer_check |
Disable/enable a timer | timer_disable timer_enable |
Create a timer object which will return 'TRUE' when checked and the given duration has elapsed. | timer_init |