Skip to content
Prev 164828 / 398506 Next

Reading from Google Docs

Great. I have previously installed 7zip.
It worked well. I installed the files. See below (way below).

When I  entered >library(RGoogleDocs)
it did not run.
So I just ran auth.R
Then I was able to run
auth <-getGoogleAuth("fjbuch at gmail.com","mypassword")
con = getConnection(auth)
con$getDocs()
all worked until this point when I got
Error in con$getDocs : $ operator not defined for this S4 class
Formal class 'GoogleDocsConnection' [package ""] with 0 slots
 list()

I have just seen Prof Brian Ripley's correspondence. I had installed
RCurl and XML from the Tinn-R "R controlling:packages" button. It
appears to me that I need to check out R-admin manual.
Is there a simple generic r script that I could run to determine if my
RCurl and XML are running properly?
================================================================================
C:\Program Files\R\R-2.7.2\library\RGoogleDocs\
--------------------------------------------------------------------------------
inst                                          <DIR>
12/15/2008 17:27:57
R                                             <DIR>
12/15/2008 17:27:57
DESCRIPTION                                             777  9/24/2008
12:47:59
--------------------------------------------------------------------------------
1 file(s), 2 folder(s)                                  777 bytes
================================================================================
================================================================================
C:\Program Files\R\R-2.7.2\library\RGoogleDocs\inst\
--------------------------------------------------------------------------------
doc                                           <DIR>
12/15/2008 17:27:57
sampleDocs                                    <DIR>
12/15/2008 17:44:07
--------------------------------------------------------------------------------
0 file(s), 2 folder(s)                                    0 bytes
================================================================================
================================================================================
C:\Program Files\R\R-2.7.2\library\RGoogleDocs\inst\doc\
--------------------------------------------------------------------------------
basics.html                                           5,867  9/24/2008
11:27:38
basics.pdf                                            8,873  9/24/2008
11:30:51
basics.xml                                            3,504  9/24/2008
11:27:34
GNUmakefile                                              39  9/24/2008
11:24:44
run.html                                             14,150  9/24/2008
12:46:41
run.pdf                                              13,643  9/24/2008
12:44:39
run.xml                                               9,257  9/24/2008
12:44:23
--------------------------------------------------------------------------------
7 file(s), 0 folder(s)                               55,333 bytes
================================================================================
================================================================================
C:\Program Files\R\R-2.7.2\library\RGoogleDocs\inst\sampleDocs\
--------------------------------------------------------------------------------
SampleDoc.doc                                        22,016  9/24/2008
12:44:23
SampleSpreadsheet.xls                                17,408  9/24/2008
12:44:23
--------------------------------------------------------------------------------
2 file(s), 0 folder(s)                               39,424 bytes
================================================================================
================================================================================
C:\Program Files\R\R-2.7.2\library\RGoogleDocs\R\
--------------------------------------------------------------------------------
auth.R                                                8,183  9/24/2008
12:44:23
--------------------------------------------------------------------------------
1 file(s), 0 folder(s)                                8,183 bytes
================================================================================

Farrel Buchinsky
GrandCentral Tel: (412) 567-7870
On Mon, Dec 15, 2008 at 17:12, Gustavo Carvalho <gustavo.bio+R at gmail.com> wrote: