[R] Error: attempt to apply non function and reference classes

2014-03-03 Thread Dave Mitchell
? It doesn't appear to be caused with actual errors produced by my script, so I'm not certain where to start looking. Any ideas? Thanks for your time. Dave Mitchell [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] environment of lm

2013-06-23 Thread Dave Mitchell
Hello, I'm running into what I believe is a scoping issue having to do with the environment in which the weights argument is evaluated in lm. From the lm documentation All of weights, subset and offset are evaluated in the same way as variables in formula, that is first in data and then in the

Re: [R] environment of lm

2013-06-23 Thread Dave Mitchell
] On Behalf Of William Dunlap Sent: Sunday, June 23, 2013 1:26 PM To: Dave Mitchell; r-help@r-project.org Subject: Re: [R] environment of lm Your web site had WeightsBreaks - function(){ someData - data.frame(x = rnorm(20, 5, 1),y = 1:20 + runif(20),z = 70:51, weight = 0.05

[R] sqlFetch works but sqlQuery doesn't

2013-04-02 Thread Dave Mitchell
doesn't exist. Also, when I query the database outside of R, I see that the table doesn't exist. However, using sqlFetch works, and (perhaps, as expected) the table is dropped upon evaluating close(myConn). Also, sqlDrop works as expected. Thanks for your time. Any thoughts are appreciated. Dave

[R] sqlSave writes, but only for sqlFetch

2013-04-02 Thread Dave Mitchell
are appreciated. Dave Mitchell [[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-guide.html and provide

[R] sqlSave writes, but only for sqlFetch

2013-04-02 Thread Dave Mitchell
exist. Also, when I query the database outside of R, I see that the table doesn't exist. However, using sqlFetch works, and (perhaps, as expected) the table is dropped upon evaluating close(myConn). Also, sqlDrop works as expected. Thanks for your time. Any thoughts are appreciated. Dave

Re: [R] upgrading r-base

2013-02-27 Thread Dave Mitchell
Yes, I've added the appropriate repository to my sources.list file. I'm sorry, I should've mentioned I've followed everything in the tutorial you posted. Has anyone had issues the tutorial at http://cran.r-project.org/bin/linux/ubuntu/README couldn't solve? Thanks for your time. Dave Mitchell

[R] upgrading r-base

2013-02-26 Thread Dave Mitchell
to believe that everyone using Ubuntu server is an R version behind. Thanks for your time. Dave Mitchell attachment: r-base_error.PNG__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] RODBC and datetimes

2013-01-31 Thread Dave Mitchell
in ms sql server? If so, what type of variable did you use in R? I'm not really sure where to go or what to try next here. Any advice is appreciated. Thanks! Dave Mitchell __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] arithmetic and logical operators

2013-01-30 Thread Dave Mitchell
Why, in R, does (0.1 + 0.05) 0.15 evaluate to True? What am I missing here? How can I ensure this (ostensibly incorrect) behavior doesn't introduce bugs into my code? Thanks for your time. Dave Mitchell [[alternative HTML version deleted

[R] ffdfindexget from package ff

2012-10-31 Thread Dave Mitchell
I'm having trouble getting ffdfindexget to work right in Windows. Even the most trivial of examples gives me problems. myVec = ff(1:5) another = ff(10:14) littleFrame = ffdf(myVec, another) posVec = ff(c(2, 4), vmode = 'integer') ffdfindexget(littleFrame, posVec) Error in if (any(B 1))

[R] unzipping with ff

2012-09-12 Thread Dave Mitchell
or should I consider another package? Thanks for your time. Dave Mitchell [[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

[R] Scripting issues

2008-01-11 Thread dave mitchell
make an array, however, the data types of the columns are different and as I understand, an array cannot handle this type of structure. Any advice on how to do this? Any help is greatly appreciated. Thank you, Dave Mitchell [[alternative HTML version deleted

[R] Array dimnames

2007-12-15 Thread dave mitchell
appreciated. Dave Mitchell Undergraduate: Statistics and Mathematics, University of Illinois, Urbana-Champaign [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Print Summary

2007-11-28 Thread dave mitchell
for saving a few minutes, but i'll be leaving the script for another in our lab (who may or may not know R too well) when I leave. Best, Dave Mitchell Student University of Illinois-Champaign Urbana [[alternative HTML version deleted]] __ R-help@r