Re: [R] time series - cbind

2011-10-28 Thread Joe Stuart
I will. Thanks On Fri, Oct 28, 2011 at 10:18 AM, David Winsemius wrote: > > On Oct 28, 2011, at 10:32 AM, Joe Stuart wrote: > >> Hi, >> I have a time series ts.score that gets created based on a function. >> When I print the time series out it prints two rows, first

[R] time series - cbind

2011-10-28 Thread Joe Stuart
Hi, I have a time series ts.score that gets created based on a function. When I print the time series out it prints two rows, first the date then the value. 2011-06-14 -1.25947868 The function gets called multiple times in my script and I'm trying to append the time series to an object called ts.

Re: [R] peak detection

2010-12-14 Thread Joe Stuart
el > > On 14 December 2010 14:22, Joe Stuart wrote: >> Never mind. I did find this package, which seems to do the trick. Thanks >> >> http://rgm2.lab.nig.ac.jp/RGM2/R_man-2.9.0/library/msProcess/man/msExtrema.html >> >> On Mon, Dec 13, 2010 at 9:05 PM, Joe S

Re: [R] peak detection

2010-12-13 Thread Joe Stuart
Never mind. I did find this package, which seems to do the trick. Thanks http://rgm2.lab.nig.ac.jp/RGM2/R_man-2.9.0/library/msProcess/man/msExtrema.html On Mon, Dec 13, 2010 at 9:05 PM, Joe Stuart wrote: > Hi, > I was wondering if anyone knows of a package that contains the ability >

[R] peak detection

2010-12-13 Thread Joe Stuart
Hi, I was wondering if anyone knows of a package that contains the ability for peak/valley detection. Here is an example of what I'm looking for, only problem is that it's written in Matlab. http://www.billauer.co.il/peakdet.html Thanks for any help in advance. -Joe

Re: [R] Pipe

2010-05-26 Thread Joe Stuart
Thanks for the info. I'll give that a try. On May 25, 2010, at 5:36 PM, jim holtman wrote: readLines will read until it reached an end-of -file. try readLines(con, n=1) to read one line at a time an then process it. On Tue, May 25, 2010 at 2:07 PM, Joe Stuart wrote: Hi, I

[R] Pipe

2010-05-25 Thread Joe Stuart
Hi, I'm trying to use the pipe function to read data from another process on my server. Here is the code I have tried. con <- pipe("/var/matlab/scripts/stream.pl") while(con_read <- readLines(con)) { print(con_read) } Problem is that the data from the perl script just keeps appending to con_re