Closed gjwgit closed 11 months ago
From the repository see the example app, but in main.dart replace the various shells with just R!
String get shell {
return 'R';
}
Is this a good issue to take up after the previous one ? Also , I am unable to find the main.dart
file on the root directory. I made a new fork and clone after the previous issue
Yes, this would be a good one to work on. It is rather core to getting the communications between flutter and R working. Currently I am using an R process to send commands to R, but not yet getting results from R (see #36). It would however be nice to have this embedded console and to demonstrate sending commands to it and obtaining the output from it into flutter.
Also need to maintain its state #27.
WIP - all but extracting the data is functional. Should not be too hard to extract the data.
Completed.
Description
https://pub.dev/packages/xterm
Add an xterm into the TERM tab, and send commands to start up R and then to send R commands to the terminal and to retrieve the output from the terminal.
The xterm is running under the Console tab but because of the way flutter rebuilds widgets, each time the tab is visited a new instance of xterm is created. Instead there should be a single instance, and each time the tab is visited it should that one instance. Then send strings to the xterm to have then run in R and read the output from the xterm to parse and load into the app.
Why
So that a user can interact with R within the app and can also see the commands and output there as they are run.
Closing Criteria
ls
)rattle::weather
It will look something like: