On Tue, 2008-03-11 at 10:23 -0700, threshold wrote:
> cat("\hline \n");flush.console()
you need to double the backslashes, as in
cat("\\hline \n");flush.console()
as in
> cat("\\hline \n");flush.console()
\hline
The warning when using just one kind of hints at what is going on:
> cat("\hline
threshold wrote:
> Hi, maybe my question is not typical. I want to make R table-kind output to
> be readable immediately in Latex but I am struggling with symbol '\' needed
> for instance in '\hline'. For example when 'Table' is a matrix class object:
>
> cat("&",Table[1,1], "&",Table[1,2], "\n");f
Hi, maybe my question is not typical. I want to make R table-kind output to
be readable immediately in Latex but I am struggling with symbol '\' needed
for instance in '\hline'. For example when 'Table' is a matrix class object:
cat("&",Table[1,1], "&",Table[1,2], "\n");flush.console()
cat("\hli
3 matches
Mail list logo