Displaying 7 results from an estimated 7 matches for "r_do_slot_assign".
2005 Mar 22
2
can R_do_slot_assign change slot type
Hi,
It seems that R_do_slot_assign can change the type of an S4 class slot.
For example I have a class
setClass("ostream", representation(id = "integer", keepOpen =
"logical"))
and inside a C-function I was able to assign a RAW vector to the id
slot. Is this intentional? I remember reading somewhere...
2008 Mar 15
1
Experimental R_has_slot() utility
...a fresh checkout of the development branch.
$ svn up
At revision 44759.
$ grep -i has_slot `find include -name '*.h'`
$ grep -i _slot `find include -name '*.h'`
include/Rdefines.h:#define GET_SLOT(x, what) R_do_slot(x, what)
include/Rdefines.h:#define SET_SLOT(x, what, value)
R_do_slot_assign(x, what, value)
include/Rinternals.h:SEXP R_do_slot(SEXP obj, SEXP name);
include/Rinternals.h:SEXP R_do_slot_assign(SEXP obj, SEXP name, SEXP value);
..or did I miss it ?
Thanks,
L.
2002 Jan 02
1
Building R-1.4 on Tru64
...har
PRINTNAME
Rf_isNull
CAR
CDR
R_data_class
Rf_isFunction
Rf_findFun
SETCAR
Rf_eval
INTEGER
CLOENV
Rf_findVarInFrame
Rf_isSymbol
ENCLOS
SYMVALUE
Rf_asLogical
R_MissingArg
Rf_isPrimitive
do_set_prim_method
BODY
R_deferred_default_method
PREXPR
PRENV
R_DotsSymbol
DDVAL
R_set_prim_method
Rf_defineVar
R_do_slot_assign
mkdir ../../../../library/methods/libs
make[5]: Leaving directory
`/tmp_mnt/net/fire/s/fire/1/richardb/Tru64/src/library/methods/src'
make[4]: Leaving directory
`/tmp_mnt/net/fire/s/fire/1/richardb/Tru64/src/library/methods/src'
make[4]: Entering directory
`/tmp_mnt/net/fire/s/fire/1/richar...
2003 Sep 05
1
Problem with S4 slots in C code (PR#4073)
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C3738F.63DE3390
Content-Type: text/plain;
charset="iso-8859-1"
#I want to be able to create a new S4 class and read data into it using C
code
# Here is a very simple S4 object inheriting from "array", but with 5
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...T R_curl_version
0000000000005bf0 T R_curl_version_info
0000000000005270 T R_curl_write_binary_data
00000000000051b0 T R_curl_write_data
00000000000051d0 T R_curl_write_header_data
U R_do_MAKE_CLASS
U R_do_new_object
U R_do_slot
U R_do_slot_assign
0000000000004530 t R_finalizeCurlHandle
0000000000006af0 T R_getCURLErrorEnum
0000000000006b10 T R_getCURLInfoEnum
0000000000006b30 T R_getCURLOptionEnum
0000000000003ea0 T R_getCurlMultiHandle
0000000000006a00 T R_init_RCurl
0000000000003bf0 T R_internalWriteTest
0000000000004a50 T R_popCurlMultiH...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...T R_curl_version
0000000000005bf0 T R_curl_version_info
0000000000005270 T R_curl_write_binary_data
00000000000051b0 T R_curl_write_data
00000000000051d0 T R_curl_write_header_data
U R_do_MAKE_CLASS
U R_do_new_object
U R_do_slot
U R_do_slot_assign
0000000000004530 t R_finalizeCurlHandle
0000000000006af0 T R_getCURLErrorEnum
0000000000006b10 T R_getCURLInfoEnum
0000000000006b30 T R_getCURLOptionEnum
0000000000003ea0 T R_getCurlMultiHandle
0000000000006a00 T R_init_RCurl
0000000000003bf0 T R_internalWriteTest
0000000000004a50 T R_popCurlMultiH...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...HAR
STRING_ELT
SET_STRING_ELT
VECTOR_ELT
LOGICAL
INTEGER
TAG
CAR
CDR
MISSING
SETCAR
BODY
CLOENV
PRINTNAME
SYMVALUE
DDVAL
FRAME
ENCLOS
Rf_type2str
R_PreserveObject
R_set_standardGeneric_ptr
R_data_class
R_deferred_default_method
R_set_prim_method
do_set_prim_method
R_set_quick_method_check
R_do_slot
R_do_slot_assign
mkdir -p -- ../../../../library/methods/libs
gmake[5]: Leaving directory `/soft/R/R-1.5.1/src/library/methods/src'
gmake[4]: Leaving directory `/soft/R/R-1.5.1/src/library/methods/src'
gmake[4]: Entering directory `/soft/R/R-1.5.1/src/library/methods'
dumping R code in package 'meth...