On 6/10/05, Muhammad Subianto <subianto at gmail.com> wrote:
> Hi,
> Excuse me for this simple question.
> How to convert as.data.frame to as.character?
>
> ?data.frame
>
> > L3 <- LETTERS[1:3]
> > L10 <- LETTERS[1:10]
> > d <- data.frame(cbind(x=c("XYZ"), y=L10), fac=sample(L3, 10, repl=TRUE))
d[] <- as.matrix(d)