[R-gui] R-wxPython Linux progress!

Vaidotas Zemlys mpiktas at delfi.lt
Tue Jun 22 20:56:31 CEST 2004


Hi,
> 
>> Yes and no.
>> It is happening in the interface between Python and R
>> and it means that it is dealing with transferring
>> a Python object back to R.  In this particular case,
>> it is one of the "less usual" but basic types
>> and the current  RSPython code says
>> that it is not prepared to deal with that.
>> 
>> Can either of you tell me the Python type of
>> the object being converted?
>> (You can put  a break point in fromPython() in RPythonConverters.c
>> at the appropriate line (116 in my version).)
>> That would help me a great deal as a I can probably easily add
>> code for that case but want to know what it is and
>> I am in the middle of some other work right now so don't
>> have the time to set this up to debug it.
>> 
>>
> 
> I set up the breakpoint and got to it. How do I check the Python type of the  
> object? I know nothing about Python.
>

For the poor souls googling out there, the answer is

(gdb) print *(pyobj->ob_type)

Vaidotas



More information about the R-SIG-GUI mailing list