problem with command line arguments
0
0
Entering edit mode
@madhurima-bhattacharjee-1465
Last seen 10.2 years ago
Hello Everybody, I am running a R script through a perl code from command line. The perl script is like: my $cmd= 'R CMD BATCH D:/try5.R'; system($cmd); I run the perl code from command line. Now I want to pass some command line arguments to the R script. Its like the argv concept of perl. Do I pass the arguments through my $cmd in the perl script? If yes, then how to access that in the R script? Any help will really be appreciated. Thanks and Regards, Madhurima.
• 708 views
ADD COMMENT

Login before adding your answer.

Traffic: 578 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6