Re: [R] Trouble with Functions

2012-06-07 Thread Peter Ehlers
On 2012-06-06 12:45, dougmcintosh wrote: Haha no, TextWrangler. And that was definitely it...I think what was happening is that when I opened the text version of the book it opened in Notepad, which was probably opened the txt file in RTF. Then I copied and pasted the function code into TextWran

Re: [R] Trouble with Functions

2012-06-06 Thread dougmcintosh
Haha no, TextWrangler. And that was definitely it...I think what was happening is that when I opened the text version of the book it opened in Notepad, which was probably opened the txt file in RTF. Then I copied and pasted the function code into TextWrangler and didn't even think about Smart Quot

Re: [R] Trouble with Functions

2012-06-06 Thread Peter Ehlers
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 at the gsub call. Maybe if someone could give me a properly formatted exa

Re: [R] Trouble with Functions

2012-06-05 Thread dougmcintosh
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 at the gsub call. Maybe if someone could give me a properly formatted example I could work from instead? Thanks! (t

[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