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-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > Em nome de Paulo E. Cardoso > Enviada: quarta-feira, 8 de Julho de 2009 10:59 > Para: r-help@r-project.org > Cc: r-h...@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@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@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.