-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set deparse.max.lines before calling dump() #516
Comments
|
Ok, this has been fixed here and that basically means that versions between 3.2.1 and 3.5.0 are broken in this regard. Not sure if having a workaround hanging around in ESS is the right approach. I don't think that many people set the deparse option and fixing it on ESS side would mean adding |
I don't think it made it to 3.5 |
I think we should fix it. If only so we can add a unit test for it. Maybe we could look into some mechanism to manage global options from ESS? |
Maybe we can check if this option is set by the user and display a warning or a message?
Like |
@lionel- is right: It was detected/fixed too late to enter 3.5.0 which was in "freeze" state by then. I will port it to R 3.5.0 patched so it will be in R 3.5.1. Definitely NOT messing with the user's |
It would only be temporary while running the command. It'd be restored in an exit hook (or something equivalent). |
For me this is a good reason not to fix it. In 2 years people will no longer be using broken R versions but we will be stuck with |
I was actually victim of this bug and wondered why dumped objects (notably in Rcpp unit tests) were truncated... It might be generally useful to have a Oh but actually there might be a simpler solution here: we could just shim |
No, please ... that's what I already hate much about Rstudio: It uses it's own install.packages() and I have seen bugs that only showed because of that. No please don't go there. It looks simple and easy, but is the same M$ patronizing attitude: "We know better what you want than yourself, and we don't even tell you about it...". No , no, no: Don't shadow anything in search() by ESSR! |
I don't know what microsoft has to do with this. I don't love shimming base functions and it should be a last resort, but oftentimes we do know better than the user and they don't want to know about it. Note that we do it frequently on the Emacs side with advices (there too, as a last resort). But I understand your objection, no |
Because of wch/r-source@201ddbd
The text was updated successfully, but these errors were encountered: