The contents of kableExtra table are visible if RStudio editor theme is dark
I use a dark RStudio theme and try to print a knitrExtra
table in R Markdown document. Unfortunately, the main contents of the table are invisible (i.e., white symbols on white background).
Question: How to make kableExtra
table contents visible in R Markdown documents with dark RStudio editor themes?
Example of code:
```{r}
library(kableExtra)
head(iris) %>%
knitr::kable(caption = "**Table 1.** Iris data. ", digits = 2) %>%
kableExtra::kable_styling()
```
An example of output:
If one selects the text, the contents temporarily get visible, but this is not the solution I am searching for:
RStudio version: 1.1.463kabeExtra
version: 0.9.0
r rstudio r-markdown kableextra
|
show 3 more comments
I use a dark RStudio theme and try to print a knitrExtra
table in R Markdown document. Unfortunately, the main contents of the table are invisible (i.e., white symbols on white background).
Question: How to make kableExtra
table contents visible in R Markdown documents with dark RStudio editor themes?
Example of code:
```{r}
library(kableExtra)
head(iris) %>%
knitr::kable(caption = "**Table 1.** Iris data. ", digits = 2) %>%
kableExtra::kable_styling()
```
An example of output:
If one selects the text, the contents temporarily get visible, but this is not the solution I am searching for:
RStudio version: 1.1.463kabeExtra
version: 0.9.0
r rstudio r-markdown kableextra
you should head over to the rstudio/rstudio github project and file an issue for this. the burden should not be on you to make this work.
– hrbrmstr
Nov 11 at 10:40
hrm. i just tried this and it works for me. What version of RStudio? I'm on 1.2.1049 (I use the RStudio daily builds). knitr and kableExtra versions might be good to know as well.
– hrbrmstr
Nov 11 at 10:42
RStudio 1.1.463 (current officially released version). When is RStudio 1.2 going to be officially released?
– Vilmantas Gegzna
Nov 11 at 11:06
I have no idea. It's a pretty big change from 1.1.x and has alot of new features. Can you try the Preview edition?
– hrbrmstr
Nov 11 at 12:03
I tried the preview version and the contents of the table are visible there. But there are some other unsolved bugs in the preview version, e.g., it shows only a fraction of output and hides other is some situation (link). Thus I do not prefer it yet.
– Vilmantas Gegzna
Nov 11 at 12:22
|
show 3 more comments
I use a dark RStudio theme and try to print a knitrExtra
table in R Markdown document. Unfortunately, the main contents of the table are invisible (i.e., white symbols on white background).
Question: How to make kableExtra
table contents visible in R Markdown documents with dark RStudio editor themes?
Example of code:
```{r}
library(kableExtra)
head(iris) %>%
knitr::kable(caption = "**Table 1.** Iris data. ", digits = 2) %>%
kableExtra::kable_styling()
```
An example of output:
If one selects the text, the contents temporarily get visible, but this is not the solution I am searching for:
RStudio version: 1.1.463kabeExtra
version: 0.9.0
r rstudio r-markdown kableextra
I use a dark RStudio theme and try to print a knitrExtra
table in R Markdown document. Unfortunately, the main contents of the table are invisible (i.e., white symbols on white background).
Question: How to make kableExtra
table contents visible in R Markdown documents with dark RStudio editor themes?
Example of code:
```{r}
library(kableExtra)
head(iris) %>%
knitr::kable(caption = "**Table 1.** Iris data. ", digits = 2) %>%
kableExtra::kable_styling()
```
An example of output:
If one selects the text, the contents temporarily get visible, but this is not the solution I am searching for:
RStudio version: 1.1.463kabeExtra
version: 0.9.0
r rstudio r-markdown kableextra
r rstudio r-markdown kableextra
edited Nov 11 at 11:02
asked Nov 11 at 10:36
Vilmantas Gegzna
1,235822
1,235822
you should head over to the rstudio/rstudio github project and file an issue for this. the burden should not be on you to make this work.
– hrbrmstr
Nov 11 at 10:40
hrm. i just tried this and it works for me. What version of RStudio? I'm on 1.2.1049 (I use the RStudio daily builds). knitr and kableExtra versions might be good to know as well.
– hrbrmstr
Nov 11 at 10:42
RStudio 1.1.463 (current officially released version). When is RStudio 1.2 going to be officially released?
– Vilmantas Gegzna
Nov 11 at 11:06
I have no idea. It's a pretty big change from 1.1.x and has alot of new features. Can you try the Preview edition?
– hrbrmstr
Nov 11 at 12:03
I tried the preview version and the contents of the table are visible there. But there are some other unsolved bugs in the preview version, e.g., it shows only a fraction of output and hides other is some situation (link). Thus I do not prefer it yet.
– Vilmantas Gegzna
Nov 11 at 12:22
|
show 3 more comments
you should head over to the rstudio/rstudio github project and file an issue for this. the burden should not be on you to make this work.
– hrbrmstr
Nov 11 at 10:40
hrm. i just tried this and it works for me. What version of RStudio? I'm on 1.2.1049 (I use the RStudio daily builds). knitr and kableExtra versions might be good to know as well.
– hrbrmstr
Nov 11 at 10:42
RStudio 1.1.463 (current officially released version). When is RStudio 1.2 going to be officially released?
– Vilmantas Gegzna
Nov 11 at 11:06
I have no idea. It's a pretty big change from 1.1.x and has alot of new features. Can you try the Preview edition?
– hrbrmstr
Nov 11 at 12:03
I tried the preview version and the contents of the table are visible there. But there are some other unsolved bugs in the preview version, e.g., it shows only a fraction of output and hides other is some situation (link). Thus I do not prefer it yet.
– Vilmantas Gegzna
Nov 11 at 12:22
you should head over to the rstudio/rstudio github project and file an issue for this. the burden should not be on you to make this work.
– hrbrmstr
Nov 11 at 10:40
you should head over to the rstudio/rstudio github project and file an issue for this. the burden should not be on you to make this work.
– hrbrmstr
Nov 11 at 10:40
hrm. i just tried this and it works for me. What version of RStudio? I'm on 1.2.1049 (I use the RStudio daily builds). knitr and kableExtra versions might be good to know as well.
– hrbrmstr
Nov 11 at 10:42
hrm. i just tried this and it works for me. What version of RStudio? I'm on 1.2.1049 (I use the RStudio daily builds). knitr and kableExtra versions might be good to know as well.
– hrbrmstr
Nov 11 at 10:42
RStudio 1.1.463 (current officially released version). When is RStudio 1.2 going to be officially released?
– Vilmantas Gegzna
Nov 11 at 11:06
RStudio 1.1.463 (current officially released version). When is RStudio 1.2 going to be officially released?
– Vilmantas Gegzna
Nov 11 at 11:06
I have no idea. It's a pretty big change from 1.1.x and has alot of new features. Can you try the Preview edition?
– hrbrmstr
Nov 11 at 12:03
I have no idea. It's a pretty big change from 1.1.x and has alot of new features. Can you try the Preview edition?
– hrbrmstr
Nov 11 at 12:03
I tried the preview version and the contents of the table are visible there. But there are some other unsolved bugs in the preview version, e.g., it shows only a fraction of output and hides other is some situation (link). Thus I do not prefer it yet.
– Vilmantas Gegzna
Nov 11 at 12:22
I tried the preview version and the contents of the table are visible there. But there are some other unsolved bugs in the preview version, e.g., it shows only a fraction of output and hides other is some situation (link). Thus I do not prefer it yet.
– Vilmantas Gegzna
Nov 11 at 12:22
|
show 3 more comments
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53247896%2fthe-contents-of-kableextra-table-are-visible-if-rstudio-editor-theme-is-dark%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53247896%2fthe-contents-of-kableextra-table-are-visible-if-rstudio-editor-theme-is-dark%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
you should head over to the rstudio/rstudio github project and file an issue for this. the burden should not be on you to make this work.
– hrbrmstr
Nov 11 at 10:40
hrm. i just tried this and it works for me. What version of RStudio? I'm on 1.2.1049 (I use the RStudio daily builds). knitr and kableExtra versions might be good to know as well.
– hrbrmstr
Nov 11 at 10:42
RStudio 1.1.463 (current officially released version). When is RStudio 1.2 going to be officially released?
– Vilmantas Gegzna
Nov 11 at 11:06
I have no idea. It's a pretty big change from 1.1.x and has alot of new features. Can you try the Preview edition?
– hrbrmstr
Nov 11 at 12:03
I tried the preview version and the contents of the table are visible there. But there are some other unsolved bugs in the preview version, e.g., it shows only a fraction of output and hides other is some situation (link). Thus I do not prefer it yet.
– Vilmantas Gegzna
Nov 11 at 12:22