3 ms·
Generating invalid code is a big hassle. I have used ChatGPT for generating R code & sometimes it refers to functions that don't exist. The standard deviation o
by dxbydt 3y ago
Generating invalid code is a big hassle. I have used ChatGPT for generating R code & sometimes it refers to functions that don't exist. The standard deviation of [1,2,1] is 0.577, given by sd(c(1,2,1)). Sometimes I get stdev(c(1,2,3)) - there is no stdev in R. Why not have a slower mode where you run the code thru the R interpreter first, & only emit valid code that passes that step ?
- fragmede 3y agoThe Python one that currently exists can use Pandas, but then you're using Python and not R. Other language support must be on their roadmap, only question is how far down the list it is.
- blharr 3y agoThis can be done pretty easily with their api if you are willing to spend some time on it