I would rather think that it is a bug. It happens when "clean up history 
entries" is on but “strip comment” is off.

If I have a history of two lines:
# this is a comment
a = 100

the current version of GUI would returns
this is a comment
a = 100


On Nov 5, 2013, at 5:49 AM, Simon Urbanek <[email protected]> wrote:

> I'm CCig Rob since he designed the history code so he may comment on whether 
> it's by design or not. I dimly remember that this was intended, but I'm not 
> 100% sure.
> 
> Thanks,
> Simon
> 
> 
> Begin forwarded message:
> 
>> From: Randy Lai <[email protected]>
>> Subject: [R-SIG-Mac] a bug in R Mac GUI
>> Date: November 2, 2013 at 12:55:51 AM EDT
>> To: [email protected]
>> 
>> Hi guys,
>> 
>> I have fixed a bug in R Mac GUI that the comment symbol # is trimmed when 
>> cleanup history entries is checked.
>> This only works for R 3.0.x for Mac.
>> 
>> A complied version can be found in the following link.
>> 
>> the fix: 
>> https://github.com/randy3k/R-Mac-GUI/commit/d8d387236b208d49b3cda9a3d82ca72e70b40110
>> the binary: https://github.com/randy3k/R-Mac-GUI/releases
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> [email protected]
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
> 

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

Reply via email to