[R] Works from CLI but not from prompt

Henri-Paul Indiogine hindiogine at gmail.com
Wed Sep 21 00:43:04 CEST 2011


Hi Sarah!

2011/9/20 Sarah Goslee <sarah.goslee at gmail.com>:
>> What works? Assigning a string to a function, thus replacing the
>> function in your search
>> path?

Bad choice for character variable name on my part.  How about this?

pattern <- "[Aa]ccountability"

If I enter this at the CLI and then type "pattern", R returns
"[Aa]ccountability"

I I put this statement in a script then the variable "pattern" is not created.

Thanks,

-- 
Henri-Paul Indiogine

Curriculum & Instruction
Texas A&M University
TutorFind Learning Centre

Email: hindiogine at gmail.com
Skype: hindiogine
Website: http://people.cehd.tamu.edu/~sindiogine



More information about the R-help mailing list