Re: [ESS] Error starting R

2018-10-03 Thread Jeremie Juste via ESS-help
Hello, Can you specify the ess version you are using? I would suggest disabling global-font-lock-mode (M-x global-font-lock-mode) before launching R to see if it works. It is not a fix but just a way to investingate where the problem might be. Best regards, Jeremie Neil Shephard via

Re: [ESS] Error starting R

2018-10-03 Thread Jeremie Juste via ESS-help
Hello, Glad you could sort it out. I think version controling the .emacs file and the .emacs.d directory could help solve these issues faster. You could easily go back to a previous working version. This might be helpful if you are in a situation where you really need things to work. I'm

Re: [ESS] Error starting R

2018-10-03 Thread Jeremie Juste via ESS-help
Hello, Be sure to CC ess-help@r-project.org in your reply as your mail can help others as well. You might find better support in this way too. I updated by ess to your version : ess-version: 18.10 and could load R without difficulty. I'm using GNU Emacs 25.3.3 (x86_64-pc-linux-gnu, GTK+

Re: [ESS] Stopping "Save workspace image?" prompt

2018-09-22 Thread Jeremie Juste via ESS-help
Hello, Have a look at the variable inferior-R-args. (C-h v inferior-R-args). You can customize it to include --no-save. in principle putting (setq inferior-R-args "--no-save") in your .emacs file should do it. Best regards, Jeremie > Hi everyone, > > Does know of a way to stop the "Save

Re: [ESS] Feature idea: insert expression before <- at point

2019-05-01 Thread Jeremie Juste via ESS-help
Hello I can buy you this feature for a one liner data[ data[,"columnB"] > 123 ,"columnA"] <- gsub("xxx", "yyy",_POINT_ ,fixed=TRUE) To do this you can use the function r/copy-left-of-assign-r-fun-end but you will have to load the function r/get-begin-of-line-point as well (see below) I have

Re: [ESS] [External] Re: Function to copy command to script?

2020-05-19 Thread Jeremie Juste via ESS-help
Hello, > Is there a function to copy an inferior-buffer R command back to the R > script and insert it at point? For a while I have considered doing just that but I ended exploring other options. * First option Have you considered using directly a script buffer for prototyping? This might be a

Re: [ESS] How to tame a jumpy iESS buffer?

2020-09-16 Thread Jeremie Juste via ESS-help
Hello John, I apologize for the delayed response. I still cannot reproduce your issue after > (setq eldoc-echo-area-use-multiline-p t) I get the multi-line in eldoc but no jumps in the commit buffer. To test on your side I would suggest. - $ emacs -Q - then load ess-site. If you installed

Re: [ESS] How to tame a jumpy iESS buffer?

2020-09-12 Thread Jeremie Juste via ESS-help
Hello John, Unfortunately, I cannot reproduce your error. We can try to figure out how is Ess working with emacs -Q though. - $ emacs -Q - then load ess-site. If you installed it with melpa then - (package-initialize) - (ess-site) - Do you have the same issue when using IESS? Could

Re: [ESS] how to deal with underscore in ggplot2 etc

2020-09-04 Thread Jeremie Juste via ESS-help
Hello, > My biggest concern is using ggplot2 > where all the geom functions have an underscore: geom_smooth etc?the > package is authored by the people behind Rstudio who do not care about > ESS users If you tweak ggplots for hours every key stroke saved counts. Here is my work flow. First I

[ESS] Best Practice for building R packages

2020-10-08 Thread Jeremie Juste via ESS-help
Hello, Is anyone using ESS to build R packages? Could you share your workflow please? I read the doc of ESS about using roxygen to document the functions. By the way it looks like the link to [1] roxygen is broken and that roxygen2 has taken its place. I initially thought that I could use

Re: [ESS] Best Practice for building R packages

2020-10-08 Thread Jeremie Juste via ESS-help
Hello, On Thursday, 8 Oct 2020 at 09:05, Dirk Eddelbuettel via ESS-help wrote: > > Emacs is natural follow-up to this but there is _so much_ I wanted to cover > there that I am effectively overwhelmed and hence inactive. So let's turn > this upsite down and maybe _just_ focus on ESS. Shall we?

Re: [ESS] Best Practice for building R packages

2020-10-08 Thread Jeremie Juste via ESS-help
Hello Dirk, On Thursday, 8 Oct 2020 at 06:57, Dirk Eddelbuettel wrote: > We all may be a little different here. > > ESS now wraps around devtools, but my practices predate devtools. So I still > build, test, install, ... on the command-line for which I use wrappers (from > my littler package,

Re: [ESS] Best Practice for building R packages

2020-10-08 Thread Jeremie Juste via ESS-help
Hello Kasper, Thanks for sharing. > Personally, I'm a dinosaur so I'm still editing Rd files myself. I must > say, I'm not convinced about the merits of roxygen2. I admire your discipline. For my part, I feel that I would not document my functions properly unless I constrain myself to do it on

Re: [ESS] Start R process from project root

2020-10-16 Thread Jeremie Juste via ESS-help
Hello Pavel, A simple way to achieve that would be to use bookmarks or file registers. (info "(emacs) Registers") For instance you can set a file register like the following in your init.el|.emacs (set-register ?r '(file . "favourite-project/")) Notice that the file register works fine for

Re: [ESS] How to tame a jumpy iESS buffer?

2020-09-17 Thread Jeremie Juste via ESS-help
Hello Shreyas, Thanks for your input. On my side, ess-switch-to-end-of-proc-buffer is set to t by default. So I am not sure it is the issue. Feel free to chip in if you think I'm wrong. Best regards, Jermeie Shreyas Ragavan via ESS-help writes: > I was wondering if this could be related to

Re: [ESS] Running R over tramp

2020-12-18 Thread Jeremie Juste via ESS-help
Hello, I'm running R over tramp without any issues you described. Could you please specify versions of the ESS package you are using? Please, keep it straight to the point and keep in mind that someone is reading your mail trying to help. Best regards, Jeremie - ess-version: 18.10.3snapshot

Re: [ESS] Running R over tramp

2020-12-19 Thread Jeremie Juste via ESS-help
Hello Chris, Sorry I am not sure to see what would cause the issue. I see two options for further investigation: 1. update R to 4.0 2. do you have a particular script that runs at the start of your R session on the remote computer? I would suggest trying setting (setq inferior-R-args

Re: [ESS] how to change default emacs behavior, upon running R code, from 2 side-by-by side frames to top-and-bottom frames?

2020-11-09 Thread Jeremie Juste via ESS-help
Hello, > When I execute a line of R code, the R buffer opens up as expected, but > it opens in a frame adjacent to the frame containing my source buffer. I > would like it to open the R buffer as a frame below my source code, > rather than adjacent to it. This section of the documentation

[ESS] feature request support autocompletion of data.table colum names

2021-01-15 Thread Jeremie Juste via ESS-help
Hello, I was wondering if it is possible to support the auto-completion of data.table column names with company. I know that dt$... works find but I was looking for dt[...] I investigated a little bit the company-R-objects backend function in the file ess-r-completion.el. But I got stuck with

[ESS] ess-watch over tramp

2021-01-19 Thread Jeremie Juste via ESS-help
Hello, I would like to use ess-watch from a remote session but I receive the follow error. When I execute M-x ess-watch Error in as.environment("ESSR") : no item called "ESSR" on the search list The problem seems to lie with, as.environment("ESSR") that cannot be found on the remote on my

Re: [ESS] Style: avoid new lines in chains of square brackets [][]

2021-06-03 Thread Jeremie Juste via ESS-help
Hello Vincent, > On Wed, Jun 2, 2021, at 19:01, Vincent Arel-Bundock via ESS-help wrote: >> Jeremie, >> >> This is quite embarrassing, but the behavior does NOT replicate under >> vanilla emacs. I should have done my research! I have fallen into this trap (many times) as well so rest assured

Re: [ESS] Style: avoid new lines in chains of square brackets [][]

2021-06-02 Thread Jeremie Juste via ESS-help
Hello Vincent, On Wednesday, 2 Jun 2021 at 09:14, Vincent Arel-Bundock via ESS-help wrote: > Hi all, > > Thanks for your awesome work on ESS! > > I use the data.table package with chains of square brackets, and would like > to indent my code as follows: > > library(data.table) > dat =

Re: [ESS] Error message when starting R

2021-02-05 Thread Jeremie Juste via ESS-help
Hello Jaime, > Strangely, I can see a ess-20210204.856 directory, but not the > "ess-20210202.836" . Should I just reinstall the package then? This would be my first approach. HTH, Jeremie On Thursday, 4 Feb 2021 at 21:58, Jaime Alvarez Gerding wrote: > Thank you Jeremie. > > Strangely, I

Re: [ESS] ESS M-x R failing in a Windows installation

2021-03-10 Thread Jeremie Juste via ESS-help
Hello Steve, Is there any reason for this downgrade? In general R is harder to find on windows because installation configuration depends too much on the user. It might be a good idea to live it to the user in this case. A possible solution is to take the override the default command. For

Re: [ESS] [External] Re: ESS M-x R failing in a Windows installation

2021-03-10 Thread Jeremie Juste via ESS-help
To be clear, for my part I was referring to the latest MELPA version "ess-version: 18.10.3snapshot [elpa: 20210307.735] And once inferior-ess-r-program is properly set, I didn't experience any trouble loading R and in using ess-flymake on windows. Best regards, Jeremie On Wednesday, 10 Mar

Re: [ESS] ESS M-x R failing in a Windows installation

2021-03-10 Thread Jeremie Juste via ESS-help
Hello, I suspect there is a bug regarding the variable ess-rterm-version-paths It is now available in ess-custom.el but is nil by default. This should not be the case. It should have the value (setq ess-rterm-version-paths (ess-flatten-list (delete-dups (if (not

Re: [ESS] User-space installation of ESS 18.10.2 failing

2021-03-15 Thread Jeremie Juste via ESS-help
Hello, > Note: I tried installation from MELPA first, but the version of ess > there insists on Emacs 25.1, and my available options are 26.1 or > 27.1. For info I have installed ess-version: 18.10.3snapshot [elpa: 20210307.735] both on linux and windows, from Melpa without any difficulties. #

[ESS] readline with trailing space

2021-03-05 Thread Jeremie Juste via ESS-help
Hello, I have noticed a behavior that I don't understand. When I call the following function from the prompt. test <- function(){ a <- readline("selection: ") a } > test() > selection: | I can only type one character and the readline function exits before I can press enter. however

Re: [ESS] ESS M-x R failing in a Windows installation

2021-03-05 Thread Jeremie Juste via ESS-help
Hello Steve, Yest this is a known problem on windows. A temporary solution might be to use the command M-x ess-r-newest. For my part I have rebinded the above command to a key C-'. It is not the best solution but it works for me. If I come up with a better fix I'll update. HTH, Jeremie On

Re: [ESS] Error message when starting R

2021-02-04 Thread Jeremie Juste via ESS-help
Hello Jaime, Could you check the mentioned directory to see if anything is there? For my part, if I check the following path where ESS is installed, c:/Users/Jeremie/AppData/Roaming/.emacs.d/elpa/ess-20201122.814/etc/ESSR/R/ I can see the .load.R file. A potential solution would be to delete

[ESS] Removing extra > when evaluating region

2021-11-26 Thread Jeremie Juste via ESS-help
Hello, I would like to remove the extra > and + generated when evaluating a region, with ess-eval-visibly set to nil. I saw issue #576 on github and tried to set inferior-ess-replace-long+ to `strip` but I still get misalignement as shown in the example below. I favour the right alignment when

Re: [ESS] Need help installing ess using M-x package-install-file

2022-12-11 Thread Jeremie Juste via ESS-help
Hello Naresh, On Saturday, 10 Dec 2022 at 08:46, Naresh Gurbuxani via ESS-help wrote: > In my organization, IT security set up disables emacs package > installation from package archives (e.g. MELPA) using M-x > package-install. Therefore, I am downloading package tar files from > package

[ESS] column auto completion for data.frame

2022-11-23 Thread Jeremie Juste via ESS-help
Hello, I found myself always complaining about the lack of auto-completion feature for data.frame columns. I decided try my hand at writing a backend that seems to be working, so I thought of sharing it on the mailing list. It is just a small hack that mainly relies on the