Save and close a word document by giving a name in R -


i trying use 2 libraries (descstool, r2wd) in order descriptive analysis of dataset saved in folder exploration later. these steps trying

library(desctools) library(r2wd) data(iris)  <- ls()     wrd <- getnewwrd(header=true) wdget() desc(get(i), plotit=true, wrd=wrd)  wdsave(name="temp.doc", wdapp=.r2wd) wdquit() 

although word capturing output supposed be, cannot save word file giving name (e.g.: temp.doc). can shed light here?

try

library(desctools) wrd <- getnewwrd() desc(iris, wrd=wrd)  wrd[["activedocument"]]$saveas2(filename="describe iris.docx") wrd$quit() 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -