search for: initmemory

Displaying 3 results from an estimated 3 matches for "initmemory".

2019 Dec 15
4
source definition for R_NilValue/return from TYPEOF(R_NilValue)
Hello, for reasons I want to know the return value of TYPEOF(R_NilValue), I expect it to be NILSXP, but I can't find this documented anywhere. Ideally, I'd like to see the source definition of R_NilValue, but after fair bit of searching I cannot find an obviously location for this. Would someone please point me in the right direction? thanks -- CRICOS provider code 00123M
2008 Sep 26
1
Bug? in some package installations when a Print is added in memory.c
...ed the redirection of error to null in R-2.7.0/src/library/Recommended/Makefile (remove 2>/dev/null around line number 80 ) and i came to know that it tries to compile packages based on output of some R session which i think is not proper.. Easier Way to reproduce this ====================== in InitMemory routine in memory.c add this piece of code in the starting Rprintf("test print\n");//so that it is printed only once //the same problem comes with printf but not fprintf(stderr ...) That means only STDOUT matters for this Bug and while the package installation starts you can se...
2019 Dec 16
0
source definition for R_NilValue/return from TYPEOF(R_NilValue)
...d, the assignment to R_NilValue happens in src/main/memory.c: https://github.com/wch/r-source/blob/776929704cb4f9398f52805f48f2c93582ec3d38/src/main/memory.c#L2186 (see the definition of GET_FREE_NODE(s) in the same file) Besides declaring R_NulValue as "extern" and assignments in void InitMemory(), there doesn't seem to be anything else. -- Best regards, Ivan