Re: [R] Trouble with Functions

2012-06-06 Thread dougmcintosh
.nabble.com> wrote: > On 2012-06-05 17:00, dougmcintosh wrote: > > > FYI - here are the errors (I can get rid of the first one by removing > the > > progress parameter - which I understand controls whether a progress bar > is > > displayed). The second one stops a

Re: [R] Trouble with Functions

2012-06-05 Thread dougmcintosh
! (the caret is underneath the ? after progress in the first case, and under the parenthesis in the second) > source('/Documents/score.txt') Error in source("Documents/score.txt") : /Users/dougmcintosh/Documents/score.txt:1:73: unexpected input 1: score.sentiment = functi

[R] Trouble with Functions

2012-06-05 Thread dougmcintosh
Hi guys, I'm a new to R and following along with Tutorials using this book: http://www.amazon.com/Practical-Statistical-Analysis-Non-structured-Applications/dp/012386979X In one of them, they use the twitteR package and describe the following function (see below). From what I can tell from the do