-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rec() artgument with [] labeling not working under Windows but working under Mac #86
Comments
Have you tried a white space between the recode-value and the brackets for the labels? |
This (adding white space) worked for English labels (if I used [no] and [yes] respectively), but it still does not work for Chinese characters. |
Which R version do you use? |
I was using 3.4.3; then I updated to 3.5.0. The same issue lasted in new version. |
Could you check if the current submit fixes this issue (pls. install latest version from GitHub)? |
I reinstalled 2.7.2 from GitHub and the error remained. |
These two lines worked well in Mac machines but not in Windows machines:
bbq$V44r <- rec(bbq$V44, rec="0:5=0[不會]; 6:10=1[會]", as.num=F)
frq(bbq$V44r)
If I change the labels in [] from Chinese to English; same thing occurred.
If I removed the labels including [], it worked fine.
Please help check this issue and let me know if I missed anything. Thanks.
![screen shot 2018-05-20 at 19 33 11](https://user-images.githubusercontent.com/12545793/40278942-254b37cc-5c6d-11e8-80be-d6c12b25d35c.png)
The text was updated successfully, but these errors were encountered: