Displaying 1 result from an estimated 1 matches for "directory_of_script".
2013 Feb 02
2
Question: write an R script with help information available to the user
...aw some instructions on an R manual, but am not able to figure them out. Hereunder is the basic setting:
1. I finished writing an R script, my_script.r, that is a function (the function is named "my_func") for a statistical procedure. This means that the user only needs to: source("directory_of_script\my_script.r"), then run, my_func(arg1, arg2, ..), to execute the procedure.
2. I would like to add some lines into "my_script.r", so that a user can get information on this file and function by using "?my_func"
Any help or suggestion is appreciated.
Best regards,
Chee
[[...