Title: | 'Mergen' Studio: An 'RStudio' Addin Wrapper for the 'Mergen' Package |
---|---|
Description: | An 'RStudio' Addin wrapper for the 'mergen' package. This package employs artificial intelligence to convert data analysis questions into executable code, explanations, and algorithms. This package makes it easier to use Large Language Models in your development environment by providing a chat-like interface, while also allowing you to inspect and execute the returned code. |
Authors: | Jacqueline Jansen [aut, cre], Artür Manukyan [aut], Nour Alkhoury [aut], Altuna Akalin [aut] |
Maintainer: | Jacqueline Jansen <[email protected]> |
License: | MIT + file LICENSE |
Version: | 1.0 |
Built: | 2024-11-10 03:29:44 UTC |
Source: | https://github.com/cran/mergenstudio |
Run the Mergen Chat Shiny App as a background job and show it in the viewer pane
addin_mergenchat(host = getOption("shiny.host", "127.0.0.1"))
addin_mergenchat(host = getOption("shiny.host", "127.0.0.1"))
host |
The IPv4 address that the application should listen on. Defaults
to the |
This function has no return value.
# Call the function as an RStudio addin if(interactive()){ addin_mergenchat() }
# Call the function as an RStudio addin if(interactive()){ addin_mergenchat() }
Call this function as a Rstudio addin to ask mergen to improve spelling and grammar of selected text.
addin_mergenchat_in_source()
addin_mergenchat_in_source()
This function has no return value.
if(interactive()) { addin_mergenchat_in_source() }
if(interactive()) { addin_mergenchat_in_source() }
This functions starts the mergen chat as a regular shiny application. The same app could be called using the RStudio Add-in and the mergenchat()
function.
run_chat_app( ide_colors = get_ide_theme_info(), host = getOption("shiny.host", "127.0.0.1"), port = getOption("shiny.port") )
run_chat_app( ide_colors = get_ide_theme_info(), host = getOption("shiny.host", "127.0.0.1"), port = getOption("shiny.port") )
ide_colors |
List containing the colors of the IDE theme. |
host |
The IPv4 address that the application should listen on. Defaults
to the |
port |
The TCP port that the application should listen on. If the
|
This function has no return value.
if(interactive()){ run_chat_app() }
if(interactive()){ run_chat_app() }