Learn R Programming

R2wd (version 1.4)

wdSave: Save the active document.

Description

Save the active document. If a name is given, it is used for the new document, otherwise Word will ask.

Usage

wdSave(Name = NULL, wdapp = .R2wd)

Arguments

Name
File name (if missing, Word will ask).
wdapp
The handle to the Word Application (usually not needed).

Value

    Details

    Saves the active document to the name if given or Word will ask for a name.

    Examples

    Run this code
    wdGet()
    wdSave("This File.doc")
    wdQuit()

    Run the code above in your browser using DataLab