[R] rdcomclient issue - member not found when using borders

2010-03-23 Thread Jason Baucom
uot;") Cell2<-paste(letters[grep(substring(Cell,1,1),letters)+1], as.integer(substring(Cell,2))+nrow(Data),sep="") MyCell=paste(Cell1,":",Cell2,sep="") B3R[["Formula"]] <- paste("=sum(",MyCell,")",sep="")

[R] Obtaining name of data frame used in a function argument

2010-03-11 Thread Jason Baucom
I'm writing a function that can take a data.frame as an argument. I'd like to be able to obtain the name of the data.frame and print it out within the function. My current function looks like this: examineIt<-function(x) { print(nrow(x)) print(x[ceiling(runif(10)*nrow(x)),]) print(summary(x)

Re: [R] generating multiple sequences in subsets of data

2009-09-11 Thread Jason Baucom
ius [mailto:dwinsem...@comcast.net] Sent: Thursday, August 27, 2009 12:48 PM To: Jason Baucom Cc: Henrique Dallazuanna; r-help@r-project.org; Steven Few Subject: Re: [R] generating multiple sequences in subsets of data On Aug 27, 2009, at 11:58 AM, Jason Baucom wrote: > I got this to work. T

Re: [R] generating multiple sequences in subsets of data

2009-09-11 Thread Jason Baucom
iteria. I'm surprised it's bringing my computer to its knees. I'm running about 1M rows now, but doing other operations such as merges or adding new columns/rows seems fine. -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Thursday, August 2

Re: [R] generating multiple sequences in subsets of data

2009-08-27 Thread Jason Baucom
9 32313 FALSE1 1042414 FALSE2 Jason From: Henrique Dallazuanna [mailto:www...@gmail.com] Sent: Thursday, August 27, 2009 11:02 AM To: Jason Baucom Cc: r-help@r-project.org; Steven Few Subject: Re: [R] gener

Re: [R] generating multiple sequences in subsets of data

2009-08-27 Thread Jason Baucom
reaches 3. This way we can have two unique sequences for each row2, assuming of course the threshold is reached. Jason From: Henrique Dallazuanna [mailto:www...@gmail.com] Sent: Thursday, August 27, 2009 11:02 AM To: Jason Baucom Cc: r-help@r-project.org; Steven

[R] generating multiple sequences in subsets of data

2009-08-27 Thread Jason Baucom
ike row3<-sequence(nrow(unique(stuff$row2))) that actually works :-) Here is the for loop that functions properly for row3: stuff$row3<-c(1) for (i in 2:nrow(stuff)) { if ( stuff$row2[i] == stuff$row2[i-1]) { stuff$row3[i] = stuff$row3[i-1]+1}} Thanks! Jason Baucom Ateb, Inc. 919