[ESS] How to get working Rnw file name inside script

2024-04-27 Thread Susumu Tanimura via ESS-help
Dear all,

When using the Stangle() function within an Rnw file to insert an
entire R code into an appendix of a document, it is necessary to
provide the working Rnw file name. While manually entering the name is
a viable option, it would be beneficial for me to implement it within a
template for Rnw files. 

My question is how to get working Rnw file name inside script.

This issue is not directly related to ESS, but the solution must be
compatible with ESS and Emacs.

Thank you

-- 
Susumu Tanimura

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


Re: [ESS] Error installing on ubuntu

2024-04-27 Thread Dirk Eddelbuettel via ESS-help


On 27 April 2024 at 10:53, 신선영(수학과) via ESS-help wrote:
| Dear all,
| 
| I get the following error message:
| 
| make -C lisp all
| make[1]: Entering directory '/home/mathi/ess-24.01.1/lisp'
| test -f ../etc/.IS.RELEASE || wget -qO - 
https://raw.githubusercontent.com/JuliaEditorSupport/julia-emacs/master/julia-mode.el
 > julia-mode.el
| test -f ../etc/.IS.RELEASE || wget -qO - 
https://raw.githubusercontent.com/JuliaEditorSupport/julia-emacs/master/julia-mode-latexsubs.el
 > julia-mode-latexsubs.el
| Computing dependencies
| sed: can't read julia-mode-latexsubs.el: No such file or directory
| 
| …
| …
| 
| In toplevel form:
| julia-mode.el:40:2: Error: Cannot open load file: No such file or directory, 
julia-mode-latexsubs
| make[1]: *** [Makefile:58: julia-mode.elc] Error 1
| make[1]: Leaving directory '/home/mathi/ess-24.01.1/lisp'
| make: *** [Makefile:30: lisp] Error 2
| 
| I uncommented some lines related with Julia in Makefile, but that did fix the 
issue.
| 
| Any advice is appreciated. Thanks.

Where did you start from?  I sometimes use the Debian/Ubuntu (that I used to
look after, now it is done by Seb, see https://tracker.debian.org/pkg/ess and
https://packages.ubuntu.com/search?suite=all=all=any=ess=sourcenames)
and sometimes I use melpa. It generally 'just works'.

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

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


[ESS] Error installing on ubuntu

2024-04-27 Thread 수학과
Dear all,

I get the following error message:

make -C lisp all
make[1]: Entering directory '/home/mathi/ess-24.01.1/lisp'
test -f ../etc/.IS.RELEASE || wget -qO - 
https://raw.githubusercontent.com/JuliaEditorSupport/julia-emacs/master/julia-mode.el
 > julia-mode.el
test -f ../etc/.IS.RELEASE || wget -qO - 
https://raw.githubusercontent.com/JuliaEditorSupport/julia-emacs/master/julia-mode-latexsubs.el
 > julia-mode-latexsubs.el
Computing dependencies
sed: can't read julia-mode-latexsubs.el: No such file or directory

…
…

In toplevel form:
julia-mode.el:40:2: Error: Cannot open load file: No such file or directory, 
julia-mode-latexsubs
make[1]: *** [Makefile:58: julia-mode.elc] Error 1
make[1]: Leaving directory '/home/mathi/ess-24.01.1/lisp'
make: *** [Makefile:30: lisp] Error 2

I uncommented some lines related with Julia in Makefile, but that did fix the 
issue.

Any advice is appreciated. Thanks.


Sunyoung Shin

[[alternative HTML version deleted]]

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