9
I Use This!
Low Activity

News

Analyzed about 11 hours ago. based on code collected about 15 hours ago.
Posted over 8 years ago by Henric Winell
Den 2015-10-20 kl. 19:02, skrev Vitalie Spinu: I see. I switched from auto-complete, which works out of the box here (and so does RStudio), so I was a bit surprised. Thanks! I tried the following (defun company-ess-setup () (setq-local ... [More] company-backends (append '(company-dabbrev) company-backends))) (add-hook 'ess-mode-hook 'company-ess-setup) Is this what you had in mind? I mean, it sort of works, but the popup is lost and summm isn't among the suggestions, so I probably did this the wrong way. Henric ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]
Posted over 8 years ago by Vitalie Spinu
R company backends ask the process for completions. If you haven't evaluated summm you won't have it. You can always add company-dabbrev in front of local company-backends list to fix this. Vitalie ... [More] ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]
Posted over 8 years ago by Henric Winell
Hi, I'm trying out the new ESS completion mechanism using company-mode. Many thanks for adding this! But I'm missing one feature: if I type in, e.g., summm <- 5 sum and then press [TAB] in a buffer where R-mode is enabled, 'summm' isn't ... [More] listed among the suggestions. It can, however, be done by calling company-dabbrev by pressing M-/, but that's one key-press to many... ;) How can I add the suggestions from company-dabbrev to the suggestions from the ESS backend? Henric Winell ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]
Posted over 8 years ago by Ottorino
Here you are the purged history from the terminal. I cannot document precisely what i did yesterday night from emacs. I refreshed some obsolete packages (auctex ??) But I agree with you on the strangeness of the matter. I'm far from being a lisp ... [More] literate, but on repeating the procedure on my desktop, I ended with a weirdly working emacs. The message I get this time on opening emacs-24.4 from terminal is Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct I also found a possible solution here http://ubuntuforums.org/showthread.php?t=1896584 but unfortunately the solution do not work on my system. Still struggling ############### HISTORY Attempts with emacs 24.1, ess 13.09 R 3.0.2 382 sudo apt-get install markdown 383 sudo apt-get install emacs-goodies-el 384 sudo apt-get install pandoc ... 390 pandoc --version The system was complaining about a too old version of pandoc. I then installed pandoc 1.15.0.6 from https://github.com/jgm/pandoc/releases/download/1.15.0.6/pandoc-1.15.0.6-1-amd64.deb Download of polymode, and modification of my .emacs 427 cd Documenti/ 428 cd BitBucket/ 429 git clone https://github.com/vitoshka/polymode.git Installation of packages to compile emacs 24.4. 439 sudo apt-get install build-essential texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev Installation of emacs 24.4 451 ./configure ... 453 make 454 makefile 455 emacs-24.4 Refresh of the GPG key and change the repository to deb https://cran.r-project.org/bin/linux/ubuntu trusty/ Yesterday it was not possible to reach the italian repository on unipd 456 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 Installation of ess 15.09 and R 3.2.2 460 sudo apt-get install r-base-core r-base-dev 461 apt-get autoremove ... 464 sudo apt-get update 465 sudo apt-get upgrade ... 470 sudo apt-get install ess Il 14/10/2015 09:53, Vitalie Spinu ha scritto: ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]
Posted over 8 years ago by Vitalie Spinu
That's very strange because the error that you reported is an elisp error. But, it's great that you could fix it. The problem is the same as reported in this issue: https://github.com/vspinu/polymode/issues/25 Would you please add a comment ... [More] there on how you managed to fix it? Thanks, Vitalie ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]
Posted over 8 years ago by ottorino
GOT IT !! The responsible was R 3.0.2 !! I've updated to 3.2.2 and I'm back in business. THANKS A LOT, Vitalie, for the support. Here, in my university, in a non-unix world I sometime feel desperate. Thanks again Mint 17.2 Rafaela -- MATE GNU ... [More] Emacs 24.4.1 (x86-64-pc-linux-gnu, GTK+ Version 2.24.23) ESS version 15.09-1 -- R 3.2.2 Il 13/10/2015 21:48, ottorino ha scritto: [[alternative HTML version deleted]] ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]
Posted over 8 years ago by Vitalie Spinu
I guess your problem is some local immutability between ESS, polymode ,emacs and eieio. I am developing on 25, and testing on 24.4 and occasionally on 24.3. Polymode on 24.3 has some issues but it's usable and just yesterday a user reported that ... [More] everything was working fine. There have been too many changes on eieio in the past year or so that I am even considering removing 24.3 from the supported list. I am back on developing polymode, (slowly but surely) and I will eventually fix all the issues. For now, if you can upgrade emacs to the most recent version you can please do that. Vitalie ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]
Posted over 8 years ago by Ottorino
Hi all. this morning I tried to install polymode (git version, no elpa packages around) on the desktop in my office, but only to get this message: Warning (initialization): An error occurred while loading `/home/ottorino/.emacs': error: Unknown ... [More] class type pm-chunkmode in method parameters The two systems are slightly different; Desktop Mint 17.2 Rafaela -- Cinnamon GNU Emacs 24.3.1 (x86-64-pc-linux-gnu, GTK+ Version 3.10.7) ESS version 15.09-1 -- R 3.2.2 Laptop (I wrongly assumed it was a 17.1 Qiana: it's not) Mint 17.2 Rafaela -- MATE GNU Emacs 24.3.1 (x86-64-pc-linux-gnu, GTK+ Version 3.10.7) ESS version 13.09-1 -- R 3.0.2 I think there are signals that I can't use ESS + polymode !! Il 11/10/2015 01:14, ottorino ha scritto: ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]
Posted over 8 years ago by Sparapani, Rodney
Well, TFM is technically correct. But, as you can see, the level of "support" of 23.x is somewhat less. 23.x was fine for its time, but I find 24.x to be less buggy and I don't recommend 23.x (and I said earlier, I don't recommend 24.1 or 24.2 ... [More] either; stick with 24.3 or higher). Furthermore, I can say that I did absolutely no testing of ESS 15.09 with 23.x, but I did a lot of testing with 24.x. You will have a much better chance of getting this to work with 24.x IMHO. ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]
Posted over 8 years ago by ottorino
Il 11/10/2015 16:59, Vitalie Spinu ha scritto: With git version, no polymode dir under ~/.emacs.d/elpa with knitR-ESS enabled and toggle-debug-on-error enabled, the *backtrace* buffer do not appear and this is what is written in *Messages* buffer ... [More] ..... Debug on Error enabled globally Weaving 'AnalisiReport.Rmd' with 'knitR-ESS' weaver ... Type C-h m for help on ESS version 13.09-1 ess-tracebug mode enabled using process '*R*' Wrong number of arguments: (lambda (proc name) (let ((wfile (pm--ESS-callback proc name))) (pm--display-file wfile) wfile)), 1 without quitting emacs session and after pressing M-n W + tab to change from knitR-ESS to knitR the *Backtrace* opens up and reports the following Debugger entered--Lisp error: (wrong-type-argument stringp nil) intern(nil) (let* ((weavers (pm--abrev-names (delete-dups (pm--oref-with-parents pm/polymode :weavers)) "pm-weaver/")) (sel (ido-completing-read "No default weaver. Choose one: " weavers nil t nil (quote pm--weaver-hist) (car pm--weaver-hist))) (out (intern (get-text-property 0 :orig sel)))) (eieio-oset pm/polymode (quote :weaver) out) out) polymode-set-weaver() call-interactively(polymode-set-weaver nil nil) From the terminal, everything is still working. (just to self-reassure me that I did not make some typo or mistake in the .Rmd.file !) I see. Nevertheless when before I tried the git version, no polymode dir was present under my local ~home/.../.emacs.d/elpa/ Clear ______________________________________________ ESS-help< at >r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help [Less]