-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Prof Brian Ripley wrote:
| Let's move this to R-devel. It's programming (not even R programming),
| and getting complex.
|
Indeed!
| One crucial issue issue is how you installed R -- from sources or as a
| binary. Also, I am assuming that this i
Let's move this to R-devel. It's programming (not even R programming),
and getting complex.
One crucial issue issue is how you installed R -- from sources or as a
binary. Also, I am assuming that this is x86_64 (there are other '64-bit'
Linuxen).
Library paths are determined by LD_LIBRARY_P
On Tue, May 6, 2008 at 1:46 AM, Duncan Murdoch <[EMAIL PROTECTED]> wrote:
>
> On 06/05/2008 3:02 AM, pseudo wrote:
>
> > Dear all,
> >
> > When using gdb to debug my C code, I use R_PV to show the content of
> > SEXP variables:
> >
> > SEXP sexp; // it is a data.frame
> > SEXP colNames = getAttri
On Tue, May 6, 2008 at 5:23 AM, Antonio, Fabio Di Narzo
<[EMAIL PROTECTED]> wrote:
> 2008/5/6 pseudo <[EMAIL PROTECTED]>:
> [...]
>
> > A strange thing is that after halting the program:
> >
> > (gdb) p R_PV(colNames)
> >
> > does not show the content of colNames. I am positive my code is rig
On Tue, 6 May 2008, Duncan Murdoch wrote:
> On 06/05/2008 3:02 AM, pseudo wrote:
> > Dear all,
> >
> > When using gdb to debug my C code, I use R_PV to show the content of
> > SEXP variables:
> >
> > SEXP sexp; // it is a data.frame
> > SEXP colNames = getAttrib(sexp, R_NameSymbol);
> >
> > A
On May 6, 2008, at 3:06 AM, Philippe Grosjean wrote:
Simon Urbanek wrote:
It turns out that the behavior of starting just Tcl was actually a
bug.
Not completely. At least, loading of tcltk was correct when the
"bug" was there, but I totally agree that the mechanism used
(according to th
From the C code:
/* Ditto, but only for objects, for use in debugging */
so R_PV only prints for 'objects' (that is those with an S3 class, and if
properly formed, those with an S4 class). I doubt a set of names has a
class: to print those, use Rf_PrintValue.
I am not sure why one would wa
2008/5/6 pseudo <[EMAIL PROTECTED]>:
[...]
> A strange thing is that after halting the program:
>
> (gdb) p R_PV(colNames)
>
> does not show the content of colNames. I am positive my code is right
> because if I insert "PrintValue(colNames);" in the c code, it will
> print the right value.
Have yo
On 06/05/2008 3:02 AM, pseudo wrote:
Dear all,
When using gdb to debug my C code, I use R_PV to show the content of
SEXP variables:
SEXP sexp; // it is a data.frame
SEXP colNames = getAttrib(sexp, R_NameSymbol);
A strange thing is that after halting the program:
(gdb) p R_PV(colNames)
Simon Urbanek wrote:
It turns out that the behavior of starting just Tcl was actually a bug.
Not completely. At least, loading of tcltk was correct when the "bug"
was there, but I totally agree that the mechanism used (according to the
presence or not of the DISPLAY variable is not the best o
Dear all,
When using gdb to debug my C code, I use R_PV to show the content of
SEXP variables:
SEXP sexp; // it is a data.frame
SEXP colNames = getAttrib(sexp, R_NameSymbol);
A strange thing is that after halting the program:
(gdb) p R_PV(colNames)
does not show the content of colNames.
11 matches
Mail list logo