I am not sure what you actually want to accomplish. If you try to correlate numeric/rank data with text data, I have no clue how that could be achieved (other than with text length, or presence/absence of a comment). If you try to figure out how you prevent the cor() function to fail when it encounters character or factor columns use the "use=pairwise.complete.obs" argument within cor().
Best, Daniel -- View this message in context: http://r.789695.n4.nabble.com/Do-a-corelational-analysis-in-R-tp3601913p3602933.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.