googleLanguageR | R client for the Google Translation API | GCP library
kandi X-RAY | googleLanguageR Summary
kandi X-RAY | googleLanguageR Summary
R client for the Google Translation API, Google Cloud Natural Language API and Google Cloud Speech API
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of googleLanguageR
googleLanguageR Key Features
googleLanguageR Examples and Code Snippets
Community Discussions
Trending Discussions on googleLanguageR
QUESTION
So I tried to use gl_translate function to 500,000 characters in Rstudio, which means I have to authenticate my google translate API. The problem is that I tried it like two months ago with my old google account and now I'm using the new one.
So when I tried to authenticate new client_id with my new google account, I got error message that my API hadn't been enabled yet, which I had enabled it. I restarted my Rstudio and now I got this error message:
...ANSWER
Answered 2020-Jan-23 at 20:59I figured it out after 24 hours.
Apparently it is really easy. I just followed the step from this link. But yesterday I make mistake because the json file I downloaded is the json file from service client Id, while I actually need the json file from service account.
Then I install the googleLanguageR package with this code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install googleLanguageR
Within your project, add a payment method to the project
Within your project, check the relevant APIs are activated
Google Natural Language API
Google Cloud Translation API
Google Cloud Speech-to-Text API
Google Cloud Text-to-Speech API
Generate a service account credential as a JSON file
Return to R, and install the official release via install.packages("googleLanguageR"), or the development version with remotes::install_github("ropensci/googleLanguageR")
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page