and then the process start, all in a while loop.
This won't allow for a button to stop the simulation, but it will do.
Thanks for all your help everybody.
Peter
On Feb 12, 2008, at 1:56 PM, Michael Lawrence wrote:
On Feb 12, 2008 1:51 PM, Peter McMahan [EMAIL PROTECTED] wrote:
Thanks, that's very
, at 11:18 AM, Peter McMahan wrote:
Thanks for that link to the mac Gtk2, it's been very helpful.
To work around my original problem I've decided to just have the gui
be a seperate function that returns the parameter values entered. Then
I'll call that function from within a non-gui function
Hello,
I'm trying to make a graphical interface for an R function
I've written. A common use for the function is to call it with
specific parameters, and then watch the output as it evolves.
There's not necessarily a logical stopping point, so I usually
use ctrl-C when I'm done to stop it.
I've
Thanks, that's very helpful. Unfortunately Gtk2 is difficult to get
running on a Mac, so I've been trying the gWidgetstcktk interface.
It sounds like the behavior you're describing is exactly what I want,
so it may just be a difference in the TGtk2 and tcltk event loops?
In your example, can
R distinguishes between installing and loading a package. It looks
like your installation of yags went fine. Now type
library(yags)
to load the package.
now help(yags) should bring up something, as should example(yags) .
__
R-help@r-project.org
using:
R CMD INSTALL --configure-args=CC='gcc' igraph
and still, library(igraph) gives me:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/home/mcmahan/R/i386-pc-
solaris2.10-library/2.5/igraph/libs/igraph.so':
ld.so.1: R: fatal: relocation
try:
res - apply(res,2,function(x){x[is.na(x)] - y[is.na(x)];x})
should work, though not the most efficient/elegant
alternately:
y - matrix(rep(y,ncol(x)),nrow=nrow(y))
x[is.na(x)] - y[is.na(x)]
(also not the most efficient/elegant)
On Jan 10, 2008, at 9:38 PM, dxc13 wrote:
useR's,
Does
On Jan 10, 2008, at 9:48 PM, Peter McMahan wrote:
y - matrix(rep(y,ncol(x)),nrow=nrow(y))
x[is.na(x)] - y[is.na(x)]
oops, i meant:
y - matrix(rep(y,ncol(res)),nrow=nrow(y))
res[is.na(res)] - y[is.na(res)]
__
R-help@r-project.org mailing list
https
), as.logical(now)) :
unable to load shared library '/home/mcmahan/R/i386-pc-
solaris2.10-library/2.5/igraph/libs/igraph.so':
ld.so.1: R: fatal: relocation error: file /home/mcmahan/R/i386-pc-
solaris2.10-library/2.5/igraph/libs/igraph.so: symbol __1cDstdEcerr_:
referenced symbol
9 matches
Mail list logo