[R] age old problem with rJava

2016-10-27 Thread Jim Maas
Error: package or namespace load failed for ‘rJava’ -- Jim Maas [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting gu

[R] problem installing Rmpi

2016-12-15 Thread Jim Maas
rch)) paste0("--arch=", : error in running command * removing ‘/usr/local/lib/R/site-library/Rmpi’ ​Thanks, J​ -- Jim Maas [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://s

[R] missing NEWS.pdf

2019-09-10 Thread Jim Maas
done something wrong? Thanks J -- Jim Maas jimmaasuk at gmail.com [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the postin

[R] apply a function containing a reduce statement to all rows of a 2d array?

2014-03-14 Thread Jim Maas
(10,10))) newarray <- apply(x = startarray, margin = 1, fun = totalfunc) Thanks J -- Jim Maas [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the post

[R] simplify if statement in R ?

2010-07-20 Thread Jim Maas
ables for two different valuables? Thanks J Jim Maas __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] calculating mean of list components

2010-12-15 Thread Jim Maas
e first five components? It doesn't like the $. I'm suspect one of the "apply" functions will work, but again I've not had success Thanks a bunch. J Jim Maas University of East Anglia __ R-help@r-project.org mailing l

[R] deSolve, extracting variable values from inside ode function

2011-08-16 Thread Jim Maas
e ## in pool A dA <- fluxoa - fluxao ## return the rate of change list(dA) }) } times <- seq(0, 100, by = 5) library(deSolve) out1 <- ode(y = state, times = times, func = MM, parms = parameters) head(out1) -- Dr. Jim Maas University of East Anglia _

[R] cannot correct step size, geweke.diag of coda

2011-09-01 Thread Jim Maas
Thanks a bunch. J -- Dr. Jim Maas University of East Anglia __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal,

[R] procedure Power in module Math

2011-09-04 Thread Jim Maas
Hi All, I'm attempting to compile and run a BUGS model using OpenBUGS from R and getting this message. I've googled around not found much, it may well be a problem with OpenBUGS and not R. Any suggestions or clues as to how to find the problem would be welcome. ** Sorry something went

[R] elegant way of removing NA's and selecting specific values from a data.frame

2011-07-06 Thread Jim Maas
rst[!is.na(first)] third <- second[second<=30] thanks a bunch J -- Dr. Jim Maas University of East Anglia __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/

[R] constrain min and max of output

2011-10-25 Thread Jim Maas
if" statements but just wondered if there is a simpler way? Thanks a bunch, J ------ Jim Maas University of East Anglia __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] fill an array by rows

2012-02-09 Thread Jim Maas
ray(c(1:125), c(5,5,5), byrow=TRUE) throws an error. Am I missing something obvious? I also tried transposing the 3-d array but that didn't work either. TIA Jim -- Dr. Jim Maas University of East Anglia __ R-help@r-project.org mailing list http