demo

command
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 3 Imported by: 0

README

Rgo/demo

This folder contains a shiny app which serves to demonstrate how to use the Rgo/rsexp package. It contains:

  • app.r : the shiny app
  • demo.go : the Go file with simple functions to be called by R

The demo.go file can be built by compiling a C shared library:

go build -o demo.so -buildmode=c-shared demo.go

Note that it is important that cgo can find the R header files. While demo.go will automatically link the most common locations, it may require some editing to compile. For more information, see the Rgo/rsexp documentation.

You can see this shiny app in action at my website.

Documentation

Overview

This tests the rgo package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL