File: Rplot.c

package info (click to toggle)
r-base 2.4.0.20061125-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 53,384 kB
  • ctags: 27,223
  • sloc: ansic: 228,006; fortran: 76,848; sh: 12,670; perl: 9,489; makefile: 6,064; tcl: 2,954; yacc: 2,152; java: 486; cpp: 457; asm: 275; sed: 16
file content (20 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (16)
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);
}