wFunction", but I can add an
extra argument to conditionally check if it's called in "interactive
mode")
Thanks again to everybody for their help.
Peter
On Feb 13, 2008, at 11:18 AM, Peter McMahan wrote:
> Thanks for that link to the mac Gtk2, it's been very help
indow close 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]&g
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 yo
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-projec
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,
>
>
With a fresh copy of igraph 0.4.5 I made all of the changes at
http://code.google.com/p/igraph/issues/detail?id=1
*except* for those to rinterface.c (I know very little about C and it
wasn't clear what changes should be made).
This still left some errors with pottsmodel_2.cpp ('Overloading
ambi
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 mai
Hello,
I'm having trouble getting the igraph package to load on Solaris. I
can get igraph to compile and install from a local directory without
issues using simply "R CMD INSTALL igraph", however "library(igraph)"
from within R gives the following errors:
Error in dyn.load(x, as.logical(local
8 matches
Mail list logo