0
간단한 문제로 ReporteRs
패키지와 함께 놀기 시작했습니다. ma 슬라이드의 특정 형식을 얻으려고합니다. 예를 들어 막대가없는 1280x1024 프로젝터에 표시하려면 ... ReporteRs
에 의해 만들어진 슬라이드에는 이상한 크기가 있습니다. 어떻게 든 슬라이드의 크기를 설정하는 방법이 있습니까?ReporteRs 패키지로 슬라이드 비율을 설정하는 방법
require(ReporteRs)
require(ggplot2)
myplot <- qplot(Sepal.Length, Petal.Length,
data=iris, color=Species,
size=Petal.Width, alpha=I(0.7))
# Create a new document
mydoc <- pptx(title="EVG demo")
mydoc <- addSlide(mydoc, "Content with Caption")
mydoc <- addTitle(mydoc, "Vector graphics format versus raster format")
mydoc <- addPlot(mydoc, function() print(myplot), vector.graphic=TRUE)
mydoc <- addPlot(mydoc, function() print(myplot), vector.graphic=FALSE)
writeDoc(mydoc, file="EVG_example.pptx")
하고 올바른 자동 응답 –
의를 사용하는 경우 @DavidGohel 그래, 사실은 내가 그것을 알아 냈 이시간 후 사용 이 모든 것, 내가 묻는 것은 문서에 있습니다 ... 그런데, 훌륭한 패키지! – drmariod