Re: [R] remotely saving an R session

2006-09-20 Thread Gamal Azim
Forgot to indicate that the remote system is Linux, accessed remotely by ssh. --- Gamal Azim <[EMAIL PROTECTED]> wrote: > Is it possible to remotely save an R session then > terminate R? Of course the destructive task after > 'then' is rather straightforwa

[R] remotely saving an R session

2006-09-20 Thread Gamal Azim
Is it possible to remotely save an R session then terminate R? Of course the destructive task after 'then' is rather straightforward by itself. Thanks __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read t

[R] Union of two data frames

2006-09-19 Thread Gamal Azim
How about, uxy <- union(row.names(x), row.names(y)) ixy <- intersect(row.names(x), row.names(y)) rbind(x[is.element(row.names(x),uxy),], y[!is.element(row.names(y),ixy),]) Note, simple rbind'ing of the two frames changes common row.names. Gamal __

[R] inconsistent rows in a data frame

2006-09-19 Thread Gamal Azim
I need to identify repeated items in p$a with different s and d entries on the same row, given that the "0" items should not be considered in the comparison. Here is an example: 1. Items 3 and 5 in p$a are repeated with different entries of s and d, should be removed. 2. Item 2 was repeated twi

[R] Restricting Access to Function Codes

2006-03-02 Thread Gamal Azim
I am writing some educational simulation functions (R funcns) for undergrad students. The functions will be publicly placed in one of the university labs so that students can go and do their exploration and also will be required to do some simulations based on certain parameters they receive. Probl