inst/examples/WordCrash.R

library(RDCOMClient)
app = COMCreate("Word.Application")
doc = app$Documents()$Add()
range = doc$Range()

# It is the call to Collapse() that causes the problems.
# Without this, we get back a \r.
# Seems fine now - October, 2007
#range$Collapse()
#range$Text()
omegahat/RDCOMClient documentation built on July 24, 2022, 5:45 a.m.