Shinyapps.io deploy failed due to error "invalid multibyte string at"

shinyappsio

#1

I wonder if there are any ways to upload my shiny app to shinyapps.io even if there is chinese character in my code??

Cause i have tried several times to upload my shiny app but there is always error " invalid multibyte string at <8e><2c>", but using chinese in my code is inevitable.

Any help will be grateful.

sessionInfo():
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950 LC_CTYPE=Chinese (Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950 LC_NUMERIC=C
[5] LC_TIME=Chinese (Traditional)_Taiwan.950

rsconnect::showLogs()
2018-10-25T16:41:31.795611+00:00 shinyapps[522084]: Server version: 1.6.8-6
2018-10-25T16:41:31.795614+00:00 shinyapps[522084]: LANG: zh_TW.UTF-8


#2

After I using rstudio server in Linux system (Ubuntu 16.04) to deploy my shinyapp, it worked!