relax: relax -- R Editor for Literate Analysis and lateX
Version 1.3.15

package relax contains some functions for report writing, presentation, and programming: relax(), tangleR(), weaveR(), (g)slider(). "relax" is written in R and Tcl/Tk. relax creates a new window (top level Tcl/Tk widget) that consists of two text fields and some buttons and menus. Text (chunks) and code (chunks) are inserted in the upper text field (report field). Code chunks are evaluated by clicking on EvalRCode. Results are shown in the lower text field (output field) and will be transferred to the report field by pressing on Insert. In this way you get correct reports. These reports can be loaded again in cause of presentation, modification and result checking. tangleR() and weaveR() implement a plain kind of tangling and weaving. gslider() and slider() are designed to define sliders for interactive experiments in a simple way. The syntax rules of code chunks and text chunks are defined by the noweb system proposed by Norman Ramsey (

Getting started

Package details

AuthorHans Peter Wolf <[email protected]>
Date of publication2014-03-10 17:23:35
MaintainerHans Peter Wolf <[email protected]>
LicenseGPL (>= 2)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the relax package in your browser

Any scripts or data that you put into this service are public.

relax documentation built on May 30, 2017, 6:30 a.m.