Reading from Google Docs

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I saw a thread from September 24 in which Duncan Temple Lang told us:
- The package currently has no Rd files, but there is a brief "user's
guide". The package is available from
         http://www.omegahat.org/RGoogleDocs

I could not find it by using Tinn-R or RGui's package install tool.
Then when I went to the website I saw that package is only available
as
http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.1-0.tar.gz

To my knowledge tar.gz is only for Linux. Does this mean that I cannot
run it on a windows machine. Please tell me that there is a way to run
it on a Windows machine.

Farrel Buchinsky
GrandCentral Tel: (412) 567-7870

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Gustavo Carvalho-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

You can probably extract a .tar.gz using 7zip on Windows.

Regards,

Gustavo.

On Mon, Dec 15, 2008 at 8:07 PM, Farrel Buchinsky <fjbuch@...> wrote:

> I saw a thread from September 24 in which Duncan Temple Lang told us:
> - The package currently has no Rd files, but there is a brief "user's
> guide". The package is available from
>         http://www.omegahat.org/RGoogleDocs
>
> I could not find it by using Tinn-R or RGui's package install tool.
> Then when I went to the website I saw that package is only available
> as
> http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.1-0.tar.gz
>
> To my knowledge tar.gz is only for Linux. Does this mean that I cannot
> run it on a windows machine. Please tell me that there is a way to run
> it on a Windows machine.
>
> Farrel Buchinsky
> GrandCentral Tel: (412) 567-7870
>
> ______________________________________________
> R-help@... mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Prof Brian Ripley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 15 Dec 2008, Farrel Buchinsky wrote:

> I saw a thread from September 24 in which Duncan Temple Lang told us:
> - The package currently has no Rd files, but there is a brief "user's
> guide". The package is available from
>         http://www.omegahat.org/RGoogleDocs
>
> I could not find it by using Tinn-R or RGui's package install tool.
> Then when I went to the website I saw that package is only available
> as
> http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.1-0.tar.gz
>
> To my knowledge tar.gz is only for Linux. Does this mean that I cannot
> run it on a windows machine. Please tell me that there is a way to run
> it on a Windows machine.

Yes, you can install source packages on Windows: the R-admin manual gives
you a detailed guide to the tools that you will need to do so.  It even
tells you about an automated package building service you could try.
RGoogleDocs depends on RCurl and XML, both of which I provide Windows
binaries for (and are much trickier to install because of their external
software requirements).

> Farrel Buchinsky
> GrandCentral Tel: (412) 567-7870

--
Brian D. Ripley,                  ripley@...
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...","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
> str(con)
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@...> wrote:

>
> Hello,
>
> You can probably extract a .tar.gz using 7zip on Windows.
>
> Regards,
>
> Gustavo.
>
> On Mon, Dec 15, 2008 at 8:07 PM, Farrel Buchinsky <fjbuch@...> wrote:
> > I saw a thread from September 24 in which Duncan Temple Lang told us:
> > - The package currently has no Rd files, but there is a brief "user's
> > guide". The package is available from
> >         http://www.omegahat.org/RGoogleDocs
> >
> > I could not find it by using Tinn-R or RGui's package install tool.
> > Then when I went to the website I saw that package is only available
> > as
> > http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.1-0.tar.gz
> >
> > To my knowledge tar.gz is only for Linux. Does this mean that I cannot
> > run it on a windows machine. Please tell me that there is a way to run
> > it on a Windows machine.
> >
> > Farrel Buchinsky
> > GrandCentral Tel: (412) 567-7870
> >
> > ______________________________________________
> > R-help@... mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Duncan Temple Lang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Farrel Buchinsky wrote:

> 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@...","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
>> str(con)
> Formal class 'GoogleDocsConnection' [package ""] with 0 slots
>  list()


If you use

   getDocs(con)

it should work, assuming auth and con are appropriate.

Where did you see that


    con$getDocs()

should work?
In the documentation file run.xml, there is the line

"
In the future, we might provide an interface that avoids this such
 

as
 

  con$getDocs()
...
"

So, as it says, it is in the future.

  D.


>
> 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@...> wrote:
>> Hello,
>>
>> You can probably extract a .tar.gz using 7zip on Windows.
>>
>> Regards,
>>
>> Gustavo.
>>
>> On Mon, Dec 15, 2008 at 8:07 PM, Farrel Buchinsky <fjbuch@...> wrote:
>>> I saw a thread from September 24 in which Duncan Temple Lang told us:
>>> - The package currently has no Rd files, but there is a brief "user's
>>> guide". The package is available from
>>>         http://www.omegahat.org/RGoogleDocs
>>>
>>> I could not find it by using Tinn-R or RGui's package install tool.
>>> Then when I went to the website I saw that package is only available
>>> as
>>> http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.1-0.tar.gz
>>>
>>> To my knowledge tar.gz is only for Linux. Does this mean that I cannot
>>> run it on a windows machine. Please tell me that there is a way to run
>>> it on a Windows machine.
>>>
>>> Farrel Buchinsky
>>> GrandCentral Tel: (412) 567-7870
>>>
>>> ______________________________________________
>>> R-help@... mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>
> ______________________________________________
> R-help@... mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I run>getDocs(con)

I get this error:
Error in getDocs(con) : could not find function "xmlParse"

Where should xmlParse be coming from?

You had asked where I got the idea to enter "con$getDocs()". I got it
from run.html. But now that you bring the words "In the future, we
might" to my attention I can see that I should not have tried it.



Farrel Buchinsky
GrandCentral Tel: (412) 567-7870




On Mon, Dec 15, 2008 at 19:28, Duncan Temple Lang
<duncan@...> wrote:

>
>
> Farrel Buchinsky wrote:
>>
>> 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@...","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
>>>
>>> str(con)
>>
>> Formal class 'GoogleDocsConnection' [package ""] with 0 slots
>>  list()
>
>
> If you use
>
>  getDocs(con)
>
> it should work, assuming auth and con are appropriate.
>
> Where did you see that
>
>
>   con$getDocs()
>
> should work?
> In the documentation file run.xml, there is the line
>
> "
> In the future, we might provide an interface that avoids this such
>
> as
>
>  con$getDocs()
> ...
> "
>
> So, as it says, it is in the future.
>
>  D.
>
>
>>
>> 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@...>
>> wrote:
>>>
>>> Hello,
>>>
>>> You can probably extract a .tar.gz using 7zip on Windows.
>>>
>>> Regards,
>>>
>>> Gustavo.
>>>
>>> On Mon, Dec 15, 2008 at 8:07 PM, Farrel Buchinsky <fjbuch@...>
>>> wrote:
>>>>
>>>> I saw a thread from September 24 in which Duncan Temple Lang told us:
>>>> - The package currently has no Rd files, but there is a brief "user's
>>>> guide". The package is available from
>>>>        http://www.omegahat.org/RGoogleDocs
>>>>
>>>> I could not find it by using Tinn-R or RGui's package install tool.
>>>> Then when I went to the website I saw that package is only available
>>>> as
>>>> http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.1-0.tar.gz
>>>>
>>>> To my knowledge tar.gz is only for Linux. Does this mean that I cannot
>>>> run it on a windows machine. Please tell me that there is a way to run
>>>> it on a Windows machine.
>>>>
>>>> Farrel Buchinsky
>>>> GrandCentral Tel: (412) 567-7870
>>>>
>>>> ______________________________________________
>>>> R-help@... mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>> PLEASE do read the posting guide
>>>> http://www.R-project.org/posting-guide.html
>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>
>>
>> ______________________________________________
>> R-help@... mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Duncan Temple Lang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Farrel Buchinsky wrote:
> When I run>getDocs(con)
>
> I get this error:
> Error in getDocs(con) : could not find function "xmlParse"
>
> Where should xmlParse be coming from?

 From the XML package.


>
> You had asked where I got the idea to enter "con$getDocs()". I got it
> from run.html. But now that you bring the words "In the future, we
> might" to my attention I can see that I should not have tried it.
>
>
>
> Farrel Buchinsky
> GrandCentral Tel: (412) 567-7870
>
>
>
>
> On Mon, Dec 15, 2008 at 19:28, Duncan Temple Lang
> <duncan@...> wrote:
>>
>> Farrel Buchinsky wrote:
>>> 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@...","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
>>>> str(con)
>>> Formal class 'GoogleDocsConnection' [package ""] with 0 slots
>>>  list()
>>
>> If you use
>>
>>  getDocs(con)
>>
>> it should work, assuming auth and con are appropriate.
>>
>> Where did you see that
>>
>>
>>   con$getDocs()
>>
>> should work?
>> In the documentation file run.xml, there is the line
>>
>> "
>> In the future, we might provide an interface that avoids this such
>>
>> as
>>
>>  con$getDocs()
>> ...
>> "
>>
>> So, as it says, it is in the future.
>>
>>  D.
>>
>>
>>> 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@...>
>>> wrote:
>>>> Hello,
>>>>
>>>> You can probably extract a .tar.gz using 7zip on Windows.
>>>>
>>>> Regards,
>>>>
>>>> Gustavo.
>>>>
>>>> On Mon, Dec 15, 2008 at 8:07 PM, Farrel Buchinsky <fjbuch@...>
>>>> wrote:
>>>>> I saw a thread from September 24 in which Duncan Temple Lang told us:
>>>>> - The package currently has no Rd files, but there is a brief "user's
>>>>> guide". The package is available from
>>>>>        http://www.omegahat.org/RGoogleDocs
>>>>>
>>>>> I could not find it by using Tinn-R or RGui's package install tool.
>>>>> Then when I went to the website I saw that package is only available
>>>>> as
>>>>> http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.1-0.tar.gz
>>>>>
>>>>> To my knowledge tar.gz is only for Linux. Does this mean that I cannot
>>>>> run it on a windows machine. Please tell me that there is a way to run
>>>>> it on a Windows machine.
>>>>>
>>>>> Farrel Buchinsky
>>>>> GrandCentral Tel: (412) 567-7870
>>>>>
>>>>> ______________________________________________
>>>>> R-help@... mailing list
>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>> PLEASE do read the posting guide
>>>>> http://www.R-project.org/posting-guide.html
>>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>>
>>> ______________________________________________
>>> R-help@... mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have loaded the XML package. Should the function not be xmlTreeParse?

Look at this
> library(XML)

> help(xmlParse)
No documentation for 'xmlParse' in specified packages and libraries:
you could try 'help.search("xmlParse")'

> help.search("xmlParse")
Help files with alias or concept or title matching 'xmlParse' using
fuzzy matching:



supportsExpat(XML)      Determines which native XML parsers are being
                        used.
xmlEventHandler(XML)    Default handlers for the SAX-style event XML
                        parser
xmlParent(XML)          Get parent node of XMLInternalNode or ancestor
                        nodes
xmlStopParser(XML)      Terminate an XML parser
xmlTreeParse(XML)       XML Parser



Farrel Buchinsky
GrandCentral Tel: (412) 567-7870




On Mon, Dec 15, 2008 at 19:56, Duncan Temple Lang
<duncan@...> wrote:

>
>
> Farrel Buchinsky wrote:
>>
>> When I run>getDocs(con)
>>
>> I get this error:
>> Error in getDocs(con) : could not find function "xmlParse"
>>
>> Where should xmlParse be coming from?
>
> From the XML package.
>
>
>>
>> You had asked where I got the idea to enter "con$getDocs()". I got it
>> from run.html. But now that you bring the words "In the future, we
>> might" to my attention I can see that I should not have tried it.
>>
>>
>>
>> Farrel Buchinsky
>> GrandCentral Tel: (412) 567-7870
>>
>>
>>
>>
>> On Mon, Dec 15, 2008 at 19:28, Duncan Temple Lang
>> <duncan@...> wrote:
>>>
>>> Farrel Buchinsky wrote:
>>>>
>>>> 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@...","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
>>>>>
>>>>> str(con)
>>>>
>>>> Formal class 'GoogleDocsConnection' [package ""] with 0 slots
>>>>  list()
>>>
>>> If you use
>>>
>>>  getDocs(con)
>>>
>>> it should work, assuming auth and con are appropriate.
>>>
>>> Where did you see that
>>>
>>>
>>>  con$getDocs()
>>>
>>> should work?
>>> In the documentation file run.xml, there is the line
>>>
>>> "
>>> In the future, we might provide an interface that avoids this such
>>>
>>> as
>>>
>>>  con$getDocs()
>>> ...
>>> "
>>>
>>> So, as it says, it is in the future.
>>>
>>>  D.
>>>
>>>
>>>> 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@...>
>>>> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> You can probably extract a .tar.gz using 7zip on Windows.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Gustavo.
>>>>>
>>>>> On Mon, Dec 15, 2008 at 8:07 PM, Farrel Buchinsky <fjbuch@...>
>>>>> wrote:
>>>>>>
>>>>>> I saw a thread from September 24 in which Duncan Temple Lang told us:
>>>>>> - The package currently has no Rd files, but there is a brief "user's
>>>>>> guide". The package is available from
>>>>>>       http://www.omegahat.org/RGoogleDocs
>>>>>>
>>>>>> I could not find it by using Tinn-R or RGui's package install tool.
>>>>>> Then when I went to the website I saw that package is only available
>>>>>> as
>>>>>> http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.1-0.tar.gz
>>>>>>
>>>>>> To my knowledge tar.gz is only for Linux. Does this mean that I cannot
>>>>>> run it on a windows machine. Please tell me that there is a way to run
>>>>>> it on a Windows machine.
>>>>>>
>>>>>> Farrel Buchinsky
>>>>>> GrandCentral Tel: (412) 567-7870
>>>>>>
>>>>>> ______________________________________________
>>>>>> R-help@... mailing list
>>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>>> PLEASE do read the posting guide
>>>>>> http://www.R-project.org/posting-guide.html
>>>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>>>
>>>> ______________________________________________
>>>> R-help@... mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>> PLEASE do read the posting guide
>>>> http://www.R-project.org/posting-guide.html
>>>> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I took the liberty of replacing all the xmlParse in auth.R with
xmlTreeParse. Alas still no joy.
getDocs(con)
Error in UseMethod("xpathApply") : no applicable method for "xpathApply"
Farrel Buchinsky
GrandCentral Tel: (412) 567-7870




On Mon, Dec 15, 2008 at 20:00, Farrel Buchinsky <fjbuch@...> wrote:

> I have loaded the XML package. Should the function not be xmlTreeParse?
>
> Look at this
>> library(XML)
>
>> help(xmlParse)
> No documentation for 'xmlParse' in specified packages and libraries:
> you could try 'help.search("xmlParse")'
>
>> help.search("xmlParse")
> Help files with alias or concept or title matching 'xmlParse' using
> fuzzy matching:
>
>
>
> supportsExpat(XML)      Determines which native XML parsers are being
>                        used.
> xmlEventHandler(XML)    Default handlers for the SAX-style event XML
>                        parser
> xmlParent(XML)          Get parent node of XMLInternalNode or ancestor
>                        nodes
> xmlStopParser(XML)      Terminate an XML parser
> xmlTreeParse(XML)       XML Parser
>
>
>
> Farrel Buchinsky
> GrandCentral Tel: (412) 567-7870
>
>
>
>
> On Mon, Dec 15, 2008 at 19:56, Duncan Temple Lang
> <duncan@...> wrote:
>>
>>
>> Farrel Buchinsky wrote:
>>>
>>> When I run>getDocs(con)
>>>
>>> I get this error:
>>> Error in getDocs(con) : could not find function "xmlParse"
>>>
>>> Where should xmlParse be coming from?
>>
>> From the XML package.
>>
>>
>>>
>>> You had asked where I got the idea to enter "con$getDocs()". I got it
>>> from run.html. But now that you bring the words "In the future, we
>>> might" to my attention I can see that I should not have tried it.
>>>
>>>
>>>
>>> Farrel Buchinsky
>>> GrandCentral Tel: (412) 567-7870
>>>
>>>
>>>
>>>
>>> On Mon, Dec 15, 2008 at 19:28, Duncan Temple Lang
>>> <duncan@...> wrote:
>>>>
>>>> Farrel Buchinsky wrote:
>>>>>
>>>>> 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@...","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
>>>>>>
>>>>>> str(con)
>>>>>
>>>>> Formal class 'GoogleDocsConnection' [package ""] with 0 slots
>>>>>  list()
>>>>
>>>> If you use
>>>>
>>>>  getDocs(con)
>>>>
>>>> it should work, assuming auth and con are appropriate.
>>>>
>>>> Where did you see that
>>>>
>>>>
>>>>  con$getDocs()
>>>>
>>>> should work?
>>>> In the documentation file run.xml, there is the line
>>>>
>>>> "
>>>> In the future, we might provide an interface that avoids this such
>>>>
>>>> as
>>>>
>>>>  con$getDocs()
>>>> ...
>>>> "
>>>>
>>>> So, as it says, it is in the future.
>>>>
>>>>  D.
>>>>
>>>>
>>>>> 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@...>
>>>>> wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> You can probably extract a .tar.gz using 7zip on Windows.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Gustavo.
>>>>>>
>>>>>> On Mon, Dec 15, 2008 at 8:07 PM, Farrel Buchinsky <fjbuch@...>
>>>>>> wrote:
>>>>>>>
>>>>>>> I saw a thread from September 24 in which Duncan Temple Lang told us:
>>>>>>> - The package currently has no Rd files, but there is a brief "user's
>>>>>>> guide". The package is available from
>>>>>>>       http://www.omegahat.org/RGoogleDocs
>>>>>>>
>>>>>>> I could not find it by using Tinn-R or RGui's package install tool.
>>>>>>> Then when I went to the website I saw that package is only available
>>>>>>> as
>>>>>>> http://www.omegahat.org/RGoogleDocs/RGoogleDocs_0.1-0.tar.gz
>>>>>>>
>>>>>>> To my knowledge tar.gz is only for Linux. Does this mean that I cannot
>>>>>>> run it on a windows machine. Please tell me that there is a way to run
>>>>>>> it on a Windows machine.
>>>>>>>
>>>>>>> Farrel Buchinsky
>>>>>>> GrandCentral Tel: (412) 567-7870
>>>>>>>
>>>>>>> ______________________________________________
>>>>>>> R-help@... mailing list
>>>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>>>> PLEASE do read the posting guide
>>>>>>> http://www.R-project.org/posting-guide.html
>>>>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>>>>
>>>>> ______________________________________________
>>>>> R-help@... mailing list
>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>> PLEASE do read the posting guide
>>>>> http://www.R-project.org/posting-guide.html
>>>>> and provide commented, minimal, self-contained, reproducible code.
>>
>

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was able to extract RGoogleDocs with 7-zip. That was when I began to
appreciate the gravity of what Prof Ripley was saying. I am on a windows xp
machine and the RGoogleDocs download does not have a windows binary version.
Instead it has only a source package. I started using the R-admin manual to
step through the process and got nowhere in about 45 minutes. Then I tried
using the "automated package building
service<http://win-builder.r-project.org/>you could try." and got
nowhere because I did not know what "R CMD build" is.
Can I find someone to do it for me or can I find someone who will give me a
couple of basic steps at a time?

I am desperate to say goodbye to individual static Microsoft Access or
Microsoft Excel spreadsheets being the repository for my data.

Farrel Buchinsky
Sent from: Pittsburgh Pennsylvania United States.


>>
> Yes, you can install source packages on Windows: the R-admin manual gives
> you a detailed guide to the tools that you will need to do so.  It even
> tells you about an automated package building service you could try.
> RGoogleDocs depends on RCurl and XML, both of which I provide Windows
> binaries for (and are much trickier to install because of their external
> software requirements).
>
>
>  Farrel Buchinsky
>> GrandCentral Tel: (412) 567-7870
>>
>
> --
> Brian D. Ripley,                  ripley@...
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Gabor Grothendieck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Download and install each of R, Rtools and MiKTeX.
Each of these have automated installers so its just a matter of
pressing Enter repeatedly.

You don't have to change your path if you place Rcmd.bat from
http://batchfiles.googlecode.com
anywhere on your path (so it can be found).  To see your path try
this from the Windows console:

path

Finally enter into the Windows console:

cd the.directory.containing.RGoogleDocs
Rcmd build RGoogleDocs
Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz

except replace RGoogleDocs_1.0.0.tar.gz with the filename
created by the build.

It should now be installed.

On Mon, Mar 2, 2009 at 8:59 PM, Farrel Buchinsky <fjbuch@...> wrote:

> I was able to extract RGoogleDocs with 7-zip. That was when I began to
> appreciate the gravity of what Prof Ripley was saying. I am on a windows xp
> machine and the RGoogleDocs download does not have a windows binary version.
> Instead it has only a source package. I started using the R-admin manual to
> step through the process and got nowhere in about 45 minutes. Then I tried
> using the "automated package building
> service<http://win-builder.r-project.org/>you could try." and got
> nowhere because I did not know what "R CMD build" is.
> Can I find someone to do it for me or can I find someone who will give me a
> couple of basic steps at a time?
>
> I am desperate to say goodbye to individual static Microsoft Access or
> Microsoft Excel spreadsheets being the repository for my data.
>
> Farrel Buchinsky
> Sent from: Pittsburgh Pennsylvania United States.
>
>
>>>
>> Yes, you can install source packages on Windows: the R-admin manual gives
>> you a detailed guide to the tools that you will need to do so.  It even
>> tells you about an automated package building service you could try.
>> RGoogleDocs depends on RCurl and XML, both of which I provide Windows
>> binaries for (and are much trickier to install because of their external
>> software requirements).
>>
>>
>>  Farrel Buchinsky
>>> GrandCentral Tel: (412) 567-7870
>>>
>>
>> --
>> Brian D. Ripley,                  ripley@...
>> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
>> University of Oxford,             Tel:  +44 1865 272861 (self)
>> 1 South Parks Road,                     +44 1865 272866 (PA)
>> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@... mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It worked. Thank you Gabor Grothendieck. I have very little idea of
what I did but I did it and it works. It is working well  when I limit
getDocs to documents only. However if I include everything in my
request or just limit it to spreadsheets  I get the following error.

getDocs(con, what =
"http://docs.google.com/feeds/documents/private/full/-/spreadsheet")
assignment of an object of class "NULL" is not valid for slot "access"
in an object of class "GoogleSpreadsheet"; is(value, "character") is
not TRUE

Tried google searching and got nowhere.

Farrel Buchinsky
Google Voice Tel: (412) 567-7870



On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck
<ggrothendieck@...> wrote:

>
> Download and install each of R, Rtools and MiKTeX.
> Each of these have automated installers so its just a matter of
> pressing Enter repeatedly.
>
> You don't have to change your path if you place Rcmd.bat from
> http://batchfiles.googlecode.com
> anywhere on your path (so it can be found).  To see your path try
> this from the Windows console:
>
> path
>
> Finally enter into the Windows console:
>
> cd the.directory.containing.RGoogleDocs
> Rcmd build RGoogleDocs
> Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz
>
> except replace RGoogleDocs_1.0.0.tar.gz with the filename
> created by the build.
>
> It should now be installed.
>
> On Mon, Mar 2, 2009 at 8:59 PM, Farrel Buchinsky <fjbuch@...> wrote:
> > I was able to extract RGoogleDocs with 7-zip. That was when I began to
> > appreciate the gravity of what Prof Ripley was saying. I am on a windows xp
> > machine and the RGoogleDocs download does not have a windows binary version.
> > Instead it has only a source package. I started using the R-admin manual to
> > step through the process and got nowhere in about 45 minutes. Then I tried
> > using the "automated package building
> > service<http://win-builder.r-project.org/>you could try." and got
> > nowhere because I did not know what "R CMD build" is.
> > Can I find someone to do it for me or can I find someone who will give me a
> > couple of basic steps at a time?
> >
> > I am desperate to say goodbye to individual static Microsoft Access or
> > Microsoft Excel spreadsheets being the repository for my data.
> >
> > Farrel Buchinsky
> > Sent from: Pittsburgh Pennsylvania United States.
> >
> >
> >>>
> >> Yes, you can install source packages on Windows: the R-admin manual gives
> >> you a detailed guide to the tools that you will need to do so.  It even
> >> tells you about an automated package building service you could try.
> >> RGoogleDocs depends on RCurl and XML, both of which I provide Windows
> >> binaries for (and are much trickier to install because of their external
> >> software requirements).
> >>
> >>
> >>  Farrel Buchinsky
> >>> GrandCentral Tel: (412) 567-7870
> >>>
> >>
> >> --
> >> Brian D. Ripley,                  ripley@...
> >> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> >> University of Oxford,             Tel:  +44 1865 272861 (self)
> >> 1 South Parks Road,                     +44 1865 272866 (PA)
> >> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> >>
> >
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@... mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The first time I did it I had no idea how I did it. Yesterday I struggled
and tried every combination to get it to work and eventually it worked. Once
again I do not know what I did to get it to work. Now today I am trying to
install a version that I downloaded today. And once again I am banging my
head against the wall
When I run Rcmd build RGoogleDocs from the cmd prompt I get
Error: cannot change to directory 'RGoogleDocs'

What error have I perpetrated?

I have changed my starting directory to almost every imaginable directory
and I have put a copy of RGoogleDocs_0.2-2.tar.gz almost everywhere.

I also once got * checking for file 'RGoogleDocs/DESCRIPTION' ... No
and there it stopped



Farrel Buchinsky
Google Voice Tel: (412) 567-7870



On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck <ggrothendieck@...>wrote:

> Download and install each of R, Rtools and MiKTeX.
> Each of these have automated installers so its just a matter of
> pressing Enter repeatedly.
>
> You don't have to change your path if you place Rcmd.bat from
> http://batchfiles.googlecode.com
> anywhere on your path (so it can be found).  To see your path try
> this from the Windows console:
>
> path
>
> Finally enter into the Windows console:
>
> cd the.directory.containing.RGoogleDocs
> Rcmd build RGoogleDocs
> Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz
>
> except replace RGoogleDocs_1.0.0.tar.gz with the filename
> created by the build.
>
> It should now be installed.
>
> On Mon, Mar 2, 2009 at 8:59 PM, Farrel Buchinsky <fjbuch@...> wrote:
> > I was able to extract RGoogleDocs with 7-zip. That was when I began to
> > appreciate the gravity of what Prof Ripley was saying. I am on a windows
> xp
> > machine and the RGoogleDocs download does not have a windows binary
> version.
> > Instead it has only a source package. I started using the R-admin manual
> to
> > step through the process and got nowhere in about 45 minutes. Then I
> tried
> > using the "automated package building
> > service<http://win-builder.r-project.org/>you could try." and got
> > nowhere because I did not know what "R CMD build" is.
> > Can I find someone to do it for me or can I find someone who will give me
> a
> > couple of basic steps at a time?
> >
> > I am desperate to say goodbye to individual static Microsoft Access or
> > Microsoft Excel spreadsheets being the repository for my data.
> >
> > Farrel Buchinsky
> > Sent from: Pittsburgh Pennsylvania United States.
> >
> >
> >>>
> >> Yes, you can install source packages on Windows: the R-admin manual
> gives
> >> you a detailed guide to the tools that you will need to do so.  It even
> >> tells you about an automated package building service you could try.
> >> RGoogleDocs depends on RCurl and XML, both of which I provide Windows
> >> binaries for (and are much trickier to install because of their external
> >> software requirements).
> >>
> >>
> >>  Farrel Buchinsky
> >>> GrandCentral Tel: (412) 567-7870
> >>>
> >>
> >> --
> >> Brian D. Ripley,                  ripley@...
> >> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> >> University of Oxford,             Tel:  +44 1865 272861 (self)
> >> 1 South Parks Road,                     +44 1865 272866 (PA)
> >> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> >>
> >
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@... mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What do you mean by "cd the.directory.containing.RGoogleDocs"
Do you mean the directory where I downloaded the RGoogleDocs_0.2-2.tar.gz
to? Or do you mean that I must create a directory called RGoogleDocs under
Library and then change to that directory?
Farrel Buchinsky
Google Voice Tel: (412) 567-7870



On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck <ggrothendieck@...>wrote:

> Finally enter into the Windows console:
>
> cd the.directory.containing.RGoogleDocs
> Rcmd build RGoogleDocs
> Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz
>
> except replace RGoogleDocs_1.0.0.tar.gz with the filename
> created by the build.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Gabor Grothendieck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have haven't neen following this thread but:

1. if RGoogleDocs_0.2-2.tar.gz is a source distribution (as
opposed to built source) then the first line renames it so
that its not the same name as the built file about to be created.
The second line detars it into the RGoogleDocs directory.  The third builds
the built source file, RGoogleDocs_0.2-2.tar.gz.  The fourth
installs the built source file into R.  I've assumed Windows.
If you are on Linux replace rename with mv.

rename RGoogleDocs_0.2-2.tar.gz RgoogleDocs_0.2.2-src.tar.gz
tar xvfz RgoogleDocs_0.2.2-src.tar.gz
Rcmd build RGoogleDocs
Rcmd INSTALL RGoogleDocs_0.2-2.tar.gz

or

2. if RGoogleDocs_0.2-2.tar.gz is already a built source file then you
can just issue the last of the above lines and don't need
the others.

On Thu, Jun 18, 2009 at 7:52 PM, Farrel Buchinsky<fjbuch@...> wrote:

> What do you mean by "cd the.directory.containing.RGoogleDocs"
> Do you mean the directory where I downloaded the RGoogleDocs_0.2-2.tar.gz
> to? Or do you mean that I must create a directory called RGoogleDocs under
> Library and then change to that directory?
> Farrel Buchinsky
> Google Voice Tel: (412) 567-7870
>
>
>
> On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck <ggrothendieck@...>
> wrote:
>>
>> Finally enter into the Windows console:
>>
>> cd the.directory.containing.RGoogleDocs
>> Rcmd build RGoogleDocs
>> Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz
>>
>> except replace RGoogleDocs_1.0.0.tar.gz with the filename
>> created by the build.
>

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

After issuing tar xvfz RgoogleDocs_0.2.2-src.tar.gzI am getting an error
message
'tar' is not recongnized as an internal or external command, operable
program or batch file.

Should I use my 7-zip to open up the archive?
Where should I be doing this? For instance can I do it all in my
download directory or should I do it in C:\Program
Files\R\R-2.9.0\library or should I manually create C:\Program
Files\R\R-2.9.0\library\RGoogleDocs and do it all there or will the Rcmd
INSTALL RGoogleDocs_0.2-2.tar.gz command do that for me.

Yes, you assumed correctly. I am using Windows XP.
Farrel Buchinsky
Google Voice Tel: (412) 567-7870



On Thu, Jun 18, 2009 at 20:17, Gabor Grothendieck
<ggrothendieck@...>wrote:

> I have haven't neen following this thread but:
>
> 1. if RGoogleDocs_0.2-2.tar.gz is a source distribution (as
> opposed to built source) then the first line renames it so
> that its not the same name as the built file about to be created.
> The second line detars it into the RGoogleDocs directory.  The third builds
> the built source file, RGoogleDocs_0.2-2.tar.gz.  The fourth
> installs the built source file into R.  I've assumed Windows.
> If you are on Linux replace rename with mv.
>
> rename RGoogleDocs_0.2-2.tar.gz RgoogleDocs_0.2.2-src.tar.gz
> tar xvfz RgoogleDocs_0.2.2-src.tar.gz
> Rcmd build RGoogleDocs
> Rcmd INSTALL RGoogleDocs_0.2-2.tar.gz
>
> or
>
> 2. if RGoogleDocs_0.2-2.tar.gz is already a built source file then you
> can just issue the last of the above lines and don't need
> the others.
>
> On Thu, Jun 18, 2009 at 7:52 PM, Farrel Buchinsky<fjbuch@...> wrote:
> > What do you mean by "cd the.directory.containing.RGoogleDocs"
> > Do you mean the directory where I downloaded the RGoogleDocs_0.2-2.tar.gz
> > to? Or do you mean that I must create a directory called RGoogleDocs
> under
> > Library and then change to that directory?
> > Farrel Buchinsky
> > Google Voice Tel: (412) 567-7870
> >
> >
> >
> > On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck <
> ggrothendieck@...>
> > wrote:
> >>
> >> Finally enter into the Windows console:
> >>
> >> cd the.directory.containing.RGoogleDocs
> >> Rcmd build RGoogleDocs
> >> Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz
> >>
> >> except replace RGoogleDocs_1.0.0.tar.gz with the filename
> >> created by the build.
> >
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Uwe Ligges-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

See the manual "R Installation and Administration" for information on
how to install source packages on Windows.

Uwe Ligges

Farrel Buchinsky wrote:

> After issuing tar xvfz RgoogleDocs_0.2.2-src.tar.gzI am getting an error
> message
> 'tar' is not recongnized as an internal or external command, operable
> program or batch file.
>
> Should I use my 7-zip to open up the archive?
> Where should I be doing this? For instance can I do it all in my
> download directory or should I do it in C:\Program
> Files\R\R-2.9.0\library or should I manually create C:\Program
> Files\R\R-2.9.0\library\RGoogleDocs and do it all there or will the Rcmd
> INSTALL RGoogleDocs_0.2-2.tar.gz command do that for me.
>
> Yes, you assumed correctly. I am using Windows XP.
> Farrel Buchinsky
> Google Voice Tel: (412) 567-7870
>
>
>
> On Thu, Jun 18, 2009 at 20:17, Gabor Grothendieck
> <ggrothendieck@...>wrote:
>
>> I have haven't neen following this thread but:
>>
>> 1. if RGoogleDocs_0.2-2.tar.gz is a source distribution (as
>> opposed to built source) then the first line renames it so
>> that its not the same name as the built file about to be created.
>> The second line detars it into the RGoogleDocs directory.  The third builds
>> the built source file, RGoogleDocs_0.2-2.tar.gz.  The fourth
>> installs the built source file into R.  I've assumed Windows.
>> If you are on Linux replace rename with mv.
>>
>> rename RGoogleDocs_0.2-2.tar.gz RgoogleDocs_0.2.2-src.tar.gz
>> tar xvfz RgoogleDocs_0.2.2-src.tar.gz
>> Rcmd build RGoogleDocs
>> Rcmd INSTALL RGoogleDocs_0.2-2.tar.gz
>>
>> or
>>
>> 2. if RGoogleDocs_0.2-2.tar.gz is already a built source file then you
>> can just issue the last of the above lines and don't need
>> the others.
>>
>> On Thu, Jun 18, 2009 at 7:52 PM, Farrel Buchinsky<fjbuch@...> wrote:
>>> What do you mean by "cd the.directory.containing.RGoogleDocs"
>>> Do you mean the directory where I downloaded the RGoogleDocs_0.2-2.tar.gz
>>> to? Or do you mean that I must create a directory called RGoogleDocs
>> under
>>> Library and then change to that directory?
>>> Farrel Buchinsky
>>> Google Voice Tel: (412) 567-7870
>>>
>>>
>>>
>>> On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck <
>> ggrothendieck@...>
>>> wrote:
>>>> Finally enter into the Windows console:
>>>>
>>>> cd the.directory.containing.RGoogleDocs
>>>> Rcmd build RGoogleDocs
>>>> Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz
>>>>
>>>> except replace RGoogleDocs_1.0.0.tar.gz with the filename
>>>> created by the build.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@... mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I  have previously read "R Installation and Administration". I read it
again. It does not help me
The relevant paragraph is below. But I need lower level instructions. Where
can I find them.

R CMD INSTALL works in Windows to install source packages if you have the
source-code package files (option “Source Package Installation Files” in the
installer) and toolset (see The Windows
toolset<file:///C:/Program%20Files/R/R-2.9.1/doc/manual/R-admin.html#The-Windows-toolset>)
installed. Installation of binary packages must be done by install.packages
. R CMD INSTALL --help will tell you the current options under Windows
(which differ from those on a Unix-alike): in particular there is a choice
of the types of documentation to be installed.
Farrel Buchinsky
Google Voice Tel: (412) 567-7870



2009/6/19 Uwe Ligges <ligges@...>

> See the manual "R Installation and Administration" for information on how
> to install source packages on Windows.
>
> Uwe Ligges
>
> Farrel Buchinsky wrote:
>
>> After issuing tar xvfz RgoogleDocs_0.2.2-src.tar.gzI am getting an error
>>
>> message
>> 'tar' is not recongnized as an internal or external command, operable
>> program or batch file.
>>
>> Should I use my 7-zip to open up the archive?
>> Where should I be doing this? For instance can I do it all in my
>> download directory or should I do it in C:\Program
>> Files\R\R-2.9.0\library or should I manually create C:\Program
>> Files\R\R-2.9.0\library\RGoogleDocs and do it all there or will the Rcmd
>> INSTALL RGoogleDocs_0.2-2.tar.gz command do that for me.
>>
>> Yes, you assumed correctly. I am using Windows XP.
>> Farrel Buchinsky
>> Google Voice Tel: (412) 567-7870
>>
>>
>>
>> On Thu, Jun 18, 2009 at 20:17, Gabor Grothendieck
>> <ggrothendieck@...>wrote:
>>
>>  I have haven't neen following this thread but:
>>>
>>> 1. if RGoogleDocs_0.2-2.tar.gz is a source distribution (as
>>> opposed to built source) then the first line renames it so
>>> that its not the same name as the built file about to be created.
>>> The second line detars it into the RGoogleDocs directory.  The third
>>> builds
>>> the built source file, RGoogleDocs_0.2-2.tar.gz.  The fourth
>>> installs the built source file into R.  I've assumed Windows.
>>> If you are on Linux replace rename with mv.
>>>
>>> rename RGoogleDocs_0.2-2.tar.gz RgoogleDocs_0.2.2-src.tar.gz
>>> tar xvfz RgoogleDocs_0.2.2-src.tar.gz
>>> Rcmd build RGoogleDocs
>>> Rcmd INSTALL RGoogleDocs_0.2-2.tar.gz
>>>
>>> or
>>>
>>> 2. if RGoogleDocs_0.2-2.tar.gz is already a built source file then you
>>> can just issue the last of the above lines and don't need
>>> the others.
>>>
>>> On Thu, Jun 18, 2009 at 7:52 PM, Farrel Buchinsky<fjbuch@...>
>>> wrote:
>>>
>>>> What do you mean by "cd the.directory.containing.RGoogleDocs"
>>>> Do you mean the directory where I downloaded the
>>>> RGoogleDocs_0.2-2.tar.gz
>>>> to? Or do you mean that I must create a directory called RGoogleDocs
>>>>
>>> under
>>>
>>>> Library and then change to that directory?
>>>> Farrel Buchinsky
>>>> Google Voice Tel: (412) 567-7870
>>>>
>>>>
>>>>
>>>> On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck <
>>>>
>>> ggrothendieck@...>
>>>
>>>> wrote:
>>>>
>>>>> Finally enter into the Windows console:
>>>>>
>>>>> cd the.directory.containing.RGoogleDocs
>>>>> Rcmd build RGoogleDocs
>>>>> Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz
>>>>>
>>>>> except replace RGoogleDocs_1.0.0.tar.gz with the filename
>>>>> created by the build.
>>>>>
>>>>
>>        [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help@... mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
        [[alternative HTML version deleted]]


______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Duncan Murdoch-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/07/2009 10:02 AM, Farrel Buchinsky wrote:
> I  have previously read "R Installation and Administration". I read it
> again. It does not help me
> The relevant paragraph is below. But I need lower level instructions. Where
> can I find them.

Follow the link.  If Windows can't find tar, your toolset is installed
incorrectly.

Duncan Murdoch

>
> R CMD INSTALL works in Windows to install source packages if you have the
> source-code package files (option “Source Package Installation Files” in the
> installer) and toolset (see The Windows
> toolset<file:///C:/Program%20Files/R/R-2.9.1/doc/manual/R-admin.html#The-Windows-toolset>)
> installed. Installation of binary packages must be done by install.packages
> . R CMD INSTALL --help will tell you the current options under Windows
> (which differ from those on a Unix-alike): in particular there is a choice
> of the types of documentation to be installed.
> Farrel Buchinsky
> Google Voice Tel: (412) 567-7870
>
>
>
> 2009/6/19 Uwe Ligges <ligges@...>
>
>> See the manual "R Installation and Administration" for information on how
>> to install source packages on Windows.
>>
>> Uwe Ligges
>>
>> Farrel Buchinsky wrote:
>>
>>> After issuing tar xvfz RgoogleDocs_0.2.2-src.tar.gzI am getting an error
>>>
>>> message
>>> 'tar' is not recongnized as an internal or external command, operable
>>> program or batch file.
>>>
>>> Should I use my 7-zip to open up the archive?
>>> Where should I be doing this? For instance can I do it all in my
>>> download directory or should I do it in C:\Program
>>> Files\R\R-2.9.0\library or should I manually create C:\Program
>>> Files\R\R-2.9.0\library\RGoogleDocs and do it all there or will the Rcmd
>>> INSTALL RGoogleDocs_0.2-2.tar.gz command do that for me.
>>>
>>> Yes, you assumed correctly. I am using Windows XP.
>>> Farrel Buchinsky
>>> Google Voice Tel: (412) 567-7870
>>>
>>>
>>>
>>> On Thu, Jun 18, 2009 at 20:17, Gabor Grothendieck
>>> <ggrothendieck@...>wrote:
>>>
>>>  I have haven't neen following this thread but:
>>>> 1. if RGoogleDocs_0.2-2.tar.gz is a source distribution (as
>>>> opposed to built source) then the first line renames it so
>>>> that its not the same name as the built file about to be created.
>>>> The second line detars it into the RGoogleDocs directory.  The third
>>>> builds
>>>> the built source file, RGoogleDocs_0.2-2.tar.gz.  The fourth
>>>> installs the built source file into R.  I've assumed Windows.
>>>> If you are on Linux replace rename with mv.
>>>>
>>>> rename RGoogleDocs_0.2-2.tar.gz RgoogleDocs_0.2.2-src.tar.gz
>>>> tar xvfz RgoogleDocs_0.2.2-src.tar.gz
>>>> Rcmd build RGoogleDocs
>>>> Rcmd INSTALL RGoogleDocs_0.2-2.tar.gz
>>>>
>>>> or
>>>>
>>>> 2. if RGoogleDocs_0.2-2.tar.gz is already a built source file then you
>>>> can just issue the last of the above lines and don't need
>>>> the others.
>>>>
>>>> On Thu, Jun 18, 2009 at 7:52 PM, Farrel Buchinsky<fjbuch@...>
>>>> wrote:
>>>>
>>>>> What do you mean by "cd the.directory.containing.RGoogleDocs"
>>>>> Do you mean the directory where I downloaded the
>>>>> RGoogleDocs_0.2-2.tar.gz
>>>>> to? Or do you mean that I must create a directory called RGoogleDocs
>>>>>
>>>> under
>>>>
>>>>> Library and then change to that directory?
>>>>> Farrel Buchinsky
>>>>> Google Voice Tel: (412) 567-7870
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck <
>>>>>
>>>> ggrothendieck@...>
>>>>
>>>>> wrote:
>>>>>
>>>>>> Finally enter into the Windows console:
>>>>>>
>>>>>> cd the.directory.containing.RGoogleDocs
>>>>>> Rcmd build RGoogleDocs
>>>>>> Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz
>>>>>>
>>>>>> except replace RGoogleDocs_1.0.0.tar.gz with the filename
>>>>>> created by the build.
>>>>>>
>>>        [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help@... mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>
> [[alternative HTML version deleted]]
>
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help@... mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Re: Reading from Google Docs

by Farrel Buchinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Forgive my naivte, but how do I make windows find tar. In other words from
where do I issue the command and what is the command.
Farrel Buchinsky
Google Voice Tel: (412) 567-7870



On Wed, Jul 8, 2009 at 10:09, Duncan Murdoch <murdoch@...> wrote:

> On 08/07/2009 10:02 AM, Farrel Buchinsky wrote:
>
>> I  have previously read "R Installation and Administration". I read it
>> again. It does not help me
>> The relevant paragraph is below. But I need lower level instructions.
>> Where
>> can I find them.
>>
>
> Follow the link.  If Windows can't find tar, your toolset is installed
> incorrectly.
>
> Duncan Murdoch
>
>
>> R CMD INSTALL works in Windows to install source packages if you have the
>> source-code package files (option “Source Package Installation Files” in
>> the
>> installer) and toolset (see The Windows
>>
>> toolset<file:///C:/Program%20Files/R/R-2.9.1/doc/manual/R-admin.html#The-Windows-toolset>)
>>
>> installed. Installation of binary packages must be done by
>> install.packages
>> . R CMD INSTALL --help will tell you the current options under Windows
>> (which differ from those on a Unix-alike): in particular there is a choice
>> of the types of documentation to be installed.
>> Farrel Buchinsky
>> Google Voice Tel: (412) 567-7870
>>
>>
>>
>> 2009/6/19 Uwe Ligges <ligges@...>
>>
>>  See the manual "R Installation and Administration" for information on how
>>> to install source packages on Windows.
>>>
>>> Uwe Ligges
>>>
>>> Farrel Buchinsky wrote:
>>>
>>>  After issuing tar xvfz RgoogleDocs_0.2.2-src.tar.gzI am getting an error
>>>>
>>>> message
>>>> 'tar' is not recongnized as an internal or external command, operable
>>>> program or batch file.
>>>>
>>>> Should I use my 7-zip to open up the archive?
>>>> Where should I be doing this? For instance can I do it all in my
>>>> download directory or should I do it in C:\Program
>>>> Files\R\R-2.9.0\library or should I manually create C:\Program
>>>> Files\R\R-2.9.0\library\RGoogleDocs and do it all there or will the Rcmd
>>>> INSTALL RGoogleDocs_0.2-2.tar.gz command do that for me.
>>>>
>>>> Yes, you assumed correctly. I am using Windows XP.
>>>> Farrel Buchinsky
>>>> Google Voice Tel: (412) 567-7870
>>>>
>>>>
>>>>
>>>> On Thu, Jun 18, 2009 at 20:17, Gabor Grothendieck
>>>> <ggrothendieck@...>wrote:
>>>>
>>>>  I have haven't neen following this thread but:
>>>>
>>>>> 1. if RGoogleDocs_0.2-2.tar.gz is a source distribution (as
>>>>> opposed to built source) then the first line renames it so
>>>>> that its not the same name as the built file about to be created.
>>>>> The second line detars it into the RGoogleDocs directory.  The third
>>>>> builds
>>>>> the built source file, RGoogleDocs_0.2-2.tar.gz.  The fourth
>>>>> installs the built source file into R.  I've assumed Windows.
>>>>> If you are on Linux replace rename with mv.
>>>>>
>>>>> rename RGoogleDocs_0.2-2.tar.gz RgoogleDocs_0.2.2-src.tar.gz
>>>>> tar xvfz RgoogleDocs_0.2.2-src.tar.gz
>>>>> Rcmd build RGoogleDocs
>>>>> Rcmd INSTALL RGoogleDocs_0.2-2.tar.gz
>>>>>
>>>>> or
>>>>>
>>>>> 2. if RGoogleDocs_0.2-2.tar.gz is already a built source file then you
>>>>> can just issue the last of the above lines and don't need
>>>>> the others.
>>>>>
>>>>> On Thu, Jun 18, 2009 at 7:52 PM, Farrel Buchinsky<fjbuch@...>
>>>>> wrote:
>>>>>
>>>>>  What do you mean by "cd the.directory.containing.RGoogleDocs"
>>>>>> Do you mean the directory where I downloaded the
>>>>>> RGoogleDocs_0.2-2.tar.gz
>>>>>> to? Or do you mean that I must create a directory called RGoogleDocs
>>>>>>
>>>>>>  under
>>>>>
>>>>>  Library and then change to that directory?
>>>>>> Farrel Buchinsky
>>>>>> Google Voice Tel: (412) 567-7870
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Mar 2, 2009 at 22:16, Gabor Grothendieck <
>>>>>>
>>>>>>  ggrothendieck@...>
>>>>>
>>>>>  wrote:
>>>>>>
>>>>>>  Finally enter into the Windows console:
>>>>>>>
>>>>>>> cd the.directory.containing.RGoogleDocs
>>>>>>> Rcmd build RGoogleDocs
>>>>>>> Rcmd INSTALL RGoogleDocs_1.0.0.tar.gz
>>>>>>>
>>>>>>> except replace RGoogleDocs_1.0.0.tar.gz with the filename
>>>>>>> created by the build.
>>>>>>>
>>>>>>>        [[alternative HTML version deleted]]
>>>>
>>>> ______________________________________________
>>>> R-help@... mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>> PLEASE do read the posting guide
>>>> http://www.R-project.org/posting-guide.html
>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>
>>>>
>>        [[alternative HTML version deleted]]
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ______________________________________________
>> R-help@... mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>
        [[alternative HTML version deleted]]


______________________________________________
R-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
< Prev | 1 - 2 | Next >