[R] Single precision data behaviour with readBin()

2006-11-09 Thread Eric Thompson
for all possible values. What about a value of 1.2e-8? Will this be read in as: signif(1.2034e-8, digits = 7) [1] 1.2e-08 or could this occur?: signif(1.234e-8, digits = 7) [1] 1.23e-08 Thanks for any advice. Eric Thompson Graduate Student Tufts University Civil Environmental

Re: [R] delete content of directory - unlink doesn't work as expected

2006-11-28 Thread Eric Thompson
This has worked for me: system(rm path/*) On 11/28/06, Hans-Peter [EMAIL PROTECTED] wrote: Hi, I try to delete the files in a directory. While the command invisible(lapply( list.files( DeleteThis ), function(x) file.remove(paste(DeleteThis, x, sep=/ )) )) works, I keep thinking that

Re: [R] Help for L-moment Ratio Diagram

2006-12-04 Thread Eric Thompson
I think there are a few packages for doing this. I have used lmomco: the function lmom.ub() will calculate the sample lmoments, and lmrdia() gives theoretical lmoments for different distributions. Hope this is helpful. Eric On 12/4/06, amna khan [EMAIL PROTECTED] wrote: Respected Sir I have

Re: [R] x-axis labeling between thickpoints

2007-02-04 Thread Eric Thompson
I think you want the 'at', 'labels', and 'tick' arguments of axis(). This should essentially get you what you want: hist(rnorm(100), axes = F) axis(side = 1, at = -3:3, lab = F) axis(side = 1, at = (-3:3)+0.5, tick = F) On 2/4/07, René Cyranek [EMAIL PROTECTED] wrote: Hello! I am trying

[R] error returned by make check in R-2.5.0

2007-04-27 Thread Eric Thompson
or advice. I thought maybe this was due to something about how my system is setup, but since I don't get the error in R-2.4.1, that seems to imply to me that there is something different in R-2.5.0 that is causing it. Thanks. Eric Thompson Tufts University Civil Environmental Engineering sessionInfo

Re: [R] acf and pacf plot

2007-04-27 Thread Eric Thompson
The lines indicate the confidence interval (95% by default). I think you mean that it is not documented in help(acf), but it directs you to plot.acf in the See Also secion. From ?plot.acf: Note: The confidence interval plotted in 'plot.acf' is based on an _uncorrelated_ series and

Re: [R] error returned by make check in R-2.5.0

2007-04-28 Thread Eric Thompson
10.0 10.5 9.0 6.0 So, I suppose I will use the g77 compiler. Eric Thompson Tufts University Civil Environmental Engineering Graduate Student On Fri, 27 Apr 2007, Eric Thompson wrote: Today I tried to install the R-2.5.0 (currently running R-2.4.1) on Mandriva Linux. The ./configure