Hi,

So, rpy2's interface/object do not support conversion of '_' into '.'
and I see the reason -- indeed underscores could be used by r code as
well... but now to overcome this issue I need a cumbersome workaround
whenever I need to call R's function with smth like 'use.blah' as
argument... e.g. for calling stars:

rstars_segmented = robjects.r(
    'function(x,y,z) '
    'stars(x, labels=y, key.labels=z, scale=TRUE,'
    'axes=FALSE, len=0.8, key.loc = c(7, 2.3), draw.segments = TRUE)')
and then calling rstars_segmented ...  
I see few possible workarounds with a simple one:

to make a conversion of not '_' which might be conflicting,
but something REALLY unlikely to get conflicts... smth like

'_Rdot_' ?

so I could use "key_Rdot_loc" as argument name?
-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to