search for: encoding_export_issue

Displaying 4 results from an estimated 4 matches for "encoding_export_issue".

2018 May 04
2
[Rd] source(echo = TRUE) with a iso-8859-1 encoded file gives an error
...any further references that you suggest. I attach a file that reproduces the issue I would like to learn more about. I do not know if the file encoding will be correctly preserved through email, so I also provide the file (temporarily) on Dropbox here: https://www.dropbox.com/s/3lbgebk7b5uaia7/encoding_export_issue.R?dl=0 The file gives an error when using "source()" with the argument echo = TRUE: > source("encoding_export_issue.R", echo = TRUE) Error in nchar(dep, "c") : invalid multibyte string, element 1 In addition: Warning message: In grepl("^[[:blank:]]*$&...
2018 May 01
2
source(echo = TRUE) with a iso-8859-1 encoded file gives an error
...9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=1fpq0SJ48L-zRWX2t0llEVIDZAHfU8S-4oINHlOA0rk&m=Hx2R8haOcpOy7nHCyZ63_tEVrmVn5txQk-yjGkgjKjw&s=58a7qB9IHt3s2ZLDglGEHwWARuo8xvSlH_z8G5jDaUY&e= The file gives an error when using "source()" with the argument echo = TRUE: > source("encoding_export_issue.R", echo = TRUE) Error in nchar(dep, "c") : invalid multibyte string, element 1 In addition: Warning message: In grepl("^[[:blank:]]*$", dep[1L]) : input string 1 is invalid in this locale The problem comes from the "?" character in the .R file. The fil...
2018 May 04
0
[Rd] source(echo = TRUE) with a iso-8859-1 encoded file gives an error
...you suggest. > > I attach a file that reproduces the issue I would like to learn more > about. I do not know if the file encoding will be correctly preserved > through email, so I also provide the file (temporarily) on Dropbox here: > > https://www.dropbox.com/s/3lbgebk7b5uaia7/encoding_export_issue.R?dl=0 > > The file gives an error when using "source()" with the > argument echo = TRUE: > > > source("encoding_export_issue.R", echo = TRUE) > Error in nchar(dep, "c") : invalid multibyte string, element 1 > In addition: Warning message:...
2018 May 01
0
source(echo = TRUE) with a iso-8859-1 encoded file gives an error
...ikqINpWlZM&r=1fpq0SJ48L-zRWX2t0llEVIDZAHfU8S-4oINHlOA0rk&m=Hx2R8haOcpOy7nHCyZ63_tEVrmVn5txQk-yjGkgjKjw&s=58a7qB9IHt3s2ZLDglGEHwWARuo8xvSlH_z8G5jDaUY&e= > > The file gives an error when using "source()" with the > argument echo = TRUE: > > > source("encoding_export_issue.R", echo = TRUE) > Error in nchar(dep, "c") : invalid multibyte string, element 1 > In addition: Warning message: > In grepl("^[[:blank:]]*$", dep[1L]) : > input string 1 is invalid in this locale > > The problem comes from the "?" char...