search for: closesomeservices

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

2007 Jan 16
2
on.exit called on loading ?
...t renamed some identifiers) .onLoad <- function(lib, pkg) { require(zoo, quiet=TRUE, warn.conflicts=FALSE) library.dynam("foolib", pkg, lib ) if (.Platform$OS.type != "windows") { initSomeServices() } if (.Platform$OS.type != "windows") { on.exit(closeSomeServices()) } } actually triggers a call of 'closeSomeServices()'. I am probably misunderstanding something here -- but I thought on.exit() would only be called on, well, exit ? Dirk -- Hell, there are no rules here - we're trying to accomplish something....