[R] extra arguments in do.call applied to a list of dataframes

2015-01-17 Thread Remi Genevest
Hello, I have a list of dataframes with different number of rows and I want to bind columns by rownames and put some NAs where rownames do not match. I was thinking about doing something like this : do.call(merge,c(mylist,by=row.names,all.x=TRUE)) but I get the following error message :

[R] send and receiving objects with Rmpi

2010-08-12 Thread Remi Gagne
(forSlaves()) Thanks, Remi [[alternative HTML version deleted]] __ 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] double-indexed list

2010-05-08 Thread Remi SoftR
Dear all, d, d=1,...,10 is a day, h, h=1,...,24 is an hour and tt_dh(1),tt_dh(2),... is the arrival time of the 1st, 2nd etc client on day d during hour h. How can I make a double-indexed list ldh (indices are d and h) such that ldh[[d,h]] gives me arrival times? Many thanks, Remi

[R] Huge matrix: allocation works but assignment fails

2009-10-01 Thread Remi
Hello everyone, I am working with one big matrix: w=matrix(0,18000,18000) on a Linux computer with 16Go of RAM. I can actually create the matrix, and even access elements: w[10,10] 0 but if I try to change one element, it fails: w[10,10]=1 Erreur : impossible d'allouer un vecteur de taille