[R] system() how to make a program run a specific file - RUN and Output directory issues

Paulo E. Cardoso pecardoso at netcabo.pt
Wed Jul 8 15:06:25 CEST 2009


I have a particular case where the program I'm calling needs a additional
instructions, to click a RUN button and set a output directory. Could these
options be controlled with system() function?

____________
Paulo E. Cardoso


> -----Mensagem original-----
> De: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> Em nome de Paulo E. Cardoso
> Enviada: quarta-feira, 8 de Julho de 2009 12:08
> Para: r-help at r-project.org
> Cc: r-help at stat.math.ethz.ch
> Assunto: Re: [R] system() how to make a program run a specific file
> 
> After all it's very easy:
> 
> system(paste('"C:\\Program Files
> (x86)\\IrfanView\\i_view32.exe"','A:\\test.jpg'))
> 
> ____________
> Paulo E. Cardoso
> 
> 
> > -----Mensagem original-----
> > De: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org]
> > Em nome de Paulo E. Cardoso
> > Enviada: quarta-feira, 8 de Julho de 2009 10:59
> > Para: r-help at r-project.org
> > Cc: r-help at stat.math.ethz.ch
> > Assunto: [R] system() how to make a program run a specific file
> >
> > I'd like to know how to call a program to run or open a specific
> file.
> >
> >
> >
> > something like this:
> >
> > system('"C:\\Program Files (x86)\\IrfanView\\i_view32.exe"','-A:\\
> > teste.jpg') is not working.
> >
> >
> >
> > any help will be appreciated
> >
> > ____________
> >
> > Paulo E. Cardoso
> >
> >
> >
> >
> > 	[[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at 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.
> > Checked by AVG - www.avg.com
> > Version: 8.5.375 / Virus Database: 270.13.8/2223 - Release Date:
> > 07/07/09 17:54:00
> 
> ______________________________________________
> R-help at 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.
> Checked by AVG - www.avg.com
> Version: 8.5.375 / Virus Database: 270.13.8/2223 - Release Date:
> 07/07/09 17:54:00




More information about the R-help mailing list