[R] Substring and strsplit
tlumley at u.washington.edu
Wed Aug 30 00:29:50 CEST 2006
On Tue, 29 Aug 2006, Erin Hodgess wrote:
> Dear R People:
> I am trying to split a character vector into a set of individual
> x3 <- c("dog")
> "d" "o" "g"
> I tried the following:
> Error in strsplit(x3) : argument "split" is missing, with no default
>  "dog"
> I know that this is incredibly simple, but what am I doing wrong?
This is the first example on the help page for strsplit.
More information about the R-help