Displaying 2 results from an estimated 2 matches for "famerunning".
2007 Feb 02
2
Help with OS X (BSD) ps command
...e has a function that checks to see if a FAME SERVER process is
already running. On Linux, I can do this in one of two ways:
pid <- Sys.getpid()
user <- Sys.info()["user"]
cmd <- paste("pgrep -fU", user, "-P", pid, "'FAME SERVER'")
fameRunning <- as.logical(length(system(cmd, intern = T)))
or I can use
cmd <- paste("ps -ef | grep", user, "| grep", pid,
"| grep -v grep | grep -c 'FAME SERVER'")
fameRunning <- as.logical(as.numeric(system(cmd, intern = T)))
Mac OS X doe...
2008 Nov 17
2
Cannot quit R - fame package issue?
...s" "package:datasets"
[7] "package:methods" "Autoloads" "package:base"
> q()
Save workspace image? [y/n/c]: n
Error in .Last() : could not find function "validServerIsRunning"
> .Last
function ()
{
if (exists("fameRunning") && fameRunning())
fameStop()
if (validServerIsRunning())
endServerSession()
}
<environment: namespace:fame>
------------------------------------------
As the .Last function is referring to the fame package, I figure it must
be something to do with that. T...