Re: [Rd] [R] [BioC] RCurl loading problem with 64 bit linux distribution

2008-05-06 Thread Duncan Temple Lang
-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

Re: [Rd] [R] [BioC] RCurl loading problem with 64 bit linux distribution

2008-05-06 Thread Prof Brian Ripley
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

Re: [Rd] a R_PV problem

2008-05-06 Thread pseudo
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

Re: [Rd] a R_PV problem

2008-05-06 Thread pseudo
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

Re: [Rd] a R_PV problem

2008-05-06 Thread Bill Dunlap
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

Re: [Rd] [R-SIG-Mac] Starting tcltk without Tk

2008-05-06 Thread Simon Urbanek
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

Re: [Rd] a R_PV problem

2008-05-06 Thread Prof Brian Ripley
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

Re: [Rd] a R_PV problem

2008-05-06 Thread Antonio, Fabio Di Narzo
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

Re: [Rd] a R_PV problem

2008-05-06 Thread Duncan Murdoch
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)

Re: [Rd] [R-SIG-Mac] Starting tcltk without Tk

2008-05-06 Thread Philippe Grosjean
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

[Rd] a R_PV problem

2008-05-06 Thread pseudo
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.