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

dash
jameslamb
jameslamb commented Apr 27, 2020

Working on #2963 , I see two warnings generated when building the R package using MSVC.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(467,5):
warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build.

config.cpp
C:\

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 Jun 11, 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

data-science-at-the-command-line
julianhatwell
julianhatwell commented Mar 8, 2020

The opening code example is given as:

$ echo 'foo\nbar\nfoo' | sort | uniq -c | sort -nr
2 foo
1 bar
$ echo 'foo\nbar\nfoo' | sort | uniq -c | sort -nr |

but should be:

$ echo -e 'foo\nbar\nfoo' | sort | uniq -c | sort -nr
2 foo
1 bar
$ echo -e 'foo\nbar\nfoo' | sort | uniq -c | sort -nr |

-e switch is required for interpolating escaped \n. Without it, the example

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.