Re: Read R manuals inside emacs
Naresh Gurbuxani via ESS-help <[email protected]>
| Newsgroups | gmane.emacs.ess.general |
|---|---|
| Message-ID | <BL0PR01MB4036E956EA2A57E2111DB09FFA079@BL0PR01MB4036.prod.exchangelabs.com> |
I am looking for help on creating info files from the available html files. Hit Send button too fast. ________________________________________ From: Naresh Gurbuxani <[email protected]> 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 <[email protected]> on behalf of Dirk Eddelbuettel <[email protected]> Sent: Sunday, March 6, 2022 9:42 AM To: Naresh Gurbuxani <[email protected]> Cc: Emacs ESS <[email protected]> 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@rob:~$ ls -1 /usr/share/info/*info*gz | wc -l 120 edd@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 | [email protected] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/ess-help