Git Product home page Git Product logo

google-prediction-api-r-client's People

Watchers

 avatar

google-prediction-api-r-client's Issues

gsutil not found, although I can use gsutil

What steps will reproduce the problem?
1. my.model <- PredictionApiTrain(data="MYPATH/MYFILE.csv", 
remote.file="gs://MYBUCKET/MYOBJECT")

What is the expected output? What do you see instead?
trained model my.model is expected, however, R returns 
Error in system(command = command, intern = TRUE) : gsutil not found
I installed gsutil as described at 
http://code.google.com/apis/storage/docs/gsutil.html, and can list my bucket 
using: python gsutil ls gs://MYBUCKET/MYOBJECT

What version of the product are you using? On what operating system?
R 2.11.1, Windows, Python2.7



Original issue reported on code.google.com by [email protected] on 15 Dec 2010 at 6:00

~/.auth-token does not exist

What steps will reproduce the problem?
1. I upload train.csv to the appps bucket through 
https://sandbox.google.com/storage
2. my.model <- PredictionApiTrain(data="gs://appps/train.csv")

What is the expected output? What do you see instead?
output:

~/.auth-token does not exist, let's create one for you
Please input your email account to access Google Prediction API
(eg. [email protected]): Please input your password for this account
: Requesting Authentication from Google ClientLogin for user: 
Error en strsplit(url, "")[[1L]] : subíndice fuera de  los límites

The error doesn't let me introduce email and password. How do i do that?

What version of the product are you using? On what operating system?
R version 2.11.1, Windows


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Dec 2010 at 3:18

PredictionApiTrain() error

What steps will reproduce the problem?
1. run PredictionApiTrain(data="MYPATH/MYFILE.csv") as in example, where 
MYPATH/MYFILE.csv is my local csv file for training;

What is the expected output? What do you see instead?
I expected to get the trained model my.model as in the example, however, I got 
Error in PredictionApiTrain(data = "test.csv") : 
'remote.file' should be character

What version of the product are you using? On what operating system?
R2.11.1, on Windows

Please provide any additional information below.
I checked the code PredictionApiTrain just now, at the beginning there are 
lines:
if (missing(remote.file) || !is.character(remote.file)) 
stop("'remote.file' should be character")
However, remote.file is an argument without default value, function (data, 
remote.file, verbose = FALSE).

Original issue reported on code.google.com by [email protected] on 14 Dec 2010 at 9:42

function not work

What steps will reproduce the problem?
1.my.model <- PredictionApiTrain(data="gs://elong0527/language")
2.
3.

What is the expected output? What do you see instead?
1: In PredictionApiConnectHandler(connect.type = "train", bucket.name = 
bucket.name,  :
  Connection error: status:401, status message:Unauthorized
, let's try again: 1

2: In PredictionApiConnectHandler(connect.type = "train", bucket.name = 
bucket.name,  :
  Connection error: status:401, status message:Unauthorized
, let's try again: 2

3: In PredictionApiConnectHandler(connect.type = "train", bucket.name = 
bucket.name,  :
  Connection error: status:401, status message:Unauthorized
, let's try again: 3


What version of the product are you using? On what operating system?
linux (ubuntu 10.10)
R 2.12.
1
Please provide any additional information below.

I have successful authorized but I don't know how to make the function work

Original issue reported on code.google.com by [email protected] on 15 Jan 2011 at 8:32

install.packages("googlepredictionapi_0.1.tar.gz", repos=NULL, type="source")

What steps will reproduce the problem?
1.installing packages from the library path doesn't work
2.
3.

What is the expected output? What do you see instead?
>install.packages("googlepredictionapi_0.1.tar.gz",repos=NULL,type="source")
Warning in install.packages("googlepredictionapi_0.1.tar.gz", repos = NULL,  :
  argument 'lib' is missing: using '/home/spyder/R/i486-pc-linux-gnu-library/2.10'
Warning: invalid package ‘googlepredictionapi_0.1.tar.gz’
Error: ERROR: no packages specified
Warning message:
In install.packages("googlepredictionapi_0.1.tar.gz", repos = NULL,  :
  installation of package 'googlepredictionapi_0.1.tar.gz' had non-zero exit status



What version of the product are you using? On what operating system?

platform       i486-pc-linux-gnu            
arch           i486                         
os             linux-gnu                    
system         i486, linux-gnu              
status                                      
major          2                            
minor          10.1                         
year           2009                         
month          12                           
day            14                           
svn rev        50720                        
language       R                            
version.string R version 2.10.1 (2009-12-14)


Please provide any additional information below.

The tar.gz file exists in the library path but it still doesn't pick it up.




Workaround: use R CMD INSTALL

$ R CMD INSTALL 
/home/spyder/R/i486-pc-linux-gnu-library/2.10/googlepredictionapi_0.1.tar.gz
* installing to library ‘/home/spyder/R/i486-pc-linux-gnu-library/2.10’
* installing *source* package ‘googlepredictionapi’ ...
** R
** preparing package for lazy loading
** help
No man pages found in package  ‘googlepredictionapi’ 
*** installing help indices
** building package indices ...
* DONE (googlepredictionapi)


Original issue reported on code.google.com by [email protected] on 5 Jan 2011 at 5:26

‘googlepredictionapi_0.1.tar.gz’ is not available

What steps will reproduce the problem?
install.packages("rjson") 
install.packages("RCurl")
install.packages("googlepredictionapi_0.1.tar.gz", repors=NULL, type = "source")

What is the expected output? What do you see instead?
Was looking to connect into prediction API via R, however it appears that its 
not availabe?




Original issue reported on code.google.com by [email protected] on 17 Feb 2015 at 9:12

The Prediction API R client currently does not support the latest versions of the API and the latest authentication mechanisms.

What steps will reproduce the problem?
1. my.model <- PredictionApiTrain(data="gs://PATH")
~/.auth-token does not exist, let's create one for you
Please input your email account to access Google Prediction API
(eg. [email protected]): [email protected]
Please input your password for this account
: PASSWORD
Requesting Authentication from Google ClientLogin for user: EMAIL
Auth-token file was stored in ~/.auth-token
Error in PredictionApiTrainRunner(data.type = data.type, data = data,  : 
  Connection to Prediction API failed, stop. 
....


2. Note, Command Line GSUtil works in same terminal using .boto
3.

What is the expected output? What do you see instead?
Auth and command executed

What version of the product are you using? On what operating system?
OS X, R 2.14

Please provide any additional information below.
First, thank you for writing!  Would find a PredictionA API 1.4 version very 
useful

-----

"The Prediction API R client currently does not support the latest versions 
of the API and the latest authentication mechanisms. "

This appears to be a known issue: 
https://groups.google.com/group/prediction-api-discuss/browse_thread/thread/9c2e
e255a516869b/a80f1420e7238215?lnk=gst&q=error+R#a80f1420e7238215

Original issue reported on code.google.com by [email protected] on 7 Dec 2011 at 11:40

Does not work under windows

What steps will reproduce the problem?
1. Install gsutil, following the directions on the site
2. Install the googlepredictionapi package
3. Try to train a model

What is the expected output? What do you see instead?
"Error in system(command = command, intern = TRUE) : 'gsutil' not found"

What version of the product are you using? On what operating system?
1. Windows 7, 32 bit
2. R 2.13.1
3. Python 2.7

Please provide any additional information below.
Please provide additional instructions for "installing gsutil under CygWin"

Original issue reported on code.google.com by zach.mayer on 10 Aug 2011 at 5:44

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.