All Questions
6,445
questions
0
votes
0
answers
14
views
Why are the YAML highlight options not being reflected in my HTML that is knitted from and RMD?
I am working in r studio. For my college class, we're working in rmd files and then knitting them to html files. Each rmd file starts with YAML options that setup the document. The document has no ...
0
votes
0
answers
42
views
+50
Issues connecting odbc in newest R Studio update
I recently updated R Studio and odbc/dbi seems to be broken. Running packageVersion("odbc") I see:
[1] ‘1.5.0’ Warning message: package ‘odbc’ was built under R version 4.4.1
My current ...
0
votes
0
answers
25
views
R Studio Recv failure: Connection was reset error after updating R Studio to latest version
I have a R script which calls another RMarkdown script in order to create an RMarkdown HTML document for each row in a dataframe column. Here's the basic script:
render_one <- function(case) {
# ...
2
votes
0
answers
39
views
How to get a background job to notify you upon completion
Context
I have an R script that takes a long time to run, and I used to run it with beepr::beep() at the end to notify me when it was finished. I got this idea from, "Is there a way to make R ...
0
votes
1
answer
30
views
Cannot Render QMD File to HTML or DOCX with Quarto: "cannot open the connection" Error
I am working on a data report and when I try to render my QMD file to HTML or DOCX using Quarto, I encounter the following error:
Error in file(file, ifelse(append, "a", "w")) :
...
0
votes
0
answers
44
views
Highcharter package in R is not outputing plot in Rstudio but in R its ok
This is my code:
library(highcharter)
# install.packages("palmerpenguins")
data(penguins, package = "palmerpenguins")
hchart(
penguins,
"scatter",
hcaes(x = ...
0
votes
0
answers
37
views
Trouble using "Knit" in RStudio. Keep getting an error that says my data isn't actually there [closed]
Working on a project for class and I keep getting an error every time I try and knit it. The project needs to be turned in as an HTML (be aware that the pictures shown are not finished)
I imported ...
0
votes
0
answers
39
views
Reticulate py_config() returns error, python310.dll - The specified module could not be found
Here's the code I'm running.
library("reticulate")
virtualenv_create("r-reticulate")
use_virtualenv("r-reticulate", required = TRUE)
Sys.setenv(RETICULATE_PYTHON = "...
1
vote
0
answers
45
views
Rstudio and "max-connections" when using R >4.4.x on WINDOWS
R > 4.4.x may be started from the command line with the following flag, --max-connections=X
Per CRAN "Changes in R 4.4.0":
New startup option --max-connections to set the maximum number ...
1
vote
0
answers
51
views
Keyboard shortcut to switch context to Terminal in RStudio?
I'm aware of
ctrl + 1 to switch context to the script pane
ctrl + 2 to switch context to the console pane
opt + shift + r to switch to and refresh the terminal (found here).
But what I really want ...
1
vote
0
answers
46
views
How to fix Fading Text RStudio IDE
When I scroll down into the script it seems that the text starts to fade and a top layer of text stays until I cliced again.
My specs:
Processor: Intel i7 1.8GHz, 2304 Mhz
RAM: 8 GB
I tried changing ...
0
votes
1
answer
38
views
knit and by chunk execution have different results in R Markdown
I work in RStudio, creating an R Markdown document that outputs some tables with metrics. When I clear everything from the global environment and execute the chunks one by one, I have valid results. ...
0
votes
0
answers
35
views
sending email using emayily, from shiny results in fatal error and an abort, whereas using an R script it works fine
#The following works fine:
library(httr) #http
library(emayili) #email
library(stringr) #string manipulation
smtp_server <- Sys.getenv("SMTP_SERVER")
smtp_port <- Sys.getenv("...
0
votes
0
answers
41
views
RStudio silly question - is there a way to get the cursor to go to final submitted line after highlighting several?
So, this is definitely a trivial and silly question about the RStudio environment. I resisted using it for years since I started off using R on Linux. I either use then native GUI or a text editor. ...
0
votes
0
answers
23
views
Using R languageserver in RStudio for code formatting
I have recently switched from using VSCode for my R projects to RStudio and found that the automatic code formatting in VSCode is much better compared to RStudios Reformat Code (Ctrl+Shift+A). I have ...