Re: [R] Rgui.exe fix for "console not found" buffer overflow problem

2006-10-29 Thread Jesse Albert Canchola
:25 AM To Gabor Grothendieck <[EMAIL PROTECTED]> cc Jesse Albert Canchola <[EMAIL PROTECTED]>, r-help@stat.math.ethz.ch Subject Re: [R] Rgui.exe fix for "console not found" buffer overflow problem On 10/29/2006 9:55 AM, Gabor Grothendieck wrote: > On 10/29/06, Gabor Grot

[R] Rgui.exe fix for "console not found" buffer overflow problem

2006-10-28 Thread Jesse Albert Canchola
I'm using R on Windows XP Professional SP2. I figured out the fix for my buffer overflow problem that did not allow me to use Rgui.exe for about two weeks. I would keep getting "console not found" and even when I uninstalled and re-installed got the same problem. Here's how the problem start

[R] Fw: Permutations with replacement

2006-08-21 Thread Jesse Albert Canchola
My apologies, I forgot to CC: to the list on my previous communication with Daniel. Jesse - Forwarded by Jesse Albert Canchola/EMVL/DIAG/US/BAYER on 08/21/2006 10:50 AM - Jesse Albert Canchola/EMVL/DIAG/US/BAYER 08/21/2006 09:36 AM To "Daniel Nordlund" <[EMAIL PROTECTED]

Re: [R] Permutations with replacement (final final final)

2006-08-21 Thread Jesse Albert Canchola
lt;[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/18/2006 05:16 PM To "'Jesse Albert Canchola'" <[EMAIL PROTECTED]>, "'r-help'" cc Subject Re: [R] Permutations with replacement > -Original Message----- > From: [EMAIL PROTECTED] [ma

Re: [R] Permutations with replacement

2006-08-20 Thread Jesse Albert Canchola
For the larger one I want (i.e., 8^8), I will take a random sample of 10,000 from the 16,777,216 possibilities. Regards, Jesse Canchola <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/18/2006 01:33 PM To "Jesse Albert Canchola" <[EMAIL PROTECTED]>, "r-help"

[R] Permutations with replacement

2006-08-18 Thread Jesse Albert Canchola
Is there a simple function or process that will create a matrix of permutations with replacement? I know that using the combinat package ## begin R code ## > library(combinat) > m <- t(array(unlist(permn(3)), dim = c(3, 6))) # we can get the permutations, for example 3!=6 # gives us >

[R] Permutations with replacement

2006-08-18 Thread Jesse Albert Canchola
Is there a simple function or process that will create permutations with replacement? I know that using the combinat package ## begin R code ## > library(combinat) > m <- t(array(unlist(permn(3)), dim = c(3, 6))) # we can get the permutations, for example 3!=6 # gives us > m [,1]

Re: [R] Reconfiguring wide frame to long frame

2006-07-18 Thread Jesse Albert Canchola
Thanks, Gabor. Since the data stacking components are independent, that didn't matter much but I am grateful for your follow-up code to match the desired output specifically. Regards, Jesse "Gabor Grothendieck" <[EMAIL PROTECTED]> 07/18/2006 10:36 AM To "Jess

Re: [R] Reconfiguring wide frame to long frame

2006-07-18 Thread Jesse Albert Canchola
Many thanks, Gabor. That worked great! I'm ecstatic. Best regards, Jesse "Gabor Grothendieck" <[EMAIL PROTECTED]> 07/18/2006 10:12 AM To "Jesse Albert Canchola" <[EMAIL PROTECTED]> cc r-help@stat.math.ethz.ch Subject Re: [R] Reconfiguring wide frame

[R] Reconfiguring wide frame to long frame

2006-07-18 Thread Jesse Albert Canchola
Greetings, fellow R'ers. How can I get this frame in R: ID meas ID.1 meas.1 1 1.13 1.2 2 2.14 2.2 to look like this (stacking): ID meas 1 1.1 2 2.1 3 1.2 4 2.2 It's not really the reshape function (or is it?) because we can consider the additional colum

Re: [R] looping using combinatorics

2006-07-14 Thread Jesse Albert Canchola
Great. I will work on the problem with those definitions in mind. Thanks for your help, Gabor. I'll post the final solution when it is ready. Best, Jesse "Gabor Grothendieck" <[EMAIL PROTECTED]> 07/14/2006 11:59 AM To "Jesse Albert Canchola"

Re: [R] looping using combinatorics

2006-07-14 Thread Jesse Albert Canchola
ODE DF <- rbind(a,b,c) DF for(index in as.data.frame(combn(3,2))) print(DF[,index]) END CODE Regards, Jesse "Gabor Grothendieck" <[EMAIL PROTECTED]> 07/14/2006 11:01 AM To "Jesse Albert Canchola" <[EMAIL PROTECTED]> cc r-help@stat.math.e

Re: [R] looping using combinatorics

2006-07-14 Thread Jesse Albert Canchola
he same length: a, b and c how do we loop over pairs of them. In the following each iteration displays one pair: library(combinat) DF <- data.frame(a = 1:4, b = 5:8, c = 9:12) for(idx in as.data.frame(combn(3,2))) print(DF[,idx]) On 7/13/06, Jesse Albert Canchola <[EMAIL PROTECTED]&

[R] looping using combinatorics

2006-07-13 Thread Jesse Albert Canchola
I have a problem where I need to loop over the total combinations of vectors (combined once chosen via combinatorics). Here is a simplification of the problem: STEP 1: Define three vectors a, b, c. STEP 2: Combine all possible pairwise vectors (i.e., 3 choose 2 = 3 possible pairs of vectors: