Thank you Yaïr. Sorry about that.
Looking in an answer from stackoverflow for another type of problem, I found this solution: column1 <- c("a", "b", "c") column2 <- c("\u2264 0.3", 0.5, 0.8) column3 <- c("\u2264 0.5" , 0.6, 0.9) table <- data.frame(column1, column2, column3) kable(table) 2017-10-09 9:55 GMT-06:00 Levy, Yaïr <yair.l...@mow.vlaanderen.be>: > Dear Manuel, > > > How about: > > " > > column1 <- c("a", "b", "c") > column2 <- paste("<= ", c(0.3, 0.5, 0.8)) > column3 <- paste("<= ", c(0.5, 0.6, 0.9)) > > table <- data.frame(column1, column2, column3) > > table > > > " > > > > Watch out not to mix English with Spanish while scripting fast. > > > Pura Vida! > > > Yaïr Levy > > > > > > > > -----Oorspronkelijk bericht----- > Van: R-sig-ecology [mailto:r-sig-ecology-boun...@r-project.org] Namens > Manuel Spínola > Verzonden: maandag 9 oktober 2017 17:48 > Aan: r-sig-ecology@r-project.org > Onderwerp: [R-sig-eco] How to include math symbols in a data frame > > Dear list members, > > I am trying to make a table with math symbols, specifically, less than or > equal to symbol: > > column1 <- c("a", "b", "c") > column2 <- c("less than or equal to" 0.3, 0.5, 0.8) > column3 <- c("less than or equal to" 0.5, 0.6, 0.9) > > table <- data.frame(columna1, columna2, columna3) > > kable(table) > > How can I include the math symbol in the table? > > Manuel > -- > *Manuel Spínola, Ph.D.* > Instituto Internacional en Conservación y Manejo de Vida Silvestre > Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspin...@una.cr > <mspin...@una.ac.cr> mspinol...@gmail.com > Teléfono: (506) 8706 - 4662 > Personal website: Lobito de río <https://sites.google.com/ > site/lobitoderio/> > Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> > > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-ecology mailing list > R-sig-ecology@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology > -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspin...@una.cr <mspin...@una.ac.cr> mspinol...@gmail.com Teléfono: (506) 8706 - 4662 Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> [[alternative HTML version deleted]] _______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology