Hi Thorsten, > Question on topic 2: > given the C data type described below for an R "node", would it be somehow > possible to extract just the SEXPTYPE from a SEXP return value, i.e. > the first field of the sexpinfo_struct, that is the first struct in the > SEXPREC_HEADER, that is the first field in the SEXPREC struct to which the > SEXP return value points?
Given a pointer to the struct in 'P' (and if that integer is the first field in the struct), you can get it with: (struct P 'I) ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe