Skip to content

Error: API returned: Daily Limit Exceeded - is there a temp file? #45

Description

@TimHenrichsen

I tried to use the package to translate some text. I checked the nchar amount, which is within the daily limit (https://cloud.google.com/translate/quotas)

sum(nchar(articles_to_translate))
[1] 1999332

I then used the command

articles_translated <- gl_translate(articles_to_translate, 
                                    target = "en",
                                    format = "text",
                                    source = "it")

which seemed to work until I received a daily limit exceeded error. Now Google already billed me, but no results were returned in R.
Is there a way to still get the result for example from temporary files somewhere on my harddisk?

Thanks for your help, sessioninfo below:

> sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252    LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C                    LC_TIME=German_Germany.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] googleLanguageR_0.2.0 rDNA_2.1.6            dplyr_0.7.5           rJava_0.9-9     

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions