Closed evelinag closed 8 years ago
I had a look at this and it seems to be caused by the fact that R.NET now automatically prints the results of expressions evaluated (this change sets AutoPrint to true). AFAIK this has no effect on R provider, because we are not capturing the automatic print output.
The reason why this breaks the above code is that R tries to show the incomplete chart created by the first part of the expression (before the ++
). I think we can safely set AutoPrint = false
in R provider because our F# Interactive load script prints things explicitly.
It works now, thank you!
I was using ggplot2 from RProvider, but it stopped working from RProvider version 1.1.12. Ggplot normally composes plots by adding layers and the resulting plot needs to be evaluated as a whole. Currently, each layer is evaluated immediately which leads to
no layers in plot
errors.Code to reproduce the error:
The code worked in RProvider 1.1.8.