Hi folks,
 
For version control I like to keep my functions in script files.
I've got an improved - I hope - version of fix() that looks for the file
and opens it.  Trouble is, the three ways of opening it don't work right
in R.app.
 
1. edit(file="myfunction.R") is modal - not desirable for this purpose. 
2. file.show() is not modal but the window contents can't be edited.
3. file.edit()  takes an "editor=" argument.  Currently this defaults to
"vi".
In fact, I can't find any option for "editor=" which will do anything
within R.app.
If there's a value that corresponds
to the R.app native editor, that'll do the trick!
Does anyone know it, or know if it exists?
Thanks.
 
 
 
Roger Day 
University of Pittsburgh Departments of Biomedical Informatics and
Biostatistics 
University of Pittsburgh Cancer Institute 
University of Pittsburgh Molecular Medicine Institute
************************** 
Room 310, Suite 301 
Cancer Pavilion (CNPAV)
5150 Centre Ave. 
Pittsburgh, PA 15232 
e-mail:  [EMAIL PROTECTED] 
cell phone 412-609-3918
assistant:
    Lucy Cafeo:       (412) 623-2952
*************************** 
 

 
 

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to