Skip to content
Prev 40498 / 63424 Next

"warning: assignment discards qualifiers from pointer target type"

On Jun 9, 2011, at 11:15 AM, oliver wrote:

            
So far you were creating the confusion, the facts are fairly simple if you have some clue about C and R. I would like to ask you to, please, read and understand C standard and R-exts *before* posting further questions since it's pointless if we provide answers that you don't understand. The fact that you are impatient (as you said yourself) doesn't entitle you to waste other people's time to explain things to you while you are unwilling to take the time yourself. If you have serious question beyond what is documented, feel free to ask, but make sure you have spent the time to think about it before you do so.
It's not - you're confusing NULL in R with NULL in C.
Both NILSXP and STRSXP are SEXP types - and obviously distinct ones. R will never return a null pointer for a SEXP.

Cheers,
Simon