[R] Read files in a folder when new data files come

2010-01-24 Thread jlfmssm
Hello, I am working on a project. The new data files is coming as the data collectors get data, then the data collectors put these new data files in a folder. I need to read these new data files when they are in folder. so far, I did this job manually, that is to say, each time I go to that

Re: [R] Read files in a folder when new data files come

2010-01-24 Thread jlfmssm
then rewrite your flag file to update its modification date for the next round. Does this do what you want? On Sun, Jan 24, 2010 at 3:05 PM, jlfmssm jlfm...@gmail.com wrote: Hello, I am working on a project. The new data files is coming as the data collectors get data, then the data collectors

Re: [R] a question about replacing a column that is factor

2009-07-25 Thread jlfmssm
,]$tempcalved2-'2008-03-08' FDLFDPdata$tempcalved2-factor(FDLFDPdata$tempcalved2) ## the factor above just update the levels Case this is what you want, you can also change $ID==69912008 $ID %in% c(69912008,) Good luck, milton On Fri, Jul 24, 2009 at 10:33 PM, jlfmssm jlfm

[R] a question about replacing a column that is factor

2009-07-24 Thread jlfmssm
Hi, everyone, I want to use a new value to replace a column that is a factor. However this column is replaced by NA , which is not what I want. I know this is because the new value is not in the levels of that column, but I don't know how to fix it. Can someone help me to figure this out? The

[R] error for installation

2009-07-15 Thread jlfmssm
I used packages 'fields. when I load workspace again, then do installation again. I get the following error. I read R for Windows FAQ (4.8 see below), but I still can't figure it out. Does anyone can help me out? Thanks, jlm

[R] splint

2009-07-08 Thread jlfmssm
I am trying to understand idea for splint, but it use Fortran code. Does anyone know how to see that Fortran code? Is splint a not-knot spline method? Thanks, jfm [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] a question about splint

2009-07-06 Thread jlfmssm
I am using splint to perform cubic spline interpolation, but I don't know how this function set up knots? Does anyone know about this? Thanks, jlf [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] xyplot question

2009-07-01 Thread jlfmssm
label says: red *=FDP, blueo=FDL Does anyone know how to do this? thanks, jlfmssm [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] another xyplot question

2009-07-01 Thread jlfmssm
. Does anyone know how to change this? thanks, jlfmssm [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] ask for help xyplot

2009-06-23 Thread jlfmssm
I want to make such plot using the following data set plot Mean with Sd(+/-) by Dim group by Lac here is data Does anyone know how to plot using xyploy Thanks, Aimin Mean Sd Var Min Max Dim Lac 704 44.0 NA NA 44.0 44.0 -30 3 703

[R] question about read.xls

2009-06-05 Thread jlfmssm
I am woking on Windows and using read.xls to read Excel.xls file. But it needs to install perl on my machine first, and then give the following until it can work: read.xls(file,sheet=i,perl=E:\\Perl\\bin\\bin\\perl.exe); I am wondering if there is other way to read Excel.xls file without

[R] Cochran’s Q statistic

2009-06-04 Thread jlfmssm
Does anyone know which package include the computation of CochranÂ’s Q statistic in R? jlfmssm [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] Hedges g statistic

2009-06-04 Thread jlfmssm
which package have Hedges g statistic calculation in R? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide