[R] write.csv causes system() and ? to stop working

2008-08-22 Thread J. Scott Olsson
I have a large (100MB, 940k lines) csv file. If I run g <- read.csv('combineTfe-dataFrame-TD.dat') write.csv(g, file="tmp.data"); Now ?mean returns without printing anything to screen and system("touch test.dat") does nothing. If instead I just write out the top of the data, as in g <- read.cs

Re: [R] the "union" of several data frame rows

2008-02-01 Thread J. Scott Olsson
It's ugly, but you could use something like sum(tmp[i,] == "A") > 0 on each column. pax, Scott On Fri, Feb 1, 2008 at 1:58 PM, Scot W. McNary <[EMAIL PROTECTED]> wrote: > Hi, > > I have a question about how to obtain the union of several data frame > rows. I'm trying to create a common key f

Re: [R] How to read Directory

2008-01-27 Thread J. Scott Olsson
On Jan 28, 2008 2:32 AM, Prateek Singh <[EMAIL PROTECTED]> wrote: > I have bunch of files to be parsed for my problem. I don't want to > keep on executing R script for each file. > Is there any way through which I can read whole directory. Like PERL > has opendir() function for directory handling.

[R] increasing smoothing in GAMM (package mgcv)

2008-01-26 Thread J. Scott Olsson
Is there a way in GAMM to increase the amount of smoothing (something like min.sp in GAM)? This is a large-data problem with binomial response. I can get something like the desired effect by using very few knots, but this seems like a kludge. thanks! Scott Olsson [[alternative HTML ver