[R] space in R

Vladimir Eremeev wl2776 at gmail.com
Tue May 15 12:10:44 CEST 2007

elyakhlifi mustapha wrote:
> hello,
> can you help me I need to seperate words and symbol in a mathematics
> formula as follow
> C744=(C627*C177)/100
> How could I do please?

If you need to simply split a character vector, use strsplit.

This and previous your posts suggest you need to create a parser.
parse can do that.

However, R doesn't seem to me an appropriate tool for the lexical analysis.
bison and yacc could be the right choise.
View this message in context: http://www.nabble.com/space-in-R-tf3757462.html#a10620039
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list