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 18,612 public repositories matching this topic...

dash
jameslamb
jameslamb commented Sep 29, 2019

One unit test in the R package is currently broken. Steps to reproduce on Mac

export CXX=/usr/local/bin/g++-8 CC=/usr/local/bin/gcc-8
Rscript build_r.R
cd R-package/tests
Rscript testthat.R

This results in the following error at the ends of the logs

[LightGBM] [Info] Saving data to binary file /var/folders/xq/wktq4zdx4jd3qdpk34d28m940000gn/T//RtmpiY1DzV/lgb.Dataset_1555

Open Source Fast Scalable Machine Learning Platform For Smarter Applications: Deep Learning, Gradient Boosting & XGBoost, Random Forest, Generalized Linear Modeling (Logistic Regression, Elastic Net), K-Means, PCA, Stacked Ensembles, Automatic Machine Learning (AutoML), etc.

  • Updated Jul 8, 2020
  • Jupyter Notebook
bhogan-mitre
bhogan-mitre commented Apr 8, 2020

Color is listed as a parameter in the documentation for geom_tile/geom_rect/geom_raster, but is ignored for geom_raster. Based on the documentation and the behavior of other geoms, I would expect that color would be applied for geom_raster.

library(ggplot2)
df <- expand.grid(x = 0:5, y = 0:5)
df$z <- runif(nrow(df))
ggplot(df, aes(x, y, fill = z)) + geom_raster(color = "blac
PyMap
PyMap commented Apr 13, 2020

Hi all!,

Just want to share with the team some details I've been experiencing while I executed notebooks from command line using a yaml file.

First, let me show my case. I've bee parametrizing different notebooks to isolate data wranlging processes. To do it, I needed to use lists of dictionaries to specifiy keys describing my data, such as area or paths where some files were stored. As all

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

jonathan-g
jonathan-g commented Nov 30, 2019

In a package project, if I create a vignette with

usethis::use_vignette("foo")

and then manually edit the YAML header of vignettes/foo.Rmd to have

output: 
  rmarkdown::html_vignette:
    keep_md: true

and then run

devtools::build_vignettes(keep_md = TRUE)

I get foo.Rmd, foo.R, and foo.html files in doc/, but no foo.md.

This may be the desire

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,

StrikerRUS
StrikerRUS commented Oct 18, 2019

I'm sorry if I missed this functionality, but CLI version hasn't it for sure (I saw the related code only in generate_code_examples.py). I guess it will be very useful to eliminate copy-paste phase, especially for large models.

Of course, piping is a solution, but not for development in Jupyter Notebook, for example.

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.