2
Bu örnekte, "Episode IV" ve "A New Hope" arasında bir satır ayırmak istiyorum ama \n
çalışmıyor ... nasıl yapabilirim?ReporteRs satırında satır sonu ekle
library("ReporteRs")
deck <- pptx(title = "Star Wars Movies")
deck <- addSlide(deck, slide.layout = "Title and Content")
deck <- addTitle(deck, "Episode IV\nA New Hope")
# spoiler alert
deck <- addParagraph(deck, paste("This movie is about Luke Skywalker, Han Solo,",
"Obi-Wan Kenobi, and some droids who rescue",
"Princess Leia and blow up the Death Star."))
writeDoc(deck, file = "temp.pptx")
İyi eski Microsoft. Bir metin dosyasına değil bir powerpoint'e yazdığımı unuttum. '\ r \ n'. Fark için bakınız [burada] (http://stackoverflow.com/a/1761086/2573061). Teşekkürler. – C8H10N4O2