Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Marc Cohen seems to be right, I think something is broken. However I managed to pass authentication, here is how:</p> <p>Download the <code>googlepredictionapi_0.12.tar.gz</code> and extract it inside a temporary folder. Then open <code>googlepredictionapi/R/prediction_api_init.R</code> inside an Editor and remove the lines</p> <pre><code>myEmail &lt;- "" myPassword &lt;- "" myAPIkey &lt;- "" </code></pre> <p>Afterwards repackage the source files and load them in R:</p> <pre><code>tar czf googlepredictionapi.mod.tar.gz googlepredictionapi R remove.packages("googlepredictionapi") </code></pre> <p>Now you should be able to follow the steps in [1] <a href="http://code.google.com/p/r-google-prediction-api-v12/">http://code.google.com/p/r-google-prediction-api-v12/</a>. However instead of calling</p> <pre><code>install.packages("googlepredictionapi_0.12.tar.gz", repos=NULL, type="source") </code></pre> <p>you need to call</p> <pre><code>install.packages("googlepredictionapi.mod.tar.gz", repos=NULL, type="source") </code></pre> <p>Following the steps, at some point a file <code>$HOME/.auth-token</code> should be generated.</p> <p>(You can even explicitly trigger this by calling explicitely: <code>PredictionApiUtilGetAuth(verbose=TRUE)</code>, <code>myEmail</code> and <code>myPassword</code> must be set beforehands.)</p> <p>For some reason the global variables that are manually set in [1] have been shadowed by the removed lines above. The same is actually true for the verbose option which you can pass to most API function calls as extra option <code>..., verbose=TRUE)</code>.</p> <p>Hope this helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload