File: Rplot.c

package info (click to toggle)
r-base 4.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 112,924 kB
  • sloc: ansic: 291,338; fortran: 111,889; javascript: 14,798; yacc: 6,154; sh: 5,689; makefile: 5,239; tcl: 4,562; perl: 963; objc: 791; f90: 758; asm: 258; java: 31; sed: 1
file content (20 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
  Tests using the default graphics device from within 
  an application that embeds the R interpreter.
  Equivalent of evaluating the expressions:

     plot(c(1, 2, 3, 4, 5, 6, 7 ,8, 9, 10))
*/
#include "embeddedRCall.h"


int
main(int argc, char *argv[])
{
    /* Evaluates the expression 
       plot(c(1,2,3,4,5,6,7,8,9,10))
    */
    eval_R_command("plot", argc, argv); 
    return(0);
}