[ESS] ?':::' hangs

Frede Aakmann Tøgersen frtog at vestas.com
Fri Dec 6 07:59:29 CET 2013


I have from time to time noticed that having an R session open in Emacs/ESS for a long time then using C-c C-v gives me an error. I suppose this is just happening on unix like systems. 

Here is what's happening on our system. Whenever an R session is started (from shell or emacs) there is created a Rtmp######## file in /tmp/890731.1.desktop.q. For this example I have /tmp/890731.1.desktop.q/Rtmp1UoPmE/. 

Now delete or rename it and do a C-c C-v <return> lm <return> then I get this in a *help[R](lm)* buffer: 

Error in file(out, "wt") : cannot open the connection
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/890731.1.desktop.q/Rtmp1UoPmE/Rtxt785a65a': No such file or directory

A .ess_help("lm") gives the same error when issued at the R command line in emacs.

I guess that if an R session has been idle for some time the Rtmp buffer can be deleted. In such a case a restart of R will create a new Rtmp buffer which is then used. However what I usely do is

M-x make-directory <return> /tmp/890731.1.desktop.q/Rtmp1UoPmE <return>

and everything works again.



Yours sincerely / Med venlig hilsen


Frede Aakmann Tøgersen
Specialist, M.Sc., Ph.D.
Plant Performance & Modeling

Technology & Service Solutions
T +45 9730 5135
M +45 2547 6050
frtog at vestas.com
http://www.vestas.com

Company reg. name: Vestas Wind Systems A/S
This e-mail is subject to our e-mail disclaimer statement.
Please refer to www.vestas.com/legal/notice
If you have received this e-mail in error please contact the sender. 


> -----Original Message-----
> From: ess-help-bounces at r-project.org [mailto:ess-help-bounces at r-
> project.org] On Behalf Of Vitalie Spinu
> Sent: 5. december 2013 20:35
> To: Ross Boylan
> Cc: Rodney Sparapani; Martin Maechler; ess-help at stat.math.ethz.ch
> Subject: Re: [ESS] ?':::' hangs
> 
>  >>> Ross Boylan on Thu, 5 Dec 2013 10:30:47 -0800 wrote:
> 
> [...]
> 
>  > Does help depend on some temporary file that might get cleaned up by
>  > routine system housekeeping?
> 
> ESS help is just a simple wrapper for R's help function. If you can run
> utils::help("foo") but C-c C-v doesn't work then it is indeed an ESS
> problem. Then please run .ess.help("foo") and report here what you
> see.
> 
>   Vitalie
> 
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list