[R] Restoration of "rite" package of R as R-script editor or the like

Rasmus Liland jr@| @end|ng |rom po@teo@no
Mon May 23 21:04:41 CEST 2022

On 2022-05-23 17:37 +0100, Rui Barradas wrote:
| And about an editor no one mentinoed, 
| vim. 

Hear, hear, +1 for vim 👍🏻  I use vim 
in st[1], and run Rscript everytime my 
long script changes using entr[2]

Also, ess I think might be good.[3]

I was able to install rite locally from 
github this way:

	rasmus using twosixty ~ % cd ~/src
	rasmus using twosixty ~/src % git clone https://github.com/leeper/rite
	Cloning into 'rite'...
	remote: Enumerating objects: 1392, done.
	remote: Total 1392 (delta 0), reused 0 (delta 0), pack-reused 1392
	Receiving objects: 100% (1392/1392), 295.63 KiB | 284.00 KiB/s, done.
	Resolving deltas: 100% (720/720), done.
	rasmus using twosixty ~/src % cd rite
	rasmus using twosixty ~/src/rite (git)-[master] % R CMD INSTALL
	Error: ERROR: no packages specified
	1 rasmus using twosixty ~/src/rite (git)-[master] % R CMD INSTALL .
	* installing to library ‘/home/rasmus/R/x86_64-pc-linux-gnu-library/4.2’
	* installing *source* package ‘rite’ ...
	** using staged installation
	** R
	** inst
	** byte-compile and prepare package for lazy loading
	** help
	*** installing help indices
	** building package indices
	** testing if installed package can be loaded from temporary location
	** testing if installed package can be loaded from final location
	** testing if installed package keeps a record of temporary installation path
	* DONE (rite)
	rasmus using twosixty ~ % R
	R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"
	Copyright (C) 2022 The R Foundation for Statistical Computing
	Platform: x86_64-pc-linux-gnu (64-bit)
	R is free software and comes with ABSOLUTELY NO WARRANTY.
	You are welcome to redistribute it under certain conditions.
	Type 'license()' or 'licence()' for distribution details.
	  Natural language support but running in an English locale
	R is a collaborative project with many contributors.
	Type 'contributors()' for more information and
	'citation()' on how to cite R or R packages in publications.
	Type 'demo()' for some demos, 'help()' for on-line help, or
	'help.start()' for an HTML browser interface to help.
	Type 'q()' to quit R.
	> rite::rite()
	Error in retrun() : could not find function "retrun"
	Save workspace image? [y/n/c]: n
	rasmus using twosixty ~ %

[1] https://st.suckless.org/
[2] http://eradman.com/entrproject
[3] https://ess.r-project.org/

More information about the R-help mailing list