docs.r-wasm.org Open in urlscan Pro
108.158.32.20  Public Scan

URL: https://docs.r-wasm.org/webr/latest/
Submission: On April 13 via manual from US — Scanned from AU

Form analysis 1 forms found in the DOM

<form class="aa-Form d-flex" action="" novalidate="" role="search">
  <div class="aa-InputWrapperPrefix"><label class="aa-Label" for="autocomplete-0-input" id="autocomplete-0-label"><button class="aa-SubmitButton" type="submit" title="Submit"><svg class="aa-SubmitIcon" viewBox="0 0 24 24" width="20" height="20"
          fill="currentColor">
          <path
            d="M16.041 15.856c-0.034 0.026-0.067 0.055-0.099 0.087s-0.060 0.064-0.087 0.099c-1.258 1.213-2.969 1.958-4.855 1.958-1.933 0-3.682-0.782-4.95-2.050s-2.050-3.017-2.050-4.95 0.782-3.682 2.050-4.95 3.017-2.050 4.95-2.050 3.682 0.782 4.95 2.050 2.050 3.017 2.050 4.95c0 1.886-0.745 3.597-1.959 4.856zM21.707 20.293l-3.675-3.675c1.231-1.54 1.968-3.493 1.968-5.618 0-2.485-1.008-4.736-2.636-6.364s-3.879-2.636-6.364-2.636-4.736 1.008-6.364 2.636-2.636 3.879-2.636 6.364 1.008 4.736 2.636 6.364 3.879 2.636 6.364 2.636c2.125 0 4.078-0.737 5.618-1.968l3.675 3.675c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414z">
          </path>
        </svg></button></label>
    <div class="aa-LoadingIndicator" hidden=""><svg class="aa-LoadingIcon" viewBox="0 0 100 100" width="20" height="20">
        <circle cx="50" cy="50" fill="none" r="35" stroke="currentColor" stroke-dasharray="164.93361431346415 56.97787143782138" stroke-width="6">
          <animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;90 50 50;180 50 50;360 50 50" keyTimes="0;0.40;0.65;1"></animateTransform>
        </circle>
      </svg></div>
  </div>
  <div class="aa-InputWrapper"><input class="aa-Input" aria-autocomplete="both" aria-labelledby="autocomplete-0-label" id="autocomplete-0-input" autocomplete="off" autocorrect="off" autocapitalize="off" enterkeyhint="search" spellcheck="false"
      placeholder="" maxlength="512" type="search"></div>
  <div class="aa-InputWrapperSuffix"><button class="aa-ClearButton" type="reset" title="Clear" hidden=""><svg class="aa-ClearIcon" viewBox="0 0 24 24" width="18" height="18" fill="currentColor">
        <path
          d="M5.293 6.707l5.293 5.293-5.293 5.293c-0.391 0.391-0.391 1.024 0 1.414s1.024 0.391 1.414 0l5.293-5.293 5.293 5.293c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414l-5.293-5.293 5.293-5.293c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0l-5.293 5.293-5.293-5.293c-0.391-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414z">
        </path>
      </svg></button></div>
</form>

Text Content

 1. WebR - R in the Browser

WebR 0.3.2 Documentation


 * WebR - R in the Browser
 * Getting Started
   * Downloading WebR
   * Serving Pages with WebR
   * Examples using WebR
 * Worker Communication
 * Evaluating R Code
 * Plotting
 * Working with R Objects
   * Managing R Objects
   * Converting to JavaScript
   * Creating New R Objects
 * R Packages and Data
   * Installing R Packages
   * Building R Packages
   * Mounting Filesystem Data
 * WebR API
   * R API
   * JavaScript API
     * Modules
       * Module: Channel
       * Module: Message
       * Module: Payload
       * Module: Proxy
       * Module: Queue
       * Module: RMain
       * Module: RObject
       * Module: RWorker
       * Module: WebR
       * Module: WebRChan
     * Classes
       * Class: ChannelMain
       * Class: AsyncQueue\
       * Class: RCall
       * Class: RCharacter
       * Class: RComplex
       * Class: RDataFrame
       * Class: RDouble
       * Class: REnvironment
       * Class: RFunction
       * Class: RInteger
       * Class: RList
       * Class: RLogical
       * Class: RNull
       * Class: RObject
       * Class: RObjectBase
       * Class: RPairlist
       * Class: RRaw
       * Class: RString
       * Class: RSymbol
       * Class: Console
       * Class: Shelter
       * Class: WebR
       * Class: WebRChannelError
       * Class: WebRError
       * Class: WebRPayloadError
       * Class: WebRWorkerError
     * Interfaces
       * Interface: ChannelWorker
       * Interface: ServiceWorkerHandlers
       * Interface: Message
       * Interface: Request
       * Interface: Response
       * Interface: ToJsOptions
       * Interface: ConsoleCallbacks
       * Interface: WebRFS
       * Interface: WebROptions
       * Interface: CanvasMessage
       * Interface: EvalROptions
       * Interface: InstallPackagesOptions
       * Interface: PagerMessage




ON THIS PAGE

 * Try it out
   * WebR REPL
   * Interactive R code editor
 * Useful links

 * Edit this page
 * Report an issue


WEBR - R IN THE BROWSER



WebR is a version of the statistical language R compiled for the browser and
Node.js using WebAssembly, via Emscripten.

WebR makes it possible to run R code in the browser without the need for an R
server to execute the code: the R interpreter runs directly on the user’s
machine. Several R packages have also been ported for use with webR, and can be
loaded in the usual way using the library() function.

Warning

The webR project is under active development, and the API is subject to change.
Be aware that if you are using the latest build of webR the contents of this
documentation might be out of date.


TRY IT OUT


WEBR REPL

Try a demo of the webR REPL directly in your web browser, no installation
required!


INTERACTIVE R CODE EDITOR

Run code
1
2
fit <- lm(mpg ~ am, data=mtcars)
summary(fit)


 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX




USEFUL LINKS

 * WebR on GitHub: https://github.com/r-wasm/webr/

Downloading WebR
 * Edit this page
 * Report an issue