Package: rgemini 0.1.0
rgemini: R interface to Google Gemini API
In development
Authors:
rgemini_0.1.0.tar.gz
rgemini_0.1.0.zip(r-4.5)rgemini_0.1.0.zip(r-4.4)rgemini_0.1.0.zip(r-4.3)
rgemini_0.1.0.tgz(r-4.5-any)rgemini_0.1.0.tgz(r-4.4-any)rgemini_0.1.0.tgz(r-4.3-any)
rgemini_0.1.0.tar.gz(r-4.5-noble)rgemini_0.1.0.tar.gz(r-4.4-noble)
rgemini_0.1.0.tgz(r-4.4-emscripten)rgemini_0.1.0.tgz(r-4.3-emscripten)
rgemini.pdf |rgemini.html✨
rgemini/json (API)
# Install 'rgemini' in R: |
install.packages('rgemini', repos = c('https://skranz.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/skranz/rgemini/issues
Last updated 14 days agofrom:91505aa2a2 (on main). Checks:1 OK, 8 WARNING. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 20 2025 |
R-4.5-win | WARNING | Mar 20 2025 |
R-4.5-mac | WARNING | Mar 20 2025 |
R-4.5-linux | WARNING | Mar 20 2025 |
R-4.4-win | WARNING | Mar 20 2025 |
R-4.4-mac | WARNING | Mar 20 2025 |
R-4.4-linux | WARNING | Mar 20 2025 |
R-4.3-win | WARNING | Mar 20 2025 |
R-4.3-mac | WARNING | Mar 20 2025 |
Exports:arr_respescape_quotesexamplefirst.non.nullgemini_cache_contextgemini_contentgemini_contextgemini_context_cache_expire_secgemini_curl_make_contentsgemini_delete_all_context_cachesgemini_delete_context_cachegemini_list_context_cachesgemini_list_modelsgemini_media_uploadgemini_resp_to_dfgemini_update_context_cacheguess_mime_typeinfer_response_typeinternal_gemini_parse_httr_respna.valobj_respresponse_schemarun_geminiset_gemini_api_key
Dependencies:askpassclicurldplyrfansigenericsgluehttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigR6restorepointrlangsystibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Create an Array Response Template | arr_resp |
Cache a Gemini context | gemini_cache_context |
Extract content from a more detailed run_gemini response | gemini_content |
Create a Gemini context | gemini_context |
Get remaining context cache expiration time | gemini_context_cache_expire_sec |
Delete all cached contexts | gemini_delete_all_context_caches |
Delete a cached context | gemini_delete_context_cache |
List all cached contexts | gemini_list_context_caches |
Upload a document or image to Gemini API. | gemini_media_upload |
Update cached context expiration | gemini_update_context_cache |
Infer the JSON Response Type | infer_response_type |
Create an Object Response Template | obj_resp |
Generate a JSON Schema from a Response Template | response_schema |
Generate Content with Gemini API | run_gemini |
Set your Gemini API | set_gemini_api_key |