-
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
.ess.eval and .ess.help not working in the latest release ess14.09 #117
Comments
I'm getting this too. I just updated to the latest version from github, and C-c c-v provides me with a list of completions, but as soon as I pick one I get the message 'Error: could not find function ".ess.help"'. I can get .ess.help back with: source("/path/to/ESS/etc/ESSR/R/.basic.R") So I suspect somehow ESSR is not getting installed? Best, Tyler |
What about using the officially released version of ESS ? It is only about 3 weeks old, well tested and definitely has no This is not for the average user, the released version of ESS is. |
Sorry Martin, I thought reporting bugs in the development version was a helpful thing to do. I did not mean this as a complaint. |
@mmaechler: you can actually disable the issue tracker, and then people will not annoy you with bug reports. It is just one click in "Settings". They will still be able to send pull request. |
This is an issue tracker (the only one that we have!) and you should complain here of course. The melpa/github version is the same as the officially released version, so you will get the same problems there. It is not clear, why is this happening. Do you configure your R prompt? Could you please go to the source of Thanks. |
Ugh. I did all of that (edebug on This same issue seems to pop-up on me every once in a while, but given that I cannot reproduce it at the moment, it's probably something weird I've done locally. When I saw anushaa report the same issue I thought maybe there was something more general going on. In anycase, next time it happens I'll check Sorry for the noise! Tyler ps. for the record, the requested (S): ess-s-versions-create making M-x defuns for (R): ess-r-versions-create making M-x defuns for (ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send Finished setting up ESS-mode. (R): ess-dialect=R, buf=PCS.sim.tws.r, start-arg=nil (ess-get-help-topics-list R) ..(get-object-list R) ..--> (ess-get-modtime-list) |
Thanks Tyler for taking your time to look into it. When it happens next time could you please post the most recent paragraph of the These reports are a bit concerning as we indeed have made some changes to |
One more thing: There is now |
The above discussion resolves the issue. I just want to add that when I got this problem, I did first check if am using an untested version but when I saw Vincent Goulet installation with ESS 14.09, inferred that this was meant for the "average user". Please know that it takes time and effort to post an issue and I dont think many would do it without going through all checks they can think of and internet search for a solution. Thanks . |
Indeed, @anushaa, you are right. I was overreacting. You did mention ESS 14.09 in the subject, but I was under the wrong impression that your problem was only with the development version of ESS. So: "Please apologize!" and "thank you!", and also Tyler (@plantarum) . |
It happened again this morning - tried to open a help window with C-c C-v, and I got a complaint about not finding .ess.help. I immediately switched to the ESS buffer, and copied the last paragraph (below). I then edebuged ess--R-load-ESSR, killed the R interactive buffer, and restarted it. Stepping through the code, I checked the paths as they came up, and everything looked correct, pointed at /usr/local/share/emacs/etc/ess/ESSR/R/, which is where the files were installed. And then it worked! So I un-edebugged ess--R-load-ESSR, killed the R buffer, and tried again. It still worked. Next experiment, I killed my emacs entirely and started over. And it worked the first time, as expected - M-x R, C-c C-v and I get a help window, no complaints. Weird. So I opened ESS and took a look. The last two paragraphs from this buffer are pasted below. The first differences appear to be: Working: Not Working: Aha! Here's a clue - ess-dialect and starting buffer seem to be important. My next round of experiments involved trying to reproduce the error using emacs -Q and running M-x R from scratch or from an R code bufffer, trying to see what happens for different values of ess-dialect. Sadly, I have been unable to reproduce the problem yet. Perhaps these clues will be helpful to you. Otherwise, I'll send more info when I have it. Best, Tyler Last paragraph from ESS from broken session: (R): ess-dialect=R, buf=PCS.sim.r, start-arg=nil Last 2 paragraphs from ESS when it is working: (R): ess-dialect=nil, buf=scratch, start-arg=nil (ess-get-help-topics-list R) ..(get-object-list R) ..--> (ess-get-modtime-list) |
Thanks Tyler for all the work. The issue is non-deterministic. So it Vitalie
|
Vitalie, When 14.09 was released, org-mode's `org-babel-R-initiate-session' (in ob-R.el) broke with symptoms that seemed similar. It looked like inputs sent to the inferior-ess process were arriving before ESSR got attached. Those problems were resolved by inserting (ess-wait-for-process in that function to let the start up processing run to completion before trying to send more inputs. Maybe forcing a wait before each input in the startup would resolve the current issue. Chuck |
The changes that have been introduced in 14.09 were intended to avoid Given the abundance of such non-deterministic error reports we will Vitalie
|
Thanks to @mmaechler Running |
I was able to run all the functions with ess-eval-function and see help till I updated ess today.
Could you please fix this bug and tell me where to find the older working version in the meantime ?
Thanks
Anusha
The text was updated successfully, but these errors were encountered: