Skip to content
#

R

r logo

R is a free programming language and software environment for statistical computing and graphics. R has a wide variety of statistical linear and non-linear modeling and provides numerous graphical techniques.

Here are 16,516 public repositories matching this topic...

fabiangehring
fabiangehring commented Jul 22, 2019

hi,
the documentation of shiny::Progress says

initialize(session, min = 0, max = 1)
Creates a new progress panel (but does not display it).

Nevertheless it seems as if already the simple creation of a progress object (p<- Progress$new()) shows the Notification "message" without calling p$set(...) first.

here a very minimal example showing an undesired "message" notification.

``

hadley
hadley commented Jan 18, 2020

The introduction to dplyr is getting a little long in the tooth and needs a substantial refresh to make sure it covers the verbs included in dplyr 1.0.0.

  • Replace sample_n()/sample_frac() with slice() and related helpers
  • Add relocate()
  • Provide over arching organisation around row ops, column ops, and summarise()
  • Remove the "Grouped operations" section
  • [ ]
philip-khor
philip-khor commented Dec 21, 2019

In Section 3.5

The first argument of facet_wrap() should be a formula, which you create with ~ followed by a variable name (here “formula” is the name of a data structure in R, not a synonym for “equation”). The variable that you pass to facet_wrap() should be discrete.

However, the ggplot2 documentation for facet_wrap() states that the formula interface is there for compatibility in fa

nettoyoussef
nettoyoussef commented Oct 11, 2019

This is not an issue, but a recommendation.

I would like to suggest that in the docs available in the Rmarkdown book you include two examples in chapter 15 (parameterized reports):

  • passing parameters as raw markdown text for the parameterized reports.
  • setting the title using a parameter

This information is available in other parts of the book,

HerrMo
HerrMo commented Mar 8, 2019

Hi,

in the docu of getTaskData it says under recode.target: "For survival, you may choose to recode the survival times to 'left', 'right' or 'interval2' censored times using 'lcens', 'rcens' or 'icens', respectively."
This is not consistent with the implementation. If one of these options is chosen, e.g.recode.target = "rcens", an error occurs. Instead, recode.traget = "surv" works. See

DiagrammeR
Enchufa2
Enchufa2 commented Sep 16, 2019

Minimal example:

set.seed(123)
head(.Random.seed)
#> [1]      10403        624 -983674937  643431772 1162448557 -959247990
DiagrammeR::create_graph()
#> DiagrammeR Graph // no nodes
#>  ...
head(.Random.seed) # changed!
#> [1]      10403         16  515190382 2133433928  917665867 1283494313

This is because create_graph() calls sample to create a unique ID. This is unex

rich-iannone
rich-iannone commented Dec 21, 2019

For the md() and html() functions, we need to add a note that it's not safe to put untrusted user input in here (like database values that can be influenced by a potentially malicious user--even a username!--or literally anything from Shiny input) as it'd then be possible to inject JavaScript into the end result document.

Also, when RTF/LaTeX is supported, these docs will need to change to

aronatkins
aronatkins commented Aug 1, 2019

The entrypoint.R file exists to let developers construct their own custom router. The only documentation I could find is this reference in the help for the dir argument to plumber::plumb:

The directory containing the plumber.R file to parse as the plumber router definition. Alternatively, if an entrypoint.R file is found, it will take precedence and be responsible for returning a runnab

batpigandme
batpigandme commented Jan 21, 2020
  • Proofread title, description, and parameters
  • Proofread comments in examples
  • Ensure comment headings used to divide into scannable sections
  • Flag examples that seem overly complex for further review
  • Switch out mtcars/iris for something more interesting, or a smaller dataset constructed specifically to illustrate one point.
  • Review size of example outputs to en
batpigandme
batpigandme commented Jan 21, 2020
  • Proofread title, description, and parameters
  • Proofread comments in examples
  • Ensure comment headings used to divide into scannable sections
  • Flag examples that seem overly complex for further review
  • Switch out mtcars/iris for something more interesting, or a smaller dataset constructed specifically to illustrate one point.
  • Review size of example outputs to en
salim-b
salim-b commented Sep 7, 2019

When I set a cookie for a httr GET request, the provided cookie value always gets URL-encoded regardless if it already was or not:

library(magrittr)

# define cookie value
cookie_value <- "s:AK+G5ez1"

# URL-encode it
cookie_value_enc <- xml2::url_escape(cookie_value)

# make GET request supplying the URL-encoded cookie value
result <- httr::GET(url = "https://www.republik.ch/
sfirke
sfirke commented Feb 22, 2018

It would be neat to add the hex sticker to this library: http://hexb.in/

The specs for adding to the library are here: https://github.com/maxogden/hexbin

Someone would need to get the .ai file down from 1.5 MB to 500kb, and save it as a png with specific dimensions. I don't have Adobe Illustrator or know how to do this; if you can do this, it would be a nice way to contribute! I can't add

Created by Ross Ihaka, Robert Gentleman

Released August 1993

Website
www.r-project.org
Wikipedia
Wikipedia

Related Topics

language
You can’t perform that action at this time.