search for: mattest

Displaying 2 results from an estimated 2 matches for "mattest".

Did you mean: attest
2008 Jun 20
1
unable to update the matrix values within a function
Hi, I don't understand why this doesn't work: matTest <- matrix(nrow=3, ncol=3) testMove <- function(I, J){ for(i in 1:I){ for(j in 1:J){ matTest[i, j] <- i+j } } } testMove(2, 3) matTest Why the elements of the matrix matTest are still NA? How could I fix it? Thanks, Ken
2002 Oct 29
1
strange locks
...onf: kernel op locks = false op locks = false strict locking = true so I could see some locks from the unix level. It worked sorta, I see the locks for big files (but not the locks I was expecting), but for little files it shows nothing: # ./lock_list /opt/testsambashare/mattest.doc # ./lock_list /opt/testsambashare/contents.doc 0 22086 W 2147483539 1 0 22086 W 2147483559 1 0 22086 W 2147483599 1 (the output is l_sysid, l_pid, l_start, l_len of struct flock) (lock_list.c source given below) The only difference I can see is that the contents.doc is mu...