ERROR: [on_request_read] connection reset by peer in R shiny

1 I get this error: multiple times in my console in my R-Shiny app. The program works as intended, bug free. My question is, is there a function or something I can implement in order to consume this error message and stop it from appearing in my console?

Categories r Tags

R Sweave: NO TeX installation detected

Usually Rstudio finds the correct path to your Latex installation automatically. In your case that doesn’t seem to be the case. After making sure Miktex is installed correctly (have you opened it and compiled a simple file?) you can set the pdflatex path manually: This is the path to my pdflatex.exe file, yours might live … Read more

Categories r Tags

What is the difference between require() and library()?

In addition to the good advice already given, I would add this: It is probably best to avoid using require() unless you actually will be using the value it returns e.g in some error checking loop such as given by thierry. In most other cases it is better to use library(), because this will give an error message at … Read more

How to prevent scientific notation in R?

To set the use of scientific notation in your entire R session, you can use the scipen option. From the documentation (?options): So in essence this value determines how likely it is that scientific notation will be triggered. So to prevent scientific notation, simply use a large positive value like 999:

Categories r Tags