Re: [R] How to remove white spaces

2008-08-15 Thread Prof Brian Ripley
On Fri, 15 Aug 2008, Bos, Roger wrote: All, I am storing a string of email addresses in a table and when I retrieve them using a RODBC statement such as: test = sqlQuery(xf, "select specialist from roger_sector_specialist")$specialist 'test' is of mode list and includes a bunch of white space

[R] How to remove white spaces

2008-08-15 Thread Bos, Roger
All, I am storing a string of email addresses in a table and when I retrieve them using a RODBC statement such as: test = sqlQuery(xf, "select specialist from roger_sector_specialist")$specialist 'test' is of mode list and includes a bunch of white space. As a work-around I convert 'test' to a