Code Monkey home page Code Monkey logo

Comments (11)

crocket avatar crocket commented on September 26, 2024

I think I reported the same issue right below your issue.
However, since your report seems more accurate, I close my issue.

from ess.

vspinu avatar vspinu commented on September 26, 2024

this is melpa problem I think. Do C-g and go and see what is there in *R* buffer.

from ess.

crocket avatar crocket commented on September 26, 2024

I see the lines below when I press C-g.

R version 2.15.2 (2012-10-26) -- "Trick or Treat"
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> > install.packages('/home/crocket/.emacs.d/elpa/ess-20131004.758/etc/ESSR_1.0.tar.gz', repos=NULL,     type='source')
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning in install.packages("/home/crocket/.emacs.d/elpa/ess-20131004.758/etc/ESSR_1.0.tar.gz",  :
  'lib = "/usr/local/lib/R/site-library"' is not writable
Would you like to use a personal library instead?  (y/n)

I think it shouldn't try to write in /usr/local/lib since we don't run emacs as root.

from ess.

vspinu avatar vspinu commented on September 26, 2024

Ok, I see. Thanks. I will try to fix that right now.

from ess.

dschwilk avatar dschwilk commented on September 26, 2024

Yes, that is it. Cool.

from ess.

vspinu avatar vspinu commented on September 26, 2024

Would you mind checking in R what is the value of Sys.getenv("R_LIBS_USER"). But please run R in terminal. Thanks.

from ess.

dschwilk avatar dschwilk commented on September 26, 2024

For me:

> Sys.getenv("R_LIBS_USER")
[1] "~/R/x86_64-pc-linux-gnu-library/2.15"

from ess.

crocket avatar crocket commented on September 26, 2024

me, too

> Sys.getenv("R_LIBS_USER")
[1] "~/R/x86_64-pc-linux-gnu-library/2.15"

from ess.

vspinu avatar vspinu commented on September 26, 2024

install.packages doesn't allow for non interactive specification. I had to implement a workaround. You should be popped to *R* buffer where you will have to answer "y". That happens for the first time you install a package (any package). So most users would not have noticed this glitch, including myself. So thanks for reporting it promptly.

Please check it out, either from git or MELPA. I don't know how often they update the repository but it should be there within an hour.

from ess.

dschwilk avatar dschwilk commented on September 26, 2024

Yes, thanks. The workaround works. Emacs opens a widow with the R buffer now and the prompt can be seen. What a fast fix!

from ess.

vspinu avatar vspinu commented on September 26, 2024

Thanks for fast replies;)

from ess.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.