Bug 380759 - FIXED IN SVN: logicals in data editor accept only 0 and 1
Summary: FIXED IN SVN: logicals in data editor accept only 0 and 1
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 15:44 UTC by RKWard Team
Modified: 2011-03-20 11:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RKWard Team 2010-11-19 15:44:30 UTC
-- Originally posted by (AT sourceforge.net): *anonymous --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/79 on 2017-05-30 15:26:50 +0100 --
Open rkward's data editor, change a variable to logical, start adding values to the variable. If you enter another value than 0 or 1 the field will turn red and the value will be NA. I would expect that T, F, TRUE, FALSE, True, False would also be a valid input, especially since R itself displays TRUE or FALSE for logical values.

RKWard 0.5.4
KDE 4.4.5
R 2.12.0
-- Labels: Interface (example) --
Comment 1 Thomas Friedrichsmeier 2011-02-04 11:30:36 UTC
Thanks for reporting.

In the development version \(http://p.sf.net/rkward/svn\), logicals are now displayed as "TRUE"/"FALSE" in the data editor. Accepted input is now "1"/"T"/"TRUE" and "0"/"F"/"FALSE". I did not add "True" and "False", since these are not accepted in R, either.

Regards
Thomas
Comment 2 Thomas Friedrichsmeier 2011-02-04 11:30:36 UTC
- **assigned_to**: nobody --> tfry
- **summary**: logical variables in data editor accept only 0 and 1 --> FIXED IN SVN: logicals in data editor accept only 0 and 1
- **status**: open --> open-fixed
Comment 3 Thomas Friedrichsmeier 2011-03-20 11:27:51 UTC
- **status**: open-fixed --> closed-fixed