Dear R helpers Suppose M <- c(1:10) # length(M) = 10 N <- c(25:50) # length(N) = 26 I wish to have an outut file giving M and N. So I have tried write.csv(data.frame(M, N), 'output.csv', row.names = FALSE) but I get the following error message Error in data.frame(M, N) : arguments imply differing number of rows: 10, 26 How do I modify my write.csv command to get my output in a single (csv) file irrespective of lengths. Plese Guide Thanks in advance Maithili
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.