Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions R/latex.s
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ latex.default <-
landscape=FALSE,
multicol=TRUE, ## to remove multicolumn if no need
math.row.names=FALSE, math.col.names=FALSE,
hyperref=NULL,
hyperref=NULL, comment = TRUE,
...)
{
if(length(hyperref)) hyperref <- sprintf('\\hyperref[%s]{', hyperref)
Expand Down Expand Up @@ -564,8 +564,9 @@ latex.default <-
vbar <- ifelse(vbar, "|", "")

if(! append) cat("", file=file) #start new file

cat("%", deparse(sys.call()), "%\n", file=file, append=file != '', sep='')

if (comment)
cat("%", deparse(sys.call()), "%\n", file=file, append=file != '', sep='')

if(dcolumn) {
decimal.point <- ifelse(cdot, paste(sl, "cdot", sep=""), ".")
Expand Down