1
0
-1

Hello Uniface World

How could it be possible to exchange Datas retrieved from Uniface to an R application. 

(To create Graphics or Stat analysis for example)

of course, without having to save datas on files or database)

I thought about COM or REST techno but I am not sure it could be really adapted and powerfull, and, I don't find examples on this neither a lot of documentations ...

Thanks for any help

    CommentAdd your comment...

    5 answers

    1.  
      1
      0
      -1

      Hi Daniel,

      IMHO, it's not too difficult to connect a uniface application to another one via DDE execute

      I just prepared a little demo with U10.3


      If you are interested, send me a mail,

      Uli

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Merci to Uli, Gianni and Roger .

        It seems, with your responses, thats it is no so easy to interface Uniface and R language.

        it's really a pity because R is very powerfull for Statistics and Graphs and so many things !

        it could be a possibility to create graphical interfaces mixing the power of Uniface for management of datas and the power or R for rich graphs.

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Hello,

          If you use R.Net, you can integrate it as you normally integrate Uniface and .Net.
          It's usually hard to decide how to integrate Uniface and  .Net, but we have tested "Unmanaged Exports" sucessfully.

          That said, I havent integrated Uniface and R.

          Regards RogerW.

            CommentAdd your comment...
          1.  
            1
            0
            -1

            Hi Daniel,

            before answer your question I should ask you: which perimeter would you have for your R integration?
            - which platform would you like to support? Only Windows, Windows+*nix, [All]
            - would you like to integrate only with forms or also with reports?
            IMHO an application service to integrate should be the best choice:
            I give to service my request, the service give me back the R object, probably an image...

            I've asked myself the same questions before developing the integration with GNUplot; you can find it HERE.
            In that case I've chosen to:
            - build the Gnuplot script in my Uniface code
            - run GNUplot saving its result to a temp image file
            - fileload the image where I need to present it and delete temp image file
            It is a solution fully compatible with ALL possible Uniface configuration I can think of...

            About your "without having to save datas on files or database":
            at that time I thinked to implement it completely "in memory" but I did NOT choose this option simply because development efforts were GREATER (probably because my knowledge on the subject was NOT enough strong!).

            Hope it helps.

            Regards,
            Gianni

              CommentAdd your comment...
            1.  
              1
              0
              -1

              perhaps this helps as uniface supports DDE (after you have set DDE on):

              http://lojze.lugos.si/~darja/software/r/library/tcltk2/html/tk2dde.html


              Uli

                CommentAdd your comment...