2

我正在使用以下代码片段将一些文本数据框编写为表格。

temp<-c("A white paper is a document that describes a given problem and proposes a specific solution to the problem.", "Originally used to describe government policy, white papers are most common today in corporate settings.", "A typical white paper might list ways to meet a client's marketing needs, suggest the use of a certain product for a technical process, or identify ways to streamline internal communication.")
myTable<-as.data.frame(temp)

myTable<-print.xtable(xtable(textData,caption="Some Text Data"),caption.placement="top",print.results="F", tabular.environment="tabularx", width="\\textwidth")

表格边框仅限于页面,但文本仍然溢出。如何让文本进入表格限制范围内?

4

0 回答 0