# NOT RUN {
library(huxtable)
ht <- huxtable(
column1 = 1:5,
column2 = letters[1:5]
)
rtf <- rtf_doc(ht, list(hf_line("aTitle")))
orientation(rtf)
# Returns landscape
orientation(rtf) <- "portrait"
# Sets orientation to portrait
# }
Run the code above in your browser using DataLab