Berfungsi untuk meneruskan objek R ke kode C/C++ terkompilasi yang telah dimuat ke dalam R.
.Call(.NAME, …, PACKAGE)
.External(.NAME, …, PACKAGE)
| Parameter | Deskripsi |
|---|---|
.NAME |
a character string giving the name of a C function, or an object of class "NativeSymbolInfo", "RegisteredNativeSymbol" or "NativeSymbol" referring to such a name. |
… |
arguments to be passed to the compiled code. Up to 65 for .Call. |
PACKAGE |
if supplied, confine the search for a character string .NAME to the DLL given by this argument (plus the conventional extension, .so, .dll, …). This argument follows ... and so its name cannot be abbreviated. This is intended to add safety for packages, which can ensure by using this argument that no other package can override their external symbols, and also speeds up the search (see ‘Note’). |