[ESS] ESS Hangs: Text is read-only

Paul Johnson pauljohn32 at gmail.com
Tue Apr 1 16:23:03 CEST 2014


Interesting.  I can see Pdf Rnw R are light blue, underlined.

Point and click on Rnw or R, minibuffer writes out:

"Use M-x make-directory RET RET to create the directory and its parents"

I do M-x make-directory

and minibuffer says

Make directory: ~/data.table/doc ?

I say OK, then I have a new empty directory.

I installed emacs23 as well, I see same thing. For any package's
files, it asks me to create a directory, but the directory it asks to
create is interestingly different. The Rnw file from Amelia asks me to
create

~/Amelia/doc/home/pauljohn/R/x86_64-pc-linux-gnu-library/3.0/


I had this problem yesterday with R-3.0.2, but now my system is more
out of whack.  When I went to sleep, the R update from the CRAN Ubuntu
folder happened and, although the package is named R-3.0.3, the
running R session claims it is the beta version, so I need to figure
out how that happened and back out of it.

> sessionInfo()
R version 3.1.0 beta (2014-03-28 r65330)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_3.1.0

On Tue, Apr 1, 2014 at 1:10 AM, Vitalie Spinu <spinuvit at gmail.com> wrote:
>
> RET and clicking should work. Those are links. Any errors? Can you open
> rnw or R?
>
>    Vitalie
>
>  >>> Paul Johnson on Tue, 1 Apr 2014 00:50:57 -0500 wrote:
>
>  > OK, that vignette display page is really neat. I never cease to be surprised by
>  > these features you put in there.
>
>  > How do I open the vignette from there? I see
>
>  > PDF RNW R
>
>  > Its embarrassing to ask, I think . There's no response if I middleclick. or
>  > position the cursor and hit enter or any other keystroke I can think of.
>  > Incidentally, if I weren't able to ask you, how would I know this from the
>  > instructions?
>
>  > I'm I've got a fishy build of Emacs. I'll search about...
>
>  > pj
>
>  > On Mon, Mar 31, 2014 at 9:47 PM, Vitalie Spinu <spinuvit at gmail.com> wrote:
>
>  >     I cannot reproduce either. Never happened to me. If *R* buffer becomes
>  >     read-only, you can always C-x C-q to make it writable again.
>
>  >     Do you experience the same problem with C-c C-d C-v?
>
>  >     Vitalie
>
>  >>>> "Sparapani, Rodney" on Mon, 31 Mar 2014 13:45:41 +0000 wrote:
>
>  SR> On Mon, 2014-03-31 at 13:42 +0000, Sparapani, Rodney wrote:
>  >>> Lately, it often happens that ESS hangs, and *R* minibuffer says "Text
>  >>> is
>  >>> read-only". I just found a repoducible example.
>  >>>
>  >>> Run this
>  >>>
>  >>> library(data.table)
>  >>> vignette("datatable-intro")
>  >>>
>  >>> An Evince screen appears., I read the PDF a while, close that.
>  >>>
>  >>> In the *R* buffer I see
>  >>>
>  >>> >
>  >>>
>  >>> (evince:12584): EvinceDocument-CRITICAL **: ev_document_get_n_pages:
>  >>> assertion 'EV_IS_DOCUMENT (document)' failed
>  >>>
>  >>> After closing the Evince window, I cannot find any way to get the
>  >>> Emacs/ESS
>  >>> session to work again. I cannot type commands at the prompt. Nor can I
>  >>> run
>  >>> them from the script window.
>  >>>
>  >>> The minibuffer reports "Text is read-only". I can't find any way to
>  >>> break
>  >>> out.
>  >>>
>  >>> I've had this problem occasionally for the last few months, but never
>  >>> reproducible before.
>  >>>
>  >>> Ubuntu Linux, Emacs 24.3.1 with ESS 13.09.
>
>  SR> Hi Paul:
>
>  SR> I can't reproduce. For me, on RHEL 5.7, Emacs 24.3 and ESS 13.09-2,
>  SR> I get an acroread window rather than evince. After closing the
>  SR> acroread window, everything behaves as expected. This could be
>  SR> an evince issue.
>
>  SR> Rodney
>
>  SR> ______________________________________________
>  SR> ESS-help at r-project.org mailing list
>  SR> https://stat.ethz.ch/mailman/listinfo/ess-help
>
>  >     ______________________________________________
>  >     ESS-help at r-project.org mailing list
>  >     https://stat.ethz.ch/mailman/listinfo/ess-help



-- 
Paul E. Johnson
Professor, Political Science      Assoc. Director
1541 Lilac Lane, Room 504      Center for Research Methods
University of Kansas                 University of Kansas
http://pj.freefaculty.org               http://quant.ku.edu



More information about the ESS-help mailing list