if(exists("GoogleDocsPassword")) {
con = getGoogleDocsConnection(names(GoogleDocsPassword), GoogleDocsPassword)
# for all documents
con = getGoogleDocsConnection("[email protected]", "my password")
# for spreadsheets
con = getGoogleDocsConnection("[email protected]", "my password", "wise")
# Getting auth separately.
auth = getGoogleAuth("[email protected]", "my password", "wise")
con = getGoogleDocsConnection(auth)
con = getGoogleDocsConnection(auth = auth)
}
Run the code above in your browser using DataLab