boxuancui / DataExplorer

Automate Data Exploration and Treatment
http://boxuancui.github.io/DataExplorer/
Other
513 stars 88 forks source link

Add support for non-ASCII characters #19

Closed boxuancui closed 7 years ago

boxuancui commented 8 years ago

Reported by @djhurio in #16

I have installed development version. I am not getting errors any more. Report is generated with a warning:

Warning message:
In writeLines(if (encoding == "") res else native_encode(res, to = encoding),  :
  invalid char string in output conversion`

And report is unreadable.

boxuancui commented 7 years ago

@djhurio Do you still have this problem with the latest version? I tested data with a different language and it works fine for me.

djhurio commented 7 years ago

Hi @boxuancui!

It works for me now. And probably the problem was on my side. I had a command options(encoding = "UTF-8") in my code before. In this case there is problem with unicode characters and report is not generated properly in test cases. After changing the option to options(encoding = "") the problem is gone and report is generated correctly in all test cases. It seems I have to be careful with the options(encoding = "UTF-8").

The only error I am getting is this, but as I told report is generated correctly:

Output created: T:/ .... /TMS2015_sample_data_2.html
Error in !args[["quiet"]] : invalid argument type

Thanks!

boxuancui commented 7 years ago

That error is fixed in #34 . Please install the latest develop branch if you wish. Thanks for using DataExplorer!