[ESS] Read R manuals inside emacs
Naresh Gurbuxani
n@re@h_gurbux@n| @end|ng |rom hotm@||@com
Sun Mar 6 16:19:30 CET 2022
I am looking for help on creating info files from the available html files.
Hit Send button too fast.
________________________________________
From: Naresh Gurbuxani <naresh_gurbuxani using hotmail.com>
Sent: Sunday, March 6, 2022 10:17 AM
To: Dirk Eddelbuettel
Cc: Emacs ESS
Subject: Re: [ESS] Read R manuals inside emacs
Thanks everyone for your prompt response.
My R installation does not have info files for R manuals (R-intro) etc.
In the main directory after typing
C-h i
None of the manuals are displayed.
I need to be create the info files. After that I am good to go.
Naresh
________________________________
From: Dirk Eddelbuettel <dirk.eddelbuettel using gmail.com> on behalf of Dirk Eddelbuettel <edd using debian.org>
Sent: Sunday, March 6, 2022 9:42 AM
To: Naresh Gurbuxani <naresh_gurbuxani using hotmail.com>
Cc: Emacs ESS <ess-help using r-project.org>
Subject: Re: [ESS] Read R manuals inside emacs
On 6 March 2022 at 14:22, Naresh Gurbuxani via ESS-help wrote:
| On my Mac installation of R, below documents are included in RHOME/doc/manual:
| R-intro.html
| R-data.html
| [others]
|
| Is it possible to read them from inside emacs (for example in info)?
Yes, if you have the info files installed. Which I presume is the default; I
am on Linux where the distribution packages tend to have them. (I look after
the ess package for Debian/Ubuntu [but that is irrelevant as there are no
more ess releases, hint, hint, ...]).
I have quite a few:
edd using rob:~$ ls -1 /usr/share/info/*info*gz | wc -l
120
edd using rob:~$
| One of the files (RHOME/share/man/man1/R.1) says, to access R manuals, type
| info -f R-intro
|
| Where should this command be typed?
C-h i gets you the list of all manuals the within-emacs info reader
knows / are in the standard info location (iirc you can override
with env vars, on Linux you generally do no need to)
m R Ex<TAB> then tab-completes to 'R Extensions' and
m R Intro<TAB> tab-completes to the 'R Introduction'
and so on. There are info-reading keyboard command shortcuts to browse. It is
actually the main way in which I read / have read / am reading these
files. (Though the quarto-built ones at https://rstudio.github.io/r-manuals/
are very nice to link to.)
| Finally, is this the right mailing group for this question?
Sure, why not?
Dirk
--
https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the ESS-help
mailing list