Skip to content

comment lines sometimes removed from a function on exit from internal R editor

2 messages · Cleridy Lennert, Duncan Murdoch

#
On 12-02-13 6:02 PM, Cleridy Lennert wrote:
You are likely seeing the results of dropping the source attribute that 
happened in 2.14.0.
I'll take a look at edit() and see if it is unnecessarily dropping the 
source references which replaced the source attribute.  But another way 
to maintain your code where this would not be a problem is to keep it in 
files outside of R, and source() them after changes.  That does work to 
keep the comments.

Duncan Murdoch