RTFBS can store MS objects in R's memory, or C's memory for efficency reasons. This function transforms an MS object whose data is stored in memory within R into an MS object whose data is stored in C's memory. The result is a new MS object in R whose data is stored in C memory. Copying an MS object from R into C is performed automatically by RTFBS when it needs to run C code. The user will probably not need to call this function.
RTFBS R的内存可以存储MS的对象,或C的内存效率的置疑原因。此函数变换的MS的对象,该对象的数据存储在内存中,在R到一个MS对象,其数据被存储在C的内存。其结果是一个新的MS,其数据被存储在C内存在R中的对象。复制MS对象从R到C自动执行RTFBS的,当它需要运行的C代码。用户可能不需要调用此函数。
用法----------Usage----------
as.pointer.ms(src)
参数----------Arguments----------
参数:src
An MS object stored by value in R
MS对象存储在R的值,
值----------Value----------
an MS object containing only a pointer to an object created in C which contains the data.
MS对象只包含一个指针,在C中创建的对象,它包含了数据。
(作者)----------Author(s)----------
Nick Peterson
参见----------See Also----------
ms for details on MS storage options.
msMS存储选项的详细信息。