hodgesse1 / rfortran

Automatically exported from code.google.com/p/rfortran
0 stars 0 forks source link

Specify path AND name of R executable in the RFortran.set file #116

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
*** Please provide a description of the enhancement you are requesting.

Currently, the RFortran.set file specifies the path to RGui.exe (keyword 
'RGuiPath'). In my opinion it would be clearer to specify BOTH the path and 
name of the R executable. This makes it 100% clear to both users and developers 
which file is being used (whereas currently, given the number of ongoing 
changes in R/statconn/RFortran it is not always clear whether documentation is 
up to date, eg, in describing which R file to link to - R.exe, Rgui.exe, etc). 
It will also make it more general in the longer term, since the filenames may 
change as R continues to evolve.

Otherwise, in case of confusion, time can be wasted figuring out which R 
executable file is actually getting called, etc, and whether this is the 
intended executable file to be calling.

*** If you have a coding solution to this enhancement please include the file 
(or preferably a svn patch) as an attachment

Possible patch is attached - it supports the option for RFortran.set to specify 
the keyword [RExePath] instead of [RGuiPath]. If this is done by the user, 
RFortran will assume the supplied path contains both the path AND filename of 
the R executable.

Note that the patch is backwards compatible. However DK would recommend making 
this specification compulsory (for clarity, to avoid any possible confusion, 
and for future portability)

Original issue reported on code.google.com by dmitri.k...@gmail.com on 17 Dec 2012 at 8:25

GoogleCodeExporter commented 8 years ago
Enhanced version of patch committed by DK in r708 (see Commit Notes)

Original comment by dmitri.k...@gmail.com on 23 Feb 2013 at 7:59