> On May 1, 2016, at 11:09 AM, Jan Kacaba <jan.kac...@gmail.com> wrote: > > Hello dear R helpers, > > Is it possible to have more than 1 row for column names in data.frame, > array, tbl_df? I would like to have column numbers in the first row, string > names in the second row, physical unit in third row.
It's possible to embed "\n" in names but whether that will deliver desired results with plotting and printing functions may be another matter. You would always need to quote names, even when using "$". > How would I do it? > > Derek > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. David Winsemius Alameda, CA, USA ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.