Re: [R] Execution of a .sce file through R
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, system(scilab -nw -f yourscript.sce) 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: Dear R Users Does some has any idea about how to execute a scilab file(.sce file) from the Terminal in R. Any kind of guidance would be highly welcomed and appreciated. -- View this message in context: http://www.nabble.com/Execution-of-a-.sce-file-through-R-tp21227441p21227441.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. _ 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 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Execution of a .sce file through R
ykank spicyankit4u at gmail.com writes: Dear R Users Does some has any idea about how to execute a scilab file(.sce file) from the Terminal in R. Any kind of guidance would be highly welcomed and appreciated. 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 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Execution of a .sce file through R
Dear R Users Does some has any idea about how to execute a scilab file(.sce file) from the Terminal in R. Any kind of guidance would be highly welcomed and appreciated. -- View this message in context: http://www.nabble.com/Execution-of-a-.sce-file-through-R-tp21227441p21227441.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.