# [R] Question

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon May 27 10:42:38 CEST 2002

```
Lacen at EOS-GmbH.de wrote:
>
> Hallo,
> I have a Problem. Maybe you can help me.
>
> I want to call single commands in Rterm.exe (for example: read.table(....),
> image,.....) directly with my Programm (written in VC++ for WindowsNT 4.0).
> I thought on a possibility, that I can give single commands to the command
> line of Rterm.exe by sending the command via write or printf or so, like you
> can write in
> the command line of RGui.exe via the keyboard.
> Is there such a  possibility or something similar, or must I use a
> BATCH-File.

For example you can pipe it to rterm. Simple example:

c:/> echo 1+1 | rterm --slave
[1] 2