Skip to content
Prev 164165 / 398506 Next

Replacing tabs with appropriate number of spaces

On Tue, Dec 9, 2008 at 10:39 AM, Dennis Fisher <fisher at plessthan.com> wrote:
Tabs usually just expand to a fixed number of spaces - so gsub("\t","
  ", text) would do the job.

Hadley