Re: [R] Number of words in a string

From: Hans-Joerg Bibiko <>
Date: Wed, 09 Apr 2008 17:50:32 +0200

Something like that?

gsub(" {1,}\w+$", "", C) mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 09 Apr 2008 - 15:59:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 09 Apr 2008 - 16:30:27 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive