Closed AndrewIOM closed 3 years ago
Implemented a solution that isn't ideal but is the best approach right now. There is now a FSIPrinters module that contains print functions you can call in an fsi script using fsi.AddPrinter
@AndrewIOM. This isn't yet in the latest release (2.0.2)?
@halcwb no but you can also add the below line to the top of your script and it will work.
fsi.AddPrinter(fun (synexpr:RDotNet.SymbolicExpression) -> synexpr.Print())
Thanks, that's what I did.
Hi @halcwb, I missed putting a release out with this feature. I've now released 2.0.3 with the FSI printer module included.
Describe the bug In the old RProvider, the user used to call in RProvider to an F# script using a file "rprovider.fsx" in the nuget package. This had the line to register the R type printer:
Using the new #r "nuget:RProvider" package management feature, we do not call this line so the user is met with hard-to-read output in the console.
To Reproduce Steps to reproduce the behavior:
For help type #help;;
Expected behavior The output should be displayed as below:
Screenshots NA
Environment (please complete the following information):
Additional context Add any other context about the problem here.