[R] using the pfe editor with R 1.1.3 under windows 2000

partha_bagchi@hgsi.com partha_bagchi at hgsi.com
Mon Oct 1 13:52:08 CEST 2001

I agree with your last sentiment. In almost all cases, I prefer to write my
function with a text editor (PFE in my case) and source it in R.

                    Uwe Ligges                                                                                 
                    <ligges at statistik.uni-do        To:     partha_bagchi at hgsi.com                             
                    rtmund.de>                      cc:     kjetilh at umsanet.edu.bo, Anne York                  
                                                    <anne.york at noaa.gov>, Help R <r-help at stat.math.ethz.ch>    
                    09/29/2001 05:17 AM             Subject:     Re: [R] using the pfe editor with R 1.1.3     
                                                    under windows 2000                                         

partha_bagchi at hgsi.com wrote:
> I don't know. I do not have access to Win98.

Kjetil Halvorsen wrote:
>> This works for me to (windows 98), with one exception. I have set PFE as
>> the default pager, and that works if PFE is already running. But PFE as
>> default editor
>> have problems. If I use fix() when PFE is already running, I have to
>> kill the R process.
>> Why the difference?

If running as 'pager', only a file is shown in the editor.
If running as 'editor', R waits until the editor has finished, because R
cannot know, when you have finished the 'fix'ing of an object.

I don't know PFE, but with e.g. WinEdt it is possible to start a new
instance of the editor with another caption-name using some command line
arguments, so the instances of the editor can be distinguished by
Windows (and R).
Maybe this is also possible for PFE (?).

BTW: Often it is nice to edit an ASCII file, say foo.R, and source() it
into R instead of using fix(), since the R process is not "interrupted"
and you have saved the function in a file you can make use of much

Uwe Ligges

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list