[R] exaustive subgrouping or combination

2007-06-27 Thread Waverley
how to implement this? I get some imaginary problem when the sequence becomes large. Thanks much in advance. -- Waverley @ Palo Alto [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] Question: RMySQL bulk load/update one column, dbWriteTable()?

2007-06-06 Thread Waverley
t; 3 3C 0.9 > 4 4D 0.4 > 5 5E 0.7 > > > Chris > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/pos

[R] Question: RMySQL bulk load/update one column, dbWriteTable()?

2007-06-06 Thread Waverley
into MYSQL table using dbWriteTable. But in this situation, I just want to do one column. Thanks much in advance. -- Waverley [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] RMySQL question, sql with R vector or list

2007-06-05 Thread Waverley
uery isn't that big, pull it in R and subset it with > %in%. You could use system.time() to see which runs faster. > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Waverley > > Sent: Tuesday, June 05, 2

Re: [R] RMySQL question, sql with R vector or list

2007-06-05 Thread Waverley
t; > > id.in(2:4) > id name > 1 2B > 2 3C > 3 4D > > > ## simple lists also work > > id.in(list(1,4,5)) > id name > 1 1A > 2 4D > 3 5E > > > Chris > > ___

[R] RMySQL question, sql with R vector or list

2007-06-04 Thread Waverley
o mysql to call to get additional data sets. Can someone on the list help? Thanks. -- Waverley @ Palo Alto [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read t

[R] RMySQL DBI question

2007-05-31 Thread Waverley
run under perl and run directly R under shell, both works. Can someone help? I am running R-2.5.0 with RMySQL-0.5-11 and DBI0.2.3. I am using linux redhat ES4.0 64 bit. -- Waverley @ Palo Alto [[alternative HTML version deleted]] __ R-help@st

[R] Look for a R Package to locate peak data point in one dimensional data set

2006-11-06 Thread Waverley
discover peaks and/or segregate peak shoulders one dimensional data sets. So is there any packages that I can plug in to do the computation? Thanks much in advance. -- Waverley @ Palo Alto [[alternative HTML version deleted]] __ R-help

[R] question of one matrix column being treated as list rather than vector

2006-11-03 Thread Waverley
8]] [1] 246.6667 [[9]] [1] 242.5490 [[10]] [1] 212.9412 -- Waverley @ Palo Alto [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http:/

[R] one row matrix

2006-11-03 Thread Waverley
sign like matrix (b, ncol=1). I have come across a couple of time, that when I try to check how many rows of the computed result matrix - nrow(,,,), because there is only one row, the program failed as R tried to interpret it as a list. Can some one help? -- Waverley @ Palo Alto [[al

Re: [R] how to plot a data.frame?

2006-10-30 Thread Waverley
elp@stat.math.ethz.ch 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, self-contained, reproducible code. > -- Waverley @ Palo Alto [[alternative H

[R] how to set debug breaks

2006-10-30 Thread waverley palo
a break after that. How to do that? Is there a web site detailing the syntax of the debugging of R? Hopefully it would be similar to java or C syntax. Thanks. waverley [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing