Using R function on Oracle data base

for using R, I only can use Oracle data mining algorithms or I can use R function like social network in Oracle data base?

Oracle Advanced Analytics provides multiple language (SQL, R and if we include GUIs, Oracle Data Miner workflow UI) support to the in-DB analytics. Using SQL, R or the ODM'r GUI, you can access a library of simple descriptive, summary and coparative statistics that have been implemented in the Oracle Database + a dozen hi-perf in-DB data mining algorithms (e.g. regression, decision trees, text mining, clustering, associations, anomaly detection, etc.) and solve a wide range of business and technical problems.
Should you require additional techniques e.g. R CRAN packages, then Oracle Advanced Analytics supports that through R to SQL transparancy where it "pushes down" R language intentions to matching in-DB SQL functions e.g. ETL, stats and data mining OR it can make a callout to R via "embedded R mode" and have the Database manage the flow of data and the process.
There is an OTN Discussion Forum that focuses entirely on the "R" aspects of the Oracle Advanced Analytics Option. I suggest that you re-post your questiion here R Technologies for additional discusssions and for the benefit of that Oracle Advanced Analytics/Oracle R Enterprise OTN forum/community.
cb

Similar Messages

  • PLEASE REPLY ASAP.Unbale to connect to oracle data base using JSP.

    hi,
    I am not able to connect to oracle data base using JSP. PFB the code and out put.
    <html>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <body>
    <%
    try
         out.println("hi<br>");
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@xxx.xxx.xx.xxx:xxxx:flstr800","user","paswordd");
         out.println("connected<br>");
    catch (SQLException e)
    out.println("ERROR: failed to connect!");
    out.println("ERROR: " + e.getMessage());
    e.printStackTrace();
    return;
    %>
    </body>
    </html>
    OUTPUT:
    hi
    ERROR: failed to connect! ERROR: No suitable driver found for jdbc:oracle:oci:@host:port
    Please guide me on this issue.
    Edited by: user10997061 on Apr 10, 2009 4:27 AM

    I definitely do not know much about JSP but
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    indicates
    <quote>
    This URL connects to the same database using the the OCI driver and the SID inst1 without specifying the username or password.
    jdbc:oracle:oci:@myhost:1521:inst1
    <quote>
    I do not see the port information in your connect string. Is that an issue?

  • How to access Oracle Data Base on Unix using Visual Basic ?

    Hi !
    I want to use visual basic and access the Oracle Data Base on Unix server. How can i do that ? Do i need any software?
    .Prashant

    You need an oracle client installation and setup your TNS names.

  • Can you use SQL Developer against non Oracle data bases?

    If so, then how do you define the connection for non Oracle data bases?

    Look, SQL Developer has got to be a 'gateway' into Oracle DBs from other databases. JDBC allows simple introspection and execution of SQL commands. So the 'explain' button won't be available, or some of the DDL stuff, big deal! Let them get a taste of what they are missing by not having an Oracle database.
    If we can get non-Oracle developers (especially MS SQL Server) to use SQL Developer it will expose them to the superiority of the Oracle DB server.
    If they have heterogenous services installed they are already an Oracle customer -- we have little additional DB server sale opportunity there. SQL Developer is a really sweet tool and it could be a real draw into the DB server sales.
    SQL Developer must be easily usable by non-Oracle customers in order to help us sell the DB server to them!

  • Access non-Oracle data base from Oracle Data base?

    Hi,
    I have a system using Oracle data base but i have to query some data in
    Access data base called TA_2008.mdb for specific table called FPTrans
    My oracle database SID=Ahmed10g my schema is attend/attend.
    I have tried to use the Heterogenous Services Generic Connectivity Agents .
    I think i have to build the ODBC driver for Access database not for oracle and specify the Access DB name
    But i built the driver for oracle.
    Please clear the steps for me and correct me if i am wrong .......................
    1. Create ODBC driver [microsoft ODBC for Oracle] as File Data Source Name =attendoraclefds
    user : attend
    password : attend
    Server :ahmed10g
    2. create intilization Parameter file in the path D:\oracle10gDB\product\10.2.0\db_1\hs\admin
    called : initATTENDORACLEFDS.ora
    CONTAINS PARAMETERS:
    HS_FDS_CONNECT_INFO=FILEDSN=attendoraclefds
    HS_FDS_TRACE_LEVEL=ON
    3. Edit TNSname.ora file :
    attendoraclefds =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = awahaishi_lptp.sepocye.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = attendoraclefds)
    (HS = OK)
    4. Edit Listener.ora file :
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = extproc)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle10gDB\product\10.2.0\db_1)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = attendoraclefds)
    (ORACLE_HOME = D:\oracle10gDB\product\10.2.0\db_1)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = awahaishi_lptp.sepocye.com)(PORT = 1521))
    5. Restart the listener
    6. create the data base link:
    CREATE DATABASE LINK accessDB
    CONNECT TO attend IDENTIFIED BY attend
    USING 'attendoraclefds';
    select * from EMP_JOBS@accessDB;
    Error occures say :
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-28541: Error in HS init file on line 9.
    ORA-02063: preceding 2 lines from AAL
    Edited by: StillYoung on Mar 18, 2009 1:10 AM

    Please see if the following link is helpful:
    a question about transparent gateway,sb help me plz!!

  • Abnormal increase in the oracle data base of XI dev

    Hi Experts,
    The size of the oracle data base for SAP-XI is increased by 9% abnormally in 1 day, where as 1% increase in the oracle data base size normally takes 1 to 2 weeks.
    What could be the problem? Please give me some links or some idea how to check to know what causes this problem.
    Thnx
    Subbu

    Hi Rama
    You should look out for big tables. You can do this in transaction DB02 -> Detailed Analysis -> Size / Kbyte > 100000
    This will give you all segments larger than 100mb. In an XI system the messages are stored in table XI_AF_MSG. It is also possible that your largest segment is a lob segment. You will then see something like SYS_LOB0000039303C00020$$.
    To see which table it is just use this SQL:
    [code]SQL> select table_name from dba_lobs where SEGMENT_NAME = 'SYS_LOB0000039303C00020$$';
    TABLE_NAME
    XI_AF_MSG[/code]
    In DB02 you can also select the segment and view its history to make sure it is responsible for the database growth.
    Best regards, Michael

  • Auto Reconnection of Oracle Tuxedo 11.1.1.2.0, 64-bit to Oracle Data Base

    Hi Dear,
    We have Recently Migrated to Oracle Tuxedo 11.1.1.2.0 Running on RHEL 6.3 and connecting Oracle Data Base 11.0.2.0.
    We are informed by the Oracle Tuxedo Support that This tuxedo version Automatically re-connects to the oracle database once the Data base is rebooted.
    Because of the above impression we removed all our reconnection code from our applications.
    But unfortunately the servers are not automatically re-connecting to Oracle DB.
    Can you Please let us know, whether really this version automatically re-connects to Oracle DB??
    If Yes, How?? I mean is there any specific configuration to be done on Tuxedo??
    Thanks in Advance .... :)
    Rgds,
    Plaban

    Plaban,
    There are two ways to manage connections to Oracle Database (or any other XA compliant resource manager) with Tuxedo.
    One way is to use the XA interface. This involves spcifying information about the resource manager in $TUXDIR/udataobj/RM, building TMS servers linked with the resource manager, using the "-r rmname" option on buildserver, and specifying the TMS server names and an OPENINFO string *GROUPS section of the UBBCONFIG file.  When this option is chosen, application servers will not contain any logic to connect to or disconnect from the database and appllication servers will not contain any SQL statments to COMMIT WORK or ROLLBACK WORK.  All of this will be managed by Tuxedo.  If an XA call indicates that the resource manager is unavailable, Tuxedo will try to reconnect to the resource manager when subsequent tranasctional requests are received.  (Note that if a server in an XA-associated group receives requests outside of transaction mode, then Tuxedo will not issue any XA calls and will not know if there are any problems with the database.  You can specify AUTOTRAN=Y if you want to ensure that requests to certain services are processed in transaction mode.)
    In releases prior to Tuxedo 11.1.1.2.0, it was necessary to set the TUXWA4ORACLE environment variable for this automatic reconnection to work when using Tuxedo with Oracle Database. (This was due to different interpretations of the XA standard back when BEA and Oracle were separate companies.) Starting with Release 11.1.1.2.0, it is no longer necessary to set TUXWA4ORACLE when using Oracle Database with Tuxedo.
    There are also special considerations when using Tuxedo with Oracle Real Application Clusters, as described at http://docs.oracle.com/cd/E35855_01/tuxedo/docs12c/ads/adorac.html .
    The other way to use Tuxedo with a database is to not use the XA interface and to manage connections to the database in the application. If this is done, then the application needs code to connect, disconnect, and reconnect to the database and to commit or rollback work where appropriate. If the XA interface is not used, then Tuxedo will not have any involvement with connection or reconnection to the database.
    Regards,
    Ed

  • How to export a data as an XML file from oracle data base?

    could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...
    Thankz in advance
    Bala

    SQL> SELECT * FROM v$version;
    BANNER
    Oracle DATABASE 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS FOR 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    5 rows selected.
    SQL> CREATE OR REPLACE directory utldata AS 'C:\temp';
    Directory created.
    SQL> declare                                                                                                               
      2    doc  DBMS_XMLDOM.DOMDocument;                                                                                       
      3    xdata  XMLTYPE;                                                                                                     
      4                                                                                                                        
      5    CURSOR xmlcur IS                                                                                                    
      6    SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsi",                       
      7                                  'http://www.oracle.com/Employee.xsd' AS "xsi:nonamespaceSchemaLocation")              
      8                              ,xmlelement("EmployeeNumber",e.empno)                                                     
      9                              ,xmlelement("EmployeeName",e.ename)                                                       
    10                              ,xmlelement("Department",xmlelement("DepartmentName",d.dname)                             
    11                                                      ,xmlelement("Location",d.loc)                                     
    12                                         )                                                                              
    13                   )                                                                                                    
    14     FROM   emp e                                                                                                       
    15     ,      dept d                                                                                                      
    16     WHERE  e.DEPTNO=d.DEPTNO;                                                                                          
    17                                                                                                                        
    18  begin                                                                                                                 
    19    OPEN xmlcur;                                                                                                        
    20    FETCH xmlcur INTO xdata;                                                                                            
    21    CLOSE xmlcur;                                                                                                       
    22    doc := DBMS_XMLDOM.NewDOMDocument(xdata);                                                                           
    23    DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');                                                                  
    24  end;                                                                                                                  
    25  /                                                                                                                      
    PL/SQL procedure successfully completed.
    .

  • Load data from xml file in oracle data base

    Hi all,
    I'd like to know if is posible to load data from a file xml into a table of oracle data base through SQL*LOADER, loaded only in a normal column no with type XMLType , for example
    I have a xml file
    <person name="kate" surname="fari" city="new york" >
    <son name="faus" age="18"/>
    <son name="doly" age="10"/>
    </person>
    and I load in table :
    table :person
    column
    name surname city
    kate fari new york
    table : son
    name age
    doly 10
    faus 18
    thank you for your return !!!!!!!!!
    Ninova
    Edited by: user10474037 on 30 mai 2011 08:47
    Edited by: user10474037 on 30 mai 2011 08:48
    Edited by: user10474037 on 30 mai 2011 08:48
    Edited by: user10474037 on 30 mai 2011 08:49
    Edited by: user10474037 on 30 mai 2011 08:50

    Hi
    This May be found at
    SQL Loader to upload XML file

  • Using FILTER function in oracle answers

    Gurus,
    I have a question related to using Filter function in oracle answers.
    When trying to insert a Filter (expr) Using (expr) clause in the formula area of a fact table field, It errored out with msg saying about using a wrong measure.
    I know this can be done with a case expression but I tried filter clause since this is available in oracle answers.
    Please help me figuring out this scenario.
    Thanks.

    David / Raghu - Thanks for u'r replies and apologizes for not posting question with proper material.
    Am posting my code and the error message from the screen.
    Code :
    IFNULL(FILTER("Fact - MBS Loan Transactions"."OUTSTANDING PRINCIPAL" USING "Dim - MBS Loan"."LOAN TYPE HPD/HDC/BNK" = 'HDC'),0)
    Error :
    nQSError: 10058] A general error has occurred. [nQSError: 22032] Function FILTER requires at least one measure attribute in its first argument. (HY000)
    SQL Issued: SELECT "Dim - MBS Loan"."LOAN AMOUNT", "Dim - MBS Loan"."LOAN TYPE HPD/HDC/BNK", "Dim - MBS Loan"."LOAN TYPE SEN/SUB", "Dim - MBS Project"."PROJECT NAME", "Dim - MBS Project"."PROJECT NUMBER", "Fact - MBS Loan Transactions"."AR BALANCE INTEREST", "Fact - MBS Loan Transactions"."GL BALANCE INTEREST", IFNULL(FILTER("Fact - MBS Loan Transactions"."OUTSTANDING PRINCIPAL" USING "Dim - MBS Loan"."LOAN TYPE HPD/HDC/BNK" = 'HDC'),0) FROM "Financials - MBS"
    OK (Ignore Error)
    Please continue answering my queries. Since am a newbie your answers won't be just a reply but it's actually learning for me.
    Thanks.

  • I need to download data from Oracle data base into a Excel spread sheet

    I need to download data from Oracle data base into a Excel spread sheet.
    Any input will be appreciated.

    Goes something like this:
    1) create an ODBC connection (on NT/WIN: ODBC DATA SOURCES in the control panel, create a USER DSN.
    2) in EXCEL-menu: DATA->GET EXTERNAL DATA->CREATE NEW QUERY. In the wizzard you will see the DSN created in the previous step. Select that source.
    3) follow the wizzard.
    Hope this does any good...
    Regards,

  • Creating a Single Report from Oracle Data Base and BI Answers

    Hi,
    I wanted to create a single report by using a BI Report where in we have project and Activity columns,now I want to add column with Program to see the results.Program data is in Oracle Database.
    Can some one help me how to create the report.
    ii.How to edit a pivot table in BI word designer.What I am doing present is creating every time a new report.
    Thx In Adv.
    From Sravan

    Hi Pivot table was a general question.Is is nothing to do with the qus 1.
    See I have a report which have a programme and Activity.So I need to get the data of Prject from Data base how to do this in BIP.....I am not using any pivot table here.

  • Problem to  Use C function in oracle

    Hi Friends,
    i m trying to use c funciton in oracle
    as per oralce documentation its working fine when i used the demo example
    but in demo example thr are only interger data type used
    i need to use the char data type from c
    and while calling that function in c when i tried to call char as parameters data type
    its giving following error :
    SQL> CREATE OR REPLACE FUNCTION endecrypt(
    2 x Varchar2,
    3 y BINARY_INTEGER)
    4 RETURN Varchar2 AS
    5 EXTERNAL LIBRARY pass
    6 NAME "crypt" -- Name of function call. Quotes preserve lower case.
    7 LANGUAGE C
    8 PARAMETERS (x Char, y short);
    9 /
    Warning: Function created with compilation errors
    SQL> show err
    Errors for FUNCTION PRIME.ENDECRYPT:
    LINE/COL ERROR
    8/16 PLS-00235: the external type is not appropriate for the parameter
    0/0 PL/SQL: Compilation unit analysis terminated
    the bold part (x char) at line number 8 is having problem
    how can i solve it ?????

    If you had read the documentation as you claim to have done so you would know that STRING is probably what you want.
    Cheers, APC

  • Bulk Replacements using Replace function in oracle 8i

    Hi All,
    Iam using oracle 8i version and i need to use Replace function for bulf replacements i mean i need to replace around 250 rows. So please anyone suggest me how to proceed
    on this request as iam using oracle 8i version.
    Thanks!
    Srini

    Write one update statement.
    The where condition is the filter what rows need to be touched.
    The SET condition will do the data change. For example it could use the REPLACE function if that is what it is needed.
    One single update statement over 20 rows would mean the task is done in BULK. 20 single updates that each handle one row would mean it is row by row = slow by slow processing.

  • How to access two oracle data base with out DB link

    Hi,
    I have two data base schema
    one is held in oracle 10g and the other in 11g ,Currently i am using DB link to access both the database. i am accessing around 70 tables using DB link.
    As per new requirement i have to remove DB link ,is there any other way i can access both database with out DB link.
    Thanks,

    malarkandy wrote:
    I have two data base schema
    one is held in oracle 10g and the other in 11g ,Currently i am using DB link to access both the database. i am accessing around 70 tables using DB link.
    As per new requirement i have to remove DB link ,is there any other way i can access both database with out DB link.Yes. But that needs another network and application interface instead of a database link.
    The target database can implement PL/SQL web services. These can be called via HTTP.
    The local database can use UTL_HTTP to make a call to the target database's web service for accessing target database data.
    Both databases can use AQ (Advance Queues). This can be integrated with an application server's JMS queues.
    This enable one database to enqueue a request to the other database, and for that database to respond by sending data.
    There are numerous such type of interfaces that can be used. Some primitive. Some advanced. Some simple. Some complex.
    The easiest and most flexible mechanism is however a database link. And it does not make sense to disallow database links for security and management reasons, but allow JMS for example. The network infrastructure is the same for both methods. The network protocol is the same. The security issues and concerns are the same - except that JMS for example is significantly more moving parts and make configuration and security a lot more complex than using a database link.

Maybe you are looking for