[R] Problem about trim the space and add space to force the same nchar
ken_lee
ken_lee at tynesys.com
Wed May 8 04:33:20 CEST 2002
Dear all,
First, Can I trim the space like a<-"abc " ==> a<- "abc" or a<-"a b c " ==> a<-"a b c"
Second, Can I generate a vector has the same length (nchar) like a<-c("mean =10 ",
"std =1.23",
"...
Best regards
Ken
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list