Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require(xlsx)
- L3 <- LETTERS[1:3]
- fac <- sample(L3, 10, replace = TRUE)
- dataToXlsx <- data.frame(x=1, y=1:10, fac=fac)
- write.xlsx(dataToXlsx, "file2.xlsx")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement