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. ______________________________________________ R-help@stat.math.ethz.ch 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 commented, minimal, self-contained, reproducible code.