[R] Can anyone please tell me how to strip the white spaces from a character vector?

From: roger bos <roger.bos_at_gmail.com>
Date: Tue 25 Oct 2005 - 22:51:48 EST


for example:
> a$tic[1:10]

[1] "AIR " "ABCB " "ABXA " "ACMR " "ADCT " "ADEX "
[7] "ABM " "AFCE " "AG " "ATG "
 Can anyone please tell me how to strip the white spaces from a$tic?  Thanks,
 Roger

        [[alternative HTML version deleted]]



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 Received on Tue Oct 25 23:03:40 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:47 EST