Ignore:
Timestamp:
Mar 19, 2018, 3:53:31 PM (6 years ago)
Author:
djay
Message:

Add support for R language and its documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/zoo-project/zoo-kernel/zoo_service_loader.c

    r865 r873  
    3535#ifdef USE_OTB
    3636#include "service_internal_otb.h"
     37#endif
     38
     39#ifdef USE_R
     40#include "service_internal_r.h"
    3741#endif
    3842
     
    706710#endif
    707711
     712#ifdef USE_R
     713  if (strncasecmp (r_inputs->value, "R", 6) == 0)
     714    {     
     715      *eres =
     716        zoo_r_support (&m, request_inputs, s1,
     717                            &request_input_real_format,
     718                            &request_output_real_format);
     719    }
     720  else
     721#endif
     722
    708723#ifdef USE_JAVA
    709724  if (strncasecmp (r_inputs->value, "JAVA", 4) == 0)
     
    17111726                                  addNestedOutputs(&s1);
    17121727#endif
     1728                                  json_object* jobj=serviceToJson(s1);
     1729                                  const char* jsonStr=json_object_to_json_string_ext(jobj,JSON_C_TO_STRING_PLAIN);
     1730                                  fprintf(stderr,"*** %s %d %s \n",__FILE__,__LINE__,jsonStr);
     1731
    17131732                                  printDescribeProcessForProcess (zooRegistry,m, doc, n, s1);
    17141733                                  freeService (&s1);
     
    25482567  rewind(stdout);
    25492568
     2569  fprintf(stderr,"%s %d %d\n",__FILE__,__LINE__,eres);
     2570
    25502571  if (eres != -1)
    25512572    outputResponse (s1, request_input_real_format,
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png