Git Product home page Git Product logo

rcodex's Introduction

RCodex

2023-03-25

This package will use Models from OpenAI to create code for you.

You just write the text and the code will appear. rcodex2

Installation

Install from GitHub using

# install.packages("devtools")
devtools::install_github("PatronMaster/rcodex")

You need create a API KEY in openAI

Now, click in Addins and Rcodex Configuration

Now insert the API Key, you can change the model and max tokens.

Click in done.

Optional:

Add shortcuts to be fast in Tools, Addins, Browse Addins

Usage

Write your text in any language, select and press Rcodex or defined shortcut.

Update

Version 0.2

New Models added: "gpt-4","gpt-4-32k","gpt-3.5-turbo-0301","gpt-3.5-turbo"

Option to choose another programming language than R for the output.

FUNNY (I create this package because was feedback from CHAT GTP)

I asked to CHAT GPT how can use codex in Rstudio, the answer was the below, so to fix this error I create the package :D

To use Codex to translate natural language into R code, you will need to install Codex and R on your computer and open RStudio. Then you can follow these steps:

  1. Open Codex in RStudio: click on “Addins” at the top of the RStudio screen and select “Translate natural language to code with Codex” from the list of Addins. This will open the Codex under the “Addins” tab on the right side of RStudio.

  2. Type or paste the natural language text you want to translate into R code in the Codex.

  3. Click the “Translate” button to translate the text into R code. The resulting R code will be displayed in the Codex window.

  4. Copy the R code to the RStudio editor window and press “Ctrl + Enter” to run it.

I hope this helps! If you have further questions, please don’t hesitate to ask.

rcodex's People

Contributors

patronmaster avatar

Stargazers

Kestutis Vinciunas avatar

Watchers

 avatar

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.