Skip to content

Execution of a .sce file through R

3 messages · ykank, Baptiste Auguie, Hans W Borchers

#
That's really a scilab question, nothing to do with R as far as I can  
see. Moreover, you haven't provided any of the information requested  
in the posting guide (OS, example, ...).

i'm guessing that something along those lines should work,
that is, provided your file is in the working directory and your shell  
knows about scilab (untested). If this fails, you need to make sure  
that you know the command to run a scilab script from a terminal, and  
I doubt this is the place to ask for it.

Hope this helps,

Baptiste
On 31 Dec 2008, at 06:13, ykank wrote:

            
_____________________________

Baptiste Augui?

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag
#
ykank <spicyankit4u <at> gmail.com> writes:
Have you looked into your Scilab directory? In mine -- under Windows XP and
Scilab version 5.0.3 -- there is no executable file 'scilab.exe'. The file to
call is 'Scilex.exe' (and 'WScilex.exe' for the GUI) which can also easily been
seen by following the path of the Scilab link in the Start menu.

The following call works for me:

    system("<path-to-scilab>/bin/Scilex -f <filename>.sce")

where I have to end the 'sce' file with a quit statement.

Hans Werner