[R] Reading from Google Docs

Duncan Temple Lang duncan at wald.ucdavis.edu
Thu Jul 9 15:15:28 CEST 2009


Thanks for pointing that out.
Yes, the link on the package web site was for 0.2-1 and
that was the one used to build the binary for Windows.
Now updated in both places and the binary repository will
give 0.2-2.

How to find the version of an installed package?

   packageDescription("RGoogleDocs")

  D.

Farrel Buchinsky wrote:
> Dear Duncan
> 
> On my home computer I was able to use  install.packages("RGoogleDocs", 
> repos = "http://www.omegahat.org/R")
> 
> But, alas it would not read the data in the spreadsheet. It went back to 
> its nasty ways
> Error in !includeEmpty : invalid argument type
> 
> That is what I was getting with version 0.2-1.You then sent me link to 
> 0.2-2 (in source code) which is what worked.
> 
> Is it possible that that the windows binary version you put in omegahat 
> was 0.2-1 and not 0.2-2?
>  
> I did not know how to tell what version had been installed.
> Farrel Buchinsky
> Google Voice Tel: (412) 567-7870
> 
> 
> 
> On Wed, Jul 8, 2009 at 22:53, Duncan Temple Lang 
> <duncan at wald.ucdavis.edu <mailto:duncan at wald.ucdavis.edu>> wrote:
> 
> 
> 
>     Farrel Buchinsky wrote:
> 
>      > ........
> 
> 
>         Boy oh boy that process of getting source to binary was super
>         painful. Now
>         that I have the package as binary I can share the whole folder
>         with my
>         coworker and she is able to use RGoogleDocs. I intend to use the
>         same
>         process for the other two windows machines that I use. I really
>         do not want
>         to go through the same installation and path hassles all over again.
> 
>         Should I post my directory containing the binary files somewhere
>         so that
>         others do not have to experience pain. Does etiquette dictate
>         that I should
>         post the directory to help other or does etiquette dictate that
>         it is Duncan
>         Temple Lang's code and thus it his prerogative to distribute his
>         work as he
>         wishes?
> 
> 
>     Etiquette is one thing and the license another.
>     Both encourage you to help others and make the
>     binary available to others.
>     And indeed,  I hope that Windows users do build binaries
>     for others and remove the additional work from those
>     who provide the software in the first place.
> 
>     Having seen this thread today, I did put a binary
>     version of RGoogleDocs on the Omegahat repository
>     so
> 
>      install.packages("RGoogleDocs", repos = "http://www.omegahat.org/R")
> 
>     should install it and, if I had had time earlier, saved you the hardship
>     of building the binary.  Sorry to do it so soon after.
> 
>      D.
> 
> 
> 
> 
> 
>         Farrel Buchinsky
>         Google Voice Tel: (412) 567-7870
> 
> 
> 
>         On Wed, Jul 8, 2009 at 12:59, Farrel Buchinsky <fjbuch at gmail.com
>         <mailto:fjbuch at gmail.com>> wrote:
> 
>             Does changing the path in Windows work in real time or does
>             one need to
>             restart the computer for the changes to take effect.
>             Farrel Buchinsky
>             Google Voice Tel: (412) 567-7870
> 
> 
> 
>             On Wed, Jul 8, 2009 at 12:04, Gabor Grothendieck
>             <ggrothendieck at gmail.com <mailto:ggrothendieck at gmail.com>>wrote:
> 
>                 Its safer just to temporarily add it to your path.
> 
>                 Unfortunately Rtools has a find command that conflicts with
>                 the find command in Windows so if you add the Rtools
>                 bin directory to your path permanently then you could
>                 find other programs stop working.  That actually happened
>                 to me once and it took the longest time until I discovered
>                 that Rtools was the culprit.
> 
>                 If you follow the advice I gave you normally won't have
>                 that problem.
> 
>                 On Wed, Jul 8, 2009 at 11:21 AM, Duncan
>                 Murdoch<murdoch at stats.uwo.ca <mailto:murdoch at stats.uwo.ca>>
>                 wrote:
> 
>                     On 08/07/2009 10:13 AM, Farrel Buchinsky wrote:
> 
>                         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.
> 
>                     You need to install the toolset, and let the
>                     installer set your path.
> 
>                     Duncan Murdoch
> 
>                         Farrel Buchinsky
>                         Google Voice Tel: (412) 567-7870
> 
> 
> 
>                         On Wed, Jul 8, 2009 at 10:09, Duncan Murdoch
>                         <murdoch at stats.uwo.ca <mailto:murdoch at stats.uwo.ca>>
> 
>                 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 at statistik.tu-dortmund.de
>                                 <mailto:ligges at statistik.tu-dortmund.de>>
> 
>                                  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 at gmail.com
>                                         <mailto:ggrothendieck at gmail.com>>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 at gmail.com <mailto:fjbuch at gmail.com>>
> 
>                                             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 at gmail.com
>                                                 <mailto:ggrothendieck at gmail.com>>
> 
>                                              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 at r-project.org
>                                         <mailto:R-help at r-project.org>
>                                         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 at r-project.org
>                                 <mailto:R-help at r-project.org> 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 at r-project.org
>                         <mailto:R-help at r-project.org> 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 at r-project.org <mailto:R-help at r-project.org>
>                     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 at r-project.org <mailto:R-help at r-project.org> 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.
> 
>




More information about the R-help mailing list