search for: tjun

Displaying 8 results from an estimated 8 matches for "tjun".

Did you mean: jun
2024 Feb 02
2
List of Words in BioWordVec
Is there a way to extract list of words in BioWordVec in R Thank you Tjun Kiat [[alternative HTML version deleted]]
2012 Jul 18
1
Defining a variable outside of optim or differential equation solver.
...tion solver and this is my code d<-y[2] vdpol<-function(t,y) { list(c(1, d, 3, 4 ) } stiff<-ode(y=rep(0,4),times=c(0,1),func=dvdpol,parms=1) The thing is I want d to be composed of one of state variables in the differential function vdopl. Can it be done ? tjun kiat
2013 May 02
2
ODE solver
...rning..Internal T (=R1) and H (=R2) are such that in the machine, T + H = T on the next step (H = step size). Solver will continue anyway. And then the program just take very long to run. Is there anyway to get the program to terminate when this warning is issued instead of continuing to run ? Tjun Kiat [[alternative HTML version deleted]]
2024 Feb 02
1
List of Words in BioWordVec
I *think* this might be better posted here: https://bioconductor.org/help/support/ Cheers, Bert On Thu, Feb 1, 2024 at 4:37?PM TJUN KIAT TEO <teotjunk at hotmail.com> wrote: > Is there a way to extract list of words in BioWordVec in R > > Thank you > > Tjun Kiat > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mai...
2012 Sep 21
2
Parallel Programming
I am trying to do parallel programming and I tried this library(doSNOW) library(foreach) testfunc<-function(x){ x<-x+1 x } noc<-2 cl <- makeCluster(do.call(rbind,rep(list("localhost"),noc)), type = "SOCK") registerDoSNOW(cl) clusterExport(cl=cl,c("testfunc.r")) testl<-foreach(pp=1:2) %dopar% { testfunc(pp) } And this works but if I try to
2012 Jul 03
1
Wrapper function for multivariate arrays for ode
I am trying to to write a wrapper function for the ode solver (under the package desolve) to enable it to take multivariate arrays. I know how to do it for 1 dimension arrays but my code breaks down when I try to do it for 2 dimensional arrays. Here is my code diffwrap<-function(t,y,mu)vdpol(t=t,A[1:3,1:4]<-y[1:12],B[1:12]<-y[13:24],mu=mu) vdpol<-function(t,A,B,mu) { list(c(mu,
2012 Dec 28
1
Multicore/Parallel
I am using the package Multicore/Parallel to do importance sampling. I have 5 cores on my computer. And I have let's say 10 000 particles to generate. What I did was to send 5 particles in each time, calling the package parallel. Which means in all I am calling the parallel command 2000 times. What happens is in the end somewhere along the way I end up with the error message error in fork
2013 Jun 20
0
Installing Jags on 64 Bit Fedora
...message: In install.packages("rjags", configure.args = "--with-jags-include=/usr/local/include/JAGS --with-jags-lib=/usr/local/lib64/JAGS --with-jags-modules=/usr/local/lib64/JAGS/modules") : installation of package ‘rjags’ had non-zero exit status Can anyone help ? Thanks Tjun Kiat [[alternative HTML version deleted]]