[rkward-devel] Quering R from dialogs

SANCHEZ ALBERCA, ALFREDO asalber at ceu.es
Wed Jan 7 00:26:47 UTC 2015


Hi and Happy New Year for everybody!
I've been trying to use the new property for querying R from dialogs (http://api.kde.org/doc/rkwardplugins/querying_r_for_info.html). As my requirements (for the moment) are only to list the levels of a factor, I've tried to embed the rkward::level_select plugin, but it doesn't work, exept if you embed it inside a optionset.
For example, the following dialog works perfectly

<!DOCTYPE rkplugin>
<document>
        <code file="example.js" />
        <logic>
                <connect governor="x.available" client="set.contents.levels.variable" />
        </logic>
        <dialog label="Example">
                <varselector id="vars" />
                <varslot id="x" source="vars" label="Select variable" num_dimensions="1" required="true" />
                <optionset id="set" min_rows="1" >
                        <content>
                                <row>
                                        <embed id="levels" component="rkward::level_select" />
                                        <valueslot required="true" id="values" label="" source="levels.selector" />
                                </row>
                        </content>
                </optionset>
        </dialog>
</document>

But if you put the embed outside the optionset, it fails.

Probably I don't have a full understanding of the mechanism to query R. ¿What I'm doing wrong?
Thanks!


Este mensaje y sus archivos adjuntos, enviados desde FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU, pueden contener información confidencial y está destinado a ser leído sólo por la persona a la que va dirigido por lo que queda prohibida la difusión, copia o utilización de dicha información por terceros. Si usted lo recibiera por error, por favor, notifíquelo al remitente y destruya el mensaje y cualquier documento adjunto que pudiera contener.

En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal, le recordamos que podrá en todo momento ejercitar los derechos de acceso, rectificación, cancelación y oposición sobre sus datos personales que hayan podido ser incorporados en nuestros ficheros a través del envío de un correo electrónico al remitente, especificando en el cuerpo del mensaje la dirección de e-mail sobre la que desea ejercitar su derecho.

Cualquier información, opinión, conclusión, recomendación, etc. contenida en el presente mensaje no relacionada con la actividad de FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU y/o emitida por persona sin capacidad para ello, deberá considerarse como no proporcionada ni aprobada por FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU, que pone los medios a su alcance para garantizar la seguridad y ausencia de errores en la correspondencia electrónica, pero no puede asegurar la inexistencia de virus o la no alteración de los documentos transmitidos electrónicamente, por lo que declina cualquier responsabilidad a este respecto.

This message and its attachments, sent from FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU, may contain confidential information and is intended to be read only by the person to which it is directed. Therefore any disclosure, copying or use by third parties of this information is prohibited. If you receive this in error, please notify the sender and destroy the message and any attachments that it may contain.

In compliance with Law 15/1999, December 13, of Personal Data Protection, we remind you that you may at any time exercise your rights of access, rectification, cancellation and opposition of your personal data that may have been stored in our files by sending an e- mail to the sender, specifying the message body of the e-mail address on which you wish to exercise your right.

Any information, opinion, conclusion, recommendation,... contained in this message and which is unrelated to the business activity of FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU and/or issued by unauthorized personnel, shall be considered unapproved by FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU. FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU implements control measures to ensure, as far as possible, the security and reliability of all its electronic correspondence. However, FUNDACIÓN UNIVERSITARIA SAN PABLO-CEU does not guarantee that emails are virus-free or that documents have not be altered, and does not take responsibility in this respect.




More information about the Rkward-devel mailing list