home Forums Feature Requests R programming platform

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #2097

    Hi Juan,
    Thanks for your assistance so far.
    Please can i export my designed FIS from fuzzylite to the R-studio the same way as to matlab?



    thank you for your post and question.

    It would be helpful if you are more specific into what you are trying to achieve. Currently, there is no implementation in R R, but perhaps other users could provide additional ideas to your problem.

    First, if you want to have in R a data frame with the inputs and outputs, it should be straightforward to convert from the FLD to a data frame. For example, from C++, new FldExporter().to[String|File](engine), and then import in R using something like read.csv().

    Second, if you want something more controlled in R, you could use the fuzzylite command line, where you specify the engine and then write input values to obtain output values.

    Third, you could write an interface using RCPP package to precisely do what you want to achieve, which is still not clear to me.

    Let me know if this helps you.


    Nuno Melo

    Thank you, Juan,

    @Juan, I am struggling to use RCPP with fuzzlite libraries. Can you provide a full and simple engine example, e.g the restaurant tip, being used within R code?

    @All users,
    Do you have any other examples on how to, using RCPP, make a call to the Fuzzylite library?

    Thank you, Nuno



    In the examples folder of fuzzylite, all the examples have an associated R code.

    I do not have examples using RCPP.


Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.