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

malformed paged table output with R 3.5.1 on Windows #3163

Closed
kevinushey opened this Issue Jul 16, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@kevinushey
Copy link
Contributor

kevinushey commented Jul 16, 2018

System details

RStudio Edition : Desktop
RStudio Version : v1.1.453; v1.2.821
OS Version      : Windows 10 x64
R Version       : 3.5.1

Steps to reproduce the problem

Execute the following chunk in an R Notebook with inline output:

```{r}
head(iris)
```

Describe the problem in detail

Text is malformed, e.g.

screen shot 2018-07-16 at 10 49 57 am
ed, e.g.

Describe the behavior you expected

Normal output.

@kevinushey kevinushey added this to the v1.2 milestone Jul 16, 2018

@kevinushey

This comment has been minimized.

Copy link
Contributor Author

kevinushey commented Jul 16, 2018

Note that this doesn't seem to reproduce consistently for me -- sometimes it happens, sometimes it doesn't.

@kevinushey

This comment has been minimized.

Copy link
Contributor Author

kevinushey commented Jul 16, 2018

�ÿþ appears to be the UTF-8 interpreted version of a UTF-16 byte order mark, so we need to figure out where that's coming from.

@kevinushey

This comment has been minimized.

Copy link
Contributor Author

kevinushey commented Jul 16, 2018

The issue reproduces more reliably with:

```{r}
list()
head(iris)
```
@kevinushey

This comment has been minimized.

Copy link
Contributor Author

kevinushey commented Jul 16, 2018

Agh! Whatever is going on actually leaks out to other bits of rendered text. See for example in the signature tooltip:

screen shot 2018-07-16 at 11 57 59 am

And yet the issue seems to go away after we execute some separate R code. It seems like our Notebook execution code is tripping ... something, somewhere, that is injecting these BOMs.

@kevinushey

This comment has been minimized.

Copy link
Contributor Author

kevinushey commented Jul 16, 2018

This particular incantation of the issue should be worked around with 9e54554.

@kevinushey kevinushey closed this Jul 16, 2018

@rich-rstudio rich-rstudio self-assigned this Jan 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment