BIRT-R Script sample
Options
Comments
-
I don't have an example handy at the moment. Here are the basic instructions:
- Create a standard data set with numeric data.
- Add a computed column to the data set.
- Set the data type to Float and click the expression builder icon (fx).
- Under "Category", double click Birt Functions.
- Under "Sub Category" scroll to the bottom in click "R" (only available in 16.2 and higher).
- Double click one or more of the R functions on the right to add them to the expression.
- Insert data into the expression manually or via the Available Data Set column data.
You can use R functions in other expressions like filters, aggregations, etc. There are many online resources that explain what the R functions do.
Warning No formatter is installed for the format ipb0 -
Thanks for explanation Jeff,
I am getting error even though it is a very simple insert. I have attached what I have done and what error I am getting.Thanks
0 -
The R assign() method takes two arguments, a variable name and a value. Also, if you get an error regarding the Rserve libraries, there is a plugin that you need to install. I did not see the instructions in the Analytics Designer User Guide, but there is information about setting up R in the Information Hub Installation and Configuration Guide.
Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 108 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management