Click here to Skip to main content
15,885,078 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I would like to create/convert a .r script (in R studio) to an executable - batch(.exe) file.

Which command should I use?

What I have tried:

chmod +x test.R

in cmd - command window
Posted
Updated 20-Oct-22 4:07am

1 solution

The chmod command merely sets a file permission, it has no effect on the file contents. You need to check the R documentation to see if there is a command to do it. Alternatively a Google search may find something.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900