Re: [ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-26 Thread Tyler Smith via ESS-help

Hi Colin,

My apologies, I mis-remembered this. I had the same problem, and 
there was some discussion on the list and a new fix was proposed. 
This is documented on the '(ess) New features' page of the info 
manual, which notes the fix will appear in 19.04. In the interim I 
solved it locally by customizing `ess-r-runner-prefixes`, and in 
my old age I muddled all this together to give you bad advice.


Best,

Tyler

Colin Baxter via ESS-help writes:


Tyler Smith via ESS-help  writes:


> This was fixed in ESS 19.04. If you install/update ESS 
> from Melpa,

> you should get a recent version that includes this fix.

??? I have pulled ESS from git and M-x ESS-version  gives
18.10.3snapshot. Does this mean ESS from git lags behind Melpa?

Best wishes,

Colin Baxter.


URL: http://www.Colin-Baxter.com
-
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 
41C8


__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help



--
Tyler Smith
plantarum.ca

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-26 Thread Martin Maechler via ESS-help
> Colin Baxter via ESS-help 
> on Thu, 26 Nov 2020 06:14:45 + writes:

> Tyler Smith via ESS-help  writes:
>> This was fixed in ESS 19.04. If you install/update ESS
>> from Melpa, you should get a recent version that includes
>> this fix.

> ??? I have pulled ESS from git and M-x ESS-version 
> gives 18.10.3snapshot. Does this mean ESS from git lags
> behind Melpa?

No.  Marius was using the last released version of ESS  which
indeed we forgot to equip with searching for R-4

Marius:  The fastest may be to just replace this in the ESS 18.10 sources :

In file  lisp/ess-r-mode.el,  find

(defvar ess-r-versions
  (let ((r-ver '("R-1" "R-2" "R-3" "R-devel" "R-patched")))

and replace the 2nd line by

  (let ((r-ver '("R-1" "R-2" "R-3" "R-4" "R-5" "R-6" "R-7" "R-devel" 
"R-patched")))

NB:  In newer  (all development) versions of ESS  ess-r-versions
still exists but is deprecated in favor of

   ess-r-runner-prefixes

which is also *customizable*.



"Yes", the non-released development versions of ESS have nice new
features but also some new bugs which I've hoped for a long time
would be gone before a  new official release... (and partly
*have* been removed).

Another reason preventing a new release has been that the
*.Rnw *.Rmd  (Sweave, knitr, Rmarkdown, ..)  support ("*noweb") in ESS
has been deprecated in favor of the new poly-mode based emacs
lisp packages.  ... and the plan has been that  an   "ESS+" bundle
should be have been ready when ESS is released, where the ESS+
"bundle" / 'meta-package' should contain  ESS + polymode + ...
so that people and upstream "package" maintainers (for Debian
Linux, SuSE, Redhat; or Vincent Goulet's "Emacs+ESS+.." bundle)
could use ESS+ too.

Martin Maechler
ETH Zurich   and  ESS core team

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-25 Thread Colin Baxter via ESS-help
> Tyler Smith via ESS-help  writes:

> This was fixed in ESS 19.04. If you install/update ESS from Melpa,
> you should get a recent version that includes this fix.

??? I have pulled ESS from git and M-x ESS-version  gives
18.10.3snapshot. Does this mean ESS from git lags behind Melpa?

Best wishes,

Colin Baxter.


URL: http://www.Colin-Baxter.com
-
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-25 Thread Tyler Smith via ESS-help
This was fixed in ESS 19.04. If you install/update ESS from Melpa, you should 
get a recent version that includes this fix.

Best,

Tyler

-- 
plantarum.ca

On Wed, Nov 25, 2020, at 11:53 AM, Marius Hofert via ESS-help wrote:
> Hi,
> 
> I used to be able to start a specific R version with M-x R-... but it
> doesn't work anymore. On M-x R- I see:
> R-devel
> R-initialize-on-start
> R-mode
> R-newest
> R-transcript-mode
> ... but no R-4.0.x. I have R-4.0.0, R-4.0.2, R-4.0.3 and R-devel
> installed and M-x R-devel and M-x R-newest correctly find and start
> R-devel and R-4.0.3, respectively. The other two R versions are set up
> exactly in the same way, which is why it's so confusing that they are
> not found. Also, in an Emacs shell (M-x shell), R-4.0. completes
> to all R versions and I can also start every single one of them.
> 
> Any ideas what to try?
> 
> This is on macOS 10.15.7 with GNU Emacs 26.3 and ESS version 18.10.2
> [Released git: d4cd65da6dbf].
> 
> Thanks & cheers,
> Marius
> 
> __
> ESS-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


[ESS] Emacs can find R-devel and R-newest, but not R-4.0.x

2020-11-25 Thread Marius Hofert via ESS-help
Hi,

I used to be able to start a specific R version with M-x R-... but it
doesn't work anymore. On M-x R- I see:
R-devel
R-initialize-on-start
R-mode
R-newest
R-transcript-mode
... but no R-4.0.x. I have R-4.0.0, R-4.0.2, R-4.0.3 and R-devel
installed and M-x R-devel and M-x R-newest correctly find and start
R-devel and R-4.0.3, respectively. The other two R versions are set up
exactly in the same way, which is why it's so confusing that they are
not found. Also, in an Emacs shell (M-x shell), R-4.0. completes
to all R versions and I can also start every single one of them.

Any ideas what to try?

This is on macOS 10.15.7 with GNU Emacs 26.3 and ESS version 18.10.2
[Released git: d4cd65da6dbf].

Thanks & cheers,
Marius

__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help