compile.NativeCode         package:R.native         R Documentation

Compiles native code

Description:

     Compiles native code into a shared library.

Usage:

     NativeCode$compile(name, path=NULL, ..., load=TRUE)

Arguments:

    name: The name of the library to check.

    path: A 'character' string specifying the path to the library.

     ...: Additional arguments passed to 'system'() when calling 'R CMD
          SHLIB'.

    load: If 'TRUE', the code is (re-)loaded after being compiled,
          otherwise not.

Value:

     Returns (invisibly) what 'system'() returns.

Author(s):

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

See Also:

     For more information see 'NativeCode'.

