Tool made for making your Programming life easier

Download for

chromeupdated on 2-4-2021

How to Use ?

R string ascii accents

r install package

r cbind vectors of unequal length

drop columns by index r

comment in r

r language comment

comments in r

r exit loop

r how to import tsv file

r set dataframe column names

r load packages

r convert date as timestamp

r number of columns or rows of result is not a multiple of vector length

r count number of na

suppress error r

R p value star

r while loop

r data types

r convert matrix to list of column vectors

rmarkdown section title as variable ##

r find elements in common between vectors

r double and triple colons

r set column values as rownames in dataframe

r dataframe column factor

r return index of rows that have NA in dataframe

r for loop

r convert vector to string

r extract everything before character

options kable NA

read csv online r

r stack data frames

r convert list to comma separated string

write to csv in r

r lists vs vectors

r replace na with 0

r difference between <- and =

r loops

r remove na from dataset

r change a single value in a dataframe

r create a list

add a vertical line in ggplot

r create a vector

r change row names of a dataframe

r import data

r data structures

R Markdonw - Hide plots

r read file

r merge inner join

r - remove scientific notations

ggplot - blank title of axis

ggplot2 multiple lines geom_line

r - transform as factor

r if else

list to vector r

rmarkdown put date

sort dataframe dplyr

r - change column name

r - extracting specific columns from a data frame

chart . js bar

turn legend off ggplot2

diff days R lubridate

replace na with 0 in R

percent of missing data in df r

lubridate sequence of dates

r dataframe append row

r number of blanks in the data

error installing devtools r

turn matrix into dataframe r

r extract top values from data frame

R drop columns

r - reorder columns in data frame

r combine strings

switch statement in r

r: rename a column

remove_all_labels(x)

ggplot: boxplot with trendline

count word in a string r

R vector all but last

remove all trailing whitspaces R

r dot product

grepl filter r

ggplot increase label font size

confusion matrix caret package r

angular material number picker

get list of words that are in two lists using set

get plot title over two lines R

rstudio refactor hotkey

how to get quantile summary statistics in r summarise

change the y ticks in r plot

regex examples

unpack list elements in dataframe R

convert all numeric columns to percentages R

disable the y axis in plot r

remove elements from character vector in r

angular display space navbar

save large nested list to text R

how to summarise data but keep columns R

how to source all fies from a directory in r

rmarkdown how to load workspace

R grid all possibilites between two vectors

residual plot in r

combine row for every element of vector r

insert character into string r

R squared regression in r with ggplot

try catch in r

ggplot - subset top 10 in a stack bar plot

remove the colour name from ggplot

r - if value in a df is between two number then add 1

not displaying prints and on.exit in r

r merge lists

r - split the data in queal ranges

bioFabric r

ggplot2 barplot order of bars

attr(* label )= chr in r

r clean environment

r merge lists with common elements

ggplot2 font times new roman

R find index where

color code in r

kableextra add custom label

diff division R

R convert list of lists into single numeric list

R total line text file

r make directory

How to remove duplicates based on the combinations of two columns r

multiple comment code in R

r function to get class of all columns

regex last word in string r

stat_poly_eq position

replace character with na r

r: network randomization test igprah stakoverflow

sql check if list of phrases exist in a string

st_combine by variables R

store list in data.frame R

combine scripts into a pipeline

r ggplot hide one legend group from multiple legends

kable thousand mark

why is only mean and max infinity in r

r - create a new empty variable in a dataset

replace na in a column with values from another df

round multiple columns in r

replace accented characters in r

geom_abline vertical line

factor in r

how to round all numeric column types in r

rstudio working directory

How to sort a dataframe by multiple column(s)

How to make a great R reproducible example

Grouping functions (tapply, by, aggregate) and the *apply family

How to join (merge) data frames (inner, outer, left, right)

Drop data frame columns by name

Remove rows with all or some NAs (missing values) in data.frame

How do I replace NA values with zeros in an R dataframe?

data.table vs dplyr: can one do something well the other can't or does poorly?

Rotating and spacing axis labels in ggplot2

What are the differences between “=” and “<-” assignment operators in R?

How to convert a factor to integer\numeric without loss of information?

How can we make xkcd style graphs?

Plot two graphs in same plot in R

How should I deal with “package 'xxx' is not available (for R version x.y.z)” warning?

How can I view the source code for a function?

Drop unused factor levels in a subsetted data frame

How to unload a package without restarting R

The difference between bracket [ ] and double bracket [[ ]] for accessing the elements of a list or dataframe

Test if a vector contains a given element

Run R script from command line

Convert a list to a data frame

Quickly reading very large tables as dataframes

Create an empty data.frame

How to find out which package version is loaded in R?

Tricks to manage the available memory in an R session

Cluster analysis in R: determine the optimal number of clusters

Counting the number of elements with the values of x in a vector

Changing column names of a data frame

How to find the statistical mode?

Why is `[` better than `subset`?

Check existence of directory and create if doesn't exist

How do I install an R package from source?

Extracting specific columns from a data frame

How can two strings be concatenated?

How to sum a variable by group

How to add leading zeros?

How to set limits for axes in ggplot2 R plots?

How to write trycatch in R

How can I trim leading and trailing white space?

Elegant way to check for missing packages and install them?

Side-by-side plots with ggplot2

How to rename a single column in a data.frame?

Write lines of text to a file in R

How to find the length of a string in R

Convert data.frame columns from factors to characters

Sample random rows in dataframe

How does one reorder columns in a data frame?

How to change legend title in ggplot

Function to clear the console in R and RStudio

How to Correctly Use Lists in R?

Plotting two variables as lines using ggplot2 on the same graph

Order Bars in ggplot2 bar graph

How to drop columns by name in a data frame

How to check if object (variable) is defined in R?

How to access the last value in a vector?

How to disable scientific notation?

How to save a plot as image on the disk?

How to properly document S4 class slots using Roxygen2?

Test if characters are in a string

Measuring function execution time in R

Evaluate expression given as a string

Extracting the last n characters from a string in R

How to reshape data from long to wide format

Concatenate a vector of strings/character

Update R using RStudio

Formatting Decimal places in R

Remove an entire column from a data.frame in R

How can I read command line parameters from an R script?

Replace specific characters within strings

Opposite of %in%: exclude rows with values specified in a vector

Why are these numbers not equal?

How to convert a data frame column to numeric type?

Expert R users, what's in your .Rprofile?

Simultaneously merge multiple data.frames in a list

Remove legend ggplot 2.2

YAML current date in rmarkdown

Tools for making latex tables in R

Determine path of the executing script

Split data frame string column into multiple columns

Boolean operators && and ||

Combine two data frames by rows (rbind) when they have different sets of columns

How do I delete rows in a data frame?

ggplot with 2 y axes on each side and different scales

How to change facet labels?

Append an object to a list in R in amortized constant time, O(1)?

Add regression line equation and R^2 on graph

Remove all of x axis labels in ggplot

Split a vector into chunks

Force R not to use exponential notation (e.g. e+10)?

How to import multiple .csv files at once?

How can I remove all objects but one from the workspace in R?

How to plot two histograms together in R?

R data formats: RData, Rda, Rds etc

How to assign from a function which returns more than one value?

Find the day of a week

Change R default library path using .libPaths in Rprofile.site fails to work

Standardize data columns in R

Where does R store packages?

Import text file as single character string

Print string and variable contents on the same line in R

Increase number of axis ticks

R - Markdown avoiding package loading messages

Explicitly calling return in a function or not

Emulate ggplot2 default color palette

Filter rows which contain a certain string

Changing font size and direction of axes text in ggplot2

How do you delete a column by name in data.table?

Display / print all rows of a tibble (tbl_df)

Remove NA values from a vector

Calculating moving average

Selecting only numeric columns from a data frame

Speed up the loop operation in R

Extract a dplyr tbl column as a vector

Plot a legend outside of the plotting area in base graphics?

Reasons for using the set.seed function

pull out p-values and r-squared from a linear regression

How to use R's ellipsis feature when writing your own function?

Set margin size when converting from Markdown to PDF with pandoc

ggplot2 line chart gives “geom_path: Each group consist of only one observation. Do you need to adjust the group aesthetic?”

How can I handle R CMD check “no visible binding for global variable” notes when my ggplot2 syntax is sensible?

Label points in geom_point

How to select a CRAN mirror in R

Load multiple packages at once

Use dynamic variable names in `dplyr`

Workflow for statistical analysis and report writing

Can dplyr package be used for conditional mutating?

How to suppress warnings globally in an R Script

“Correct” way to specifiy optional arguments in R functions

Show percent % instead of counts in charts of categorical variables

Fixing a multiple warning “unknown column”

Capitalize the first letter of both words in a two word string

How to assign colors to categorical variables in ggplot2 that have stable mapping?

Mean per group in a data.frame

Numbering rows within groups in a data frame

Reshaping data.frame from wide to long format

Most underused data visualization

For each row in an R dataframe

How to combine multiple conditions to subset a data-frame using “OR”?

Compare two data.frames to find the rows in data.frame 1 that are not present in data.frame 2

Convert data.frame column to a vector?

session not created: This version of ChromeDriver only supports Chrome version 74 error with ChromeDriver Chrome using Selenium

Access lapply index names inside FUN

How to convert a table to a data frame

How to prevent ifelse() from turning Date objects into numeric objects

Call apply-like function on each row of dataframe with multiple arguments from each row

Importing data from a JSON file into R

Problems installing the devtools package

How to split data into training/testing sets using sample function

Fastest way to find second (third…) highest/lowest value in vector or column

Determine the data types of a data frame's columns

remove kernel on jupyter notebook

Relative frequencies / proportions with dplyr

Append value to empty vector in R?

Change size of axes title and labels in ggplot2

How to count TRUE values in a logical vector

How do I clear only a few specific objects from the workspace?

Order data frame rows according to vector with specific order

Remove duplicated rows

Repeat each row of data.frame the number of times specified in a column

What's the difference between `1L` and `1`?

Add new row to dataframe, at specific row-index, not appended?

Convert data.frame column format from character to factor

Convert row names into first column

Find file name from full file path

How to organize large R programs?

Filter data.frame rows by a logical condition

How to remove all whitespace from a string?

Annotating text on individual facet in ggplot2

Remove plot axis values

Group by multiple columns in dplyr, using string vector input

Painless way to install a new version of R?

Remove columns from dataframe where ALL values are NA

R memory management / cannot allocate vector of size n Mb

Installing R with Homebrew

How to set size for local image using knitr for markdown?

rotating axis labels in R

R: += (plus equals) and ++ (plus plus) equivalent from c++/c#/java, etc.?

Replace all 0 values to NA

Aggregate / summarize multiple variables per group (e.g. sum, mean)

How to increase font size in a plot in R?

Global variables in R

How to delete a row by reference in data.table?

Determine the number of NA values in a column

Replacing NAs with latest non-NA value

promise already under evaluation: recursive default argument reference or earlier problems?

Fastest way to replace NAs in a large data.table

Returning multiple objects in an R function

Should I use a data.frame or a matrix?

What's the difference between lapply and do.call?

Check for installed packages before running install.packages()

Difference between R MarkDown and R NoteBook

Select rows of a matrix that meet a condition

Using the rJava package on Win7 64 bit with R

Is there a way to make R beep/play a sound at the end of a script?

Count number of occurences for each unique value

Add a common Legend for combined ggplots

How to wait for a keypress in R?

ggplot2 plot without axes, legends, etc

Determining memory usage of objects?

Using R to list all files with a specified extension

How do you use “<<-” (scoping assignment) in R?

Select multiple columns in data.table by their numeric indices

Equivalent of “throw” in R

How to catch integer(0)?

Select first and last row from grouped data

How to generate a number of most distinctive colors in R?

How to format a number as percentage in R?

Saving grid.arrange() plot to file

Extract a substring according to a pattern

Installing older version of R package

Omit rows containing specific column of NA

Conditionally Remove Dataframe Rows with R

Ignore outliers in ggplot2 boxplot

How can a add a row to a data frame in R?

increase legend font size ggplot2

R command for setting working directory to source file location in Rstudio

How to create empty data frame with column names specified in R?

Scatterplot with marginal histograms in ggplot2

Remove duplicated rows using dplyr

In R, how to get an object's name after it is sent to a function?

Order discrete x scale by frequency/value

Split code over multiple lines in an R script

Assign multiple columns using := in data.table, by group

Linking R and Julia?

grep using a character vector with multiple patterns

R - Concatenate two dataframes?

How do I change the formatting of numbers on an axis with ggplot?

Warning message: In `…` : invalid factor level, NA generated

Why is rbindlist “better” than rbind?

How to make execution pause, sleep, wait for X seconds in R?

R apply function with multiple parameters

How to change line width in ggplot?

Remove 'a' from legend when using aesthetics and geom_text

How to succinctly write a formula with many variables from a data frame?

What does %>% function mean in R?

Apply a function to every row of a matrix or a data frame

data.frame rows to a list

facet label font size

Replace a value in a data frame based on a conditional (`if`) statement

Scatterplot with too many points

Increasing (or decreasing) the memory available to R processes

Overlaying histograms with ggplot2 in R

Is there a way to change the spacing between legend items in ggplot2?

ggplot does not work if it is inside a for loop although it works outside of it

What are the differences between vector and list data types in R?

How to remove space between axis & area-plot in ggplot2?

Extract every nth element of a vector

Editing legend (text) labels in ggplot

Sort rows in data.table in decreasing order on string key `order(-x,v)` gives error on data.table 1.9.4 or earlier

How to make graphics with transparent background in R using ggplot2?

Setting individual axis limits with facet_wrap and scales = “free” in ggplot2

Convert UNIX epoch to Date object

Using R to download zipped data file, extract, and import data

How to avoid warning when introducing NAs by coercion

Reorder levels of a factor without changing order of values

How to create a density plot in matplotlib?

Persistent invalid graphics state error when using ggplot2

How to use a variable to specify column name in ggplot

Count number of rows within each group

How to read data when some numbers contain commas as thousand separator?

How to combine two lists in R

Why can't R's ifelse statements return vectors?

How can I plot with 2 different y-axes?

Applying a function to every row of a table using dplyr?

Convert a row of a data frame to vector

How to reorder data.table columns (without copying)

rJava load error in RStudio/R after “upgrading” to OSX Yosemite

Convert a matrix to a 1 dimensional array

Finding row index containing maximum value using R

How to force R to use a specified factor level as reference in a regression?

How to append rows to an R data frame

ggplot: How to increase spacing between faceted plots?

Getting LaTeX into R Plots

Error in plot.new() : figure margins too large, Scatter plot

How to select the rows with maximum values in each group with dplyr?

R object identification

Control the size of points in an R scatterplot?

How to add elements to a list in R (loop)

Convert column classes in data.table

Create a matrix of scatterplots (pairs() equivalent) in ggplot2

General suggestions for debugging in R

Force R to stop plotting abbreviated axis labels - e.g. 1e+00 in ggplot2

Combine two or more columns in a dataframe into a new column with a new name

Replacement for “rename” in dplyr

How to change language settings in R

'Incomplete final line' warning when trying to read a .csv file into R

Can dplyr join on multiple columns or composite key?

How to add \newpage in Rmarkdown in a smart way?

Convert the values in a column into row names in an existing data frame

Rolling median algorithm in C

Adding a column to a data.frame

How to convert variable (object) name into String

To find whether a column exists in data frame or not

Finding ALL duplicate rows, including “elements with smaller subscripts”

remove legend title in ggplot

Extract a regular expression match

Error in plot.new() : figure margins too large in R

Split comma-separated strings in a column into separate rows

R: rJava package install failing

Printing newlines with print() in R

remove all variables except functions

Select first 4 rows of a data.frame in R

How to remove last n characters from every element in the R vector

Controlling number of decimal digits in print output in R

How to test if list element exists?

Scheduling R Script

`levels<-`( What sorcery is this?

Increase distance between text and title on the y-axis

Check if the number is integer

How do I sort one vector based on values of another

Creating an R dataframe row-by-row

What is the purpose of setting a key in data.table?

Remove data.frame row names when using xtable

Split delimited strings in a column and insert as new rows

What does “not run” mean in R help pages?

Showing data values on stacked bar chart in ggplot2

How to calculate the number of occurrence of a given character in each row of a column of strings?

Split column at delimiter in data frame

How do I import a CSV file in R?

Change value of variable with dplyr

Extract month and year from a zoo::yearmon object

How to include (source) R script in other scripts

Filtering a data frame by values in a column

ggplot2 legend to bottom and horizontal

Is it possible to have a multi-line comments in R?

How to draw an empty plot?

Export a graph to .eps file with R

Getting and removing the first character of a string

passing several arguments to FUN of lapply (and others *apply)

Gather multiple sets of columns

R script line numbers at error?

Extracting numbers from vectors of strings

Specifying colClasses in the read.csv

rgdal package installation

How do I combine two data-frames based on two columns?

R: use magrittr pipe operator in self written package

Gradient of n colors ranging from color 1 and color 2

Breaking loop when “warnings()” appear in R

detach all packages while working in R

Transpose a data frame

Geometric Mean: is there a built-in?

Automatically expanding an R factor into a collection of 1/0 indicator variables for every factor level

Multiline Comment Workarounds?

Remove grid, background color, and top and right borders from ggplot2

Confusion between factor levels and factor labels

Selecting data frame rows based on partial string match in a column

Limit ggplot2 axes without removing data (outside limits): zoom

How to use Greek symbols in ggplot2?

For each row return the column name of the largest value

Subscripts in plots in R

Convert string to a variable name

Sum across multiple columns with dplyr

Left align two graph edges (ggplot)

How to add texture to fill colors in ggplot2

Test for equality among all elements of a single numeric vector

Position geom_text on dodged barplot

How to put labels over geom_bar for each bar in R with ggplot2

Disable messages upon loading a package

Specify custom Date format for colClasses argument in read.table/read.csv

How to use the 'sweep' function

How do I make a matrix from a list of vectors in R?

Programmatically creating Markdown tables in R with KnitR

Fixing the order of facets in ggplot

ggplot2 keep unused levels barplot

R: Comment out block of code

Paste multiple columns together

Replace X-axis with own values

How can I manipulate the strip text of facet_grid plots?

Hosting and setting up own shiny apps without shiny server

filter for complete cases in data.frame using dplyr (case-wise deletion)

Unique combination of all elements from two (or more) vectors

How to change the default font size in ggplot2

Comma separator for numbers in R?

Intelligent point label placement in R

How to remove outliers from a dataset

Rotating x axis labels in R for barplot

How to select the row with the maximum value in each group

How to not run an example using roxygen2?

How to round up to the nearest 10 (or 100 or X)?

Converting string to numeric

R programming: How do I get Euler's number?

Linear Regression and group by in R

How to name variables on the fly?

Subset of rows containing NA (missing) values in a chosen column of a data frame

List distinct values in a vector in R

How to disable “Save workspace image?” prompt in R?

Exception handling in R

R dplyr: Drop multiple columns

Sort columns of a dataframe by column name

Difference between as.POSIXct/as.POSIXlt and strptime for converting character vectors to POSIXct/POSIXlt

R for loop skip to next iteration ifelse

Choosing between qplot() and ggplot() in ggplot2

Replace all particular values in a data frame

Shading a kernel density plot between two points.

How can I load an object into a variable name that I specify from an R data file?

Repeat rows of a data.frame

What's the fastest way to merge/join data.frames in R?

Fitting a density curve to a histogram in R

Working with dictionaries/lists in R

dplyr: “Error in n(): function should not be called directly”

Convert a vector into a list, each element in the vector as an element in the list

Read an Excel file directly from a R script

Factors in R: more than an annoyance?

How do I arrange a variable list of plots using grid.arrange?

Regex group capture in R with multiple capture-groups

Gantt charts with R

What are the “standard unambiguous date” formats for string-to-date conversion in R?

Converting year and month (“yyyy-mm” format) to a date?

Remove extra legends in ggplot2

Case Statement Equivalent in R

How to create an empty R vector to add new items

How to left align text in annotate from ggplot2

How can I obtain an 'unbalanced' grid of ggplots?

group by two columns in ggplot2

Read fixed width text file

Remove part of a string

Apply several summary functions on several variables by group in one call

Plot correlation matrix into a graph

How can I arrange an arbitrary number of ggplots using grid.arrange?

ggplot2 plot area margins?

Importing Excel files into R, xlsx or xls

In R, how to find the standard error of the mean?

Suppress output of a function

Inverse of matrix in R

Parse JSON with R

Add (insert) a column between two columns in a data.frame

How to create a numeric vector of zero length in R

Convert Named Character Vector to data.frame

Create a variable name with “paste” in R?

R ggplot2: stat_count() must not be used with a y aesthetic error in Bar graph

Add an index (numeric ID) column to large data frame

Easy way to export multiple data.frame to multiple Excel worksheets

Assign multiple new variables on LHS in a single line

How to specify names of columns for x and y when joining in dplyr?

how to increase the limit for max.print in R

How can I extract plot axes' ranges for a ggplot2 object?

How to fix the aspect ratio in ggplot?

How to add a ggplot2 subtitle with different size and colour?

Quit and restart a clean R session from within R?

Understanding the order() function

dplyr mutate with conditional values

break/exit script

How to tell what is in one vector and not another?

How to display only integer values on an axis using ggplot2

Sankey Diagrams in R?

Select first element of nested list

File path issues in R using Windows (“Hex digits in character string” error)

Remove facet_wrap labels completely

How to add table of contents in Rmarkdown?

How to subset matrix to one column, maintain matrix data type, maintain row/column names?

Why does unlist() kill dates in R?

How to source R Markdown file like `source('myfile.r')`?

What is the most useful R trick?

How to fit a smooth curve to my data in R?

Find the location of a character in string

Rstudio rmarkdown: both portrait and landscape layout in a single PDF

How to listen for more than one event expression within a Shiny eventReactive handler

Error: C stack usage is too close to the limit

Generate a dummy-variable

Extract year from date

How can I create a correlation matrix in R?

How to delete the first row of a dataframe in R?

How to apply same function to every specified column in a data.table

Trimming a huge (3.5 GB) csv file to read into R

Split text string in a data.table columns

How to do vlookup and fill down (like in Excel) in R?

Fitting polynomial model to data in R

dplyr mutate/replace several columns on a subset of rows

How to parse milliseconds?

Extracting time from POSIXct

Creating a Prompt/Answer system to input data into R

Error: gdal-config not found while installing R dependent packages whereas gdal is installed

How can I build a model to distinguish tweets about Apple (Inc.) from tweets about apple (fruit)?

Select columns based on string match - dplyr::select

Extract the first (or last) n characters of a string

Formula with dynamic number of variables

Count number of rows by group using dplyr

Rename multiple columns by names

Handling java.lang.OutOfMemoryError when writing to Excel from R

How to delete columns that contain ONLY NAs?

How to overlay density plots in R?

Usage of `…` (three-dots or dot-dot-dot) in functions

Save a plot in an object

Why is `vapply` safer than `sapply`?

How do you add a general label to facets in ggplot2?

Use a value from the previous row in an R data.table calculation

Count the number of all words in a string

Removing empty rows of a data file in R

Get all Parameters as List

Position of the sun given time of day, latitude and longitude

Sum rows in data.frame or matrix

Error: could not find function “%>%”

equivalent of a python dict in R

Convert a data frame to a data.table without copy

How to convert a matrix to a list of column-vectors in R?

Change the class from factor to numeric of many columns in a data frame

Is there a way to use read.csv to read from a string value rather than a file in R?

How to replace NA values in a table for selected columns

How to randomize a vector

ggplot plots in scripts do not display in Rstudio

set only lower bound of a limit for ggplot

can I change the position of the strip label in ggplot from the top to the bottom?

How can I interrupt a running code in R with a keyboard command?

Move a column to first position in a data frame

Get column index from label in a data frame

How can I suppress the vertical gridlines in a ggplot2 plot?

How to use the switch statement in R functions?

How to coerce a list object to type 'double'

unique() for more than one variable

How to see the source code of R .Internal or .Primitive function?

What's the difference between facet_wrap() and facet_grid() in ggplot2?

shiny 4 small textInput boxes side-by-side

Change the Blank Cells to “NA”

How to print (to paper) a nicely-formatted data frame

Create a data.frame where a column is a list

Undefined columns selected when subsetting data frame

R: what are Slots?

R Error in x$ed : $ operator is invalid for atomic vectors

Shiny: what is the difference between observeEvent and eventReactive?

Plot labels at ends of lines

Pasting two vectors with combinations of all vectors' elements

Plot multiple boxplot in one graph

Change the spacing of tick marks on the axis of a plot?

Histogram with Logarithmic Scale and custom breaks

Remove part of string after “.”

Collapse / concatenate / aggregate a column to a single comma separated string within each group

R - How to test for character(0) in IF statement

Counting unique / distinct values by group in a data frame

Read all worksheets in an Excel workbook into an R list with data.frames

Installing R from CRAN Ubuntu repository: No Public Key Error

How to plot all the columns of a data frame in R

How to obtain a list of directories within a directory, like list.files(), but instead “list.dirs()”

Get the difference between dates in terms of weeks, months, quarters, and years

Is there a built-in way to do a logarithmic color scale in ggplot2?

Return index of the smallest value in a vector?

Extract regression coefficient values

Control point border thickness in ggplot

How to get summary statistics by group

Get filename without extension in R

Select rows from a data frame based on values in a vector

Removing non-ASCII characters from data files

Reset par to the default values at startup

Select random element in a list of R?

Simple way to subset SpatialPolygonsDataFrame (i.e. delete polygons) by attribute in R

Combine legends for color and shape into a single legend

Changing line colors with ggplot()

How to prevent scientific notation in R?

How to use random forests in R with missing values?

How to move or position a legend in ggplot2

Virtual environment in R?

python equivalent of R table

Windows 7, update.packages problem: “unable to move temporary installation”?

Split string based on alternating character in R

Importing a big xlsx file into R?

R install.packages returns “failed to create lock directory”

Unique on a dataframe with only selected columns

Merge Two Lists in R

Can dplyr summarise over several variables without listing each one?

How to split a data frame?

What is difference between dataframe and list in R?

Proxy setting for R

Find duplicate values in R

Do not want scientific notation on plot axis

ggplot2: Adjust the symbol size in legends

dplyr filter: Get rows with minimum of variable, but only the first if multiple minima

Extract row corresponding to minimum value of a variable by group

Multiply rows of matrix by vector?

Conditional replacement of values in a data.frame

Convert from lowercase to uppercase all values in all character variables in dataframe

dplyr::select one column and output as vector

Error: package or namespace load failed for ggplot2 and for data.table

Find indices of duplicated rows

Include code that does not run in Rpresentation Markdown

auto.arima() equivalent for python

Create a numeric vector with names in one statement?

Find duplicated elements with dplyr

R: removing NULL elements from a list

RMarkdown: How to change the font color?

Using Caret Package but Getting Error in library(e1071)

Does R have function startswith or endswith like python?

ggplot2 - annotate outside of plot

How do I check the existence of a downloaded file

Subscript letters in ggplot axis label

Plot multiple lines (data series) each with unique color in R

Filter multiple values on a string column in dplyr

Finding local maxima and minima

Replacing character values with NA in a data frame

Use tryCatch skip to next value of loop upon error?

Select only rows if its value in a particular column is less than the value in the other column

Pass a string as variable name in dplyr::filter

How to show code but hide output in RMarkdown?

How to group data.table by multiple columns?

How to flatten a list of lists?

Combine base and ggplot graphics in R figure window

Options for caching / memoization / hashing in R

Auto-format R code in RStudio

How to plot a function curve in R

Boxplot show the value of mean

Imported a csv-dataset to R but the values becomes factors

Avoid ggplot sorting the x-axis while plotting geom_bar()

How to turn a vector into a matrix in R?

Code to clear all plots in RStudio

R: losing column names when adding rows to an empty data frame

Merge Multiple spaces to single space; remove trailing/leading spaces

R move column to last using dplyr

Fastest way to detect if vector has at least 1 NA?

Extract the maximum value within each group in a dataframe

Keeping trailing zeros

Legend on bottom, two rows wrapped in ggplot2 in r

How to convert R Markdown to HTML? I.e., What does “Knit HTML” do in Rstudio 0.96?

Controlling ggplot2 legend display order

Lattice: multiple plots in one window?

How to create an empty matrix in R?

Access a URL and read Data with R

Overlay normal curve to histogram in R

R Reading in a zip data file without unzipping it

Saving a high resolution image in R

Coerce multiple columns to factors at once

How to convert Excel date format to proper date in R

dplyr change many data types

How to save data file into .RData?

Can you pass-by-reference in R?

Fitting several regression models with dplyr

All Levels of a Factor in a Model Matrix in R

Efficiently convert backslash to forward slash in R

Create a Vector of All Days Between Two Dates

How to declare a vector of zeros in R

Merge two data frames while keeping the original row order

How can I print when using %dopar%

R pass variable column indices to ggplot2

Unable to install packages in latest version of RStudio and R Version.3.1.1

Replace multiple letters with accents with gsub

Create stacked barplot where each stack is scaled to sum to 100%

How to get the second sub element of every element in a list

Getting path of an R script

Outputting multiple lines of text with renderText() in R shiny

Getting strings recognized as variable names in R

Any way to make plot points in scatterplot more transparent in R?

Decompress gz file using R

How do I copy and paste data into R from the clipboard?

Convert named list to vector with values only

dplyr mutate rowSums calculations or custom functions

How to increase the number of columns using R in Linux

Calculate the mean by group

Using ggplot2, can I insert a break in the axis?

Proper/fastest way to reshape a data.table

Re-ordering factor levels in data frame

Getting Warning: “ 'newdata' had 1 row but variables found have 32 rows” on predict.lm

dplyr::select function clashes with MASS::select

List of ggplot2 theme options?

Comparing gather (tidyr) to melt (reshape2)

Legend placement, ggplot, relative to plotting region

How to organize large Shiny apps?

Convert R vector to string vector of 1 element

How to convert a huge list-of-vector to a matrix more efficiently?

Round up from .5

dplyr summarise_each with na.rm

How can I spread repeated measures of multiple variables into wide format?

Change variable name in for loop using R

How to find the highest value of a column in a data frame in R?

What specifically are the dangers of eval(parse(…))?

Unseen factor levels when appending new records with unseen string values to a dataframe, cause Warning and result in NA

Moving columns within a data.frame() without retyping

Convert all data frame character columns to factors

R adding days to a date

do-while loop in R

data.frame Group By column

Compare two character vectors in R

Delete rows with blank values in one particular column

Understanding `scale` in R

rbind error: “names do not match previous names”

Extract p-value from aov

Forcing garbage collection to run in R with the gc() command

How to save a plot made with ggplot2 as SVG

Function to calculate geospatial distance between two points (lat,long) using R

When using “geom_histogram” there is error “unit(tic_pos.c, ”mm“) : 'x' and 'units' must have length > 0”. Why

Plot size and resolution with R markdown, knitr, pandoc, beamer

Modifying fonts in ggplot2

How to subtract/add days from/to a date?

ggplot2: facet_wrap strip color based on variable in data set

Read a CSV from github into R

Append data frames together in a for loop

Converting two columns of a data frame to a named vector

ggplot2 reverse order of scale_brewer

Replace all occurrences of a string in a data frame

Appending a list to a list of lists in R

Install udunits2 package for R3.3

Cartesian product data frame

Reading text file with multiple space as delimiter in R

Shift legend into empty facets of a faceted plot in ggplot2

extract hours and seconds from POSIXct for plotting purposes in R

Automatically Delete Files/Folders

Why does NaN^0 == 1

geom_rect and alpha - does this work with hard coded values?

Add lines to a file

Subset and ggplot2

Combining paste() and expression() functions in plot labels

How to clean up R memory (without the need to restart my PC)?

Convert factor to integer

Draw a circle with ggplot2

Export CSV without col.names

How do I extract a single column from a data.frame as a data.frame?

How to increase the space between the bars in a bar plot in ggplot2?

Calculate the Area under a Curve

Subsetting R data frame results in mysterious NA rows

How to check if two data frames are equal

How to install multiple packages?

Access variable value where the name of variable is stored in a string

How can I check whether a function call results in a warning?

Global variables in packages in R

How to install development version of R packages github repository

how do you send email from R

ggplot2, facet_grid, free scales?

two-column layouts in RStudio presentations/slidify/pandoc

Wrap long axis labels via labeller=label_wrap in ggplot2

Adding greek character to axis title

Get the column number in R given the column name

Remove Rows From Data Frame where a Row matches a String

ggplot2 bar plot, no space between bottom of geom and x axis keep space above

Applying group_by and summarise on data while keeping all the columns' info

Library is not writable

How do I rename files using R?

Controlling line color and line type in ggplot legend

How to remove a directory in R?

Add a month to a Date

Read a text file in R line by line

Subset data to contain only columns whose names match a condition

How to use grep()/gsub() to find exact match

R Not in subset

Aggregate Daily Data to Month/Year intervals

SQL Server RODBC Connection

R: Break for loop

R: Custom Legend for Multiple Layer ggplot

Calculate row means on subset of columns

Unexpected 'else' in “else” error

Subset rows corresponding to max value by group using data.table

Make R exit with non-zero status code

How to visualize a large network in R?

Add a prefix to column names

Cleaning up factor levels (collapsing multiple levels/labels)

R + ggplot : Time series with events

Creating multi column legend in ggplot

How to reset par(mfrow) in R

rmarkdown: pandoc: pdflatex not found

tooltip on shiny R?

Pass arguments to dplyr functions

Getting a function name as a string

Why do R objects not print in a function or a “for” loop?

How to put labels over geom_bar in R with ggplot2

Explain a lazy evaluation quirk

How to merge color, line style and shape legends in ggplot

Locate the “.Rprofile” file generating default options

alternative to “!is.null()” in R

Rearrange dataframe to a table, the opposite of “melt”

Customize axis labels

Scale and size of plot in RStudio shiny

Seeing if data is normally distributed in R

R: numeric 'envir' arg not of length one in predict()

First letter to upper case

How to sort a data frame by date

Adding time to POSIXct object in R

How can I remove the legend title in ggplot2?

ggplot2: sorting a plot

store output of system command into a variable in r

How to paste a string on each element of a vector of strings using apply in R?

making matplotlib graphs look like R by default?

calculate the mean for each column of a matrix in R

Find row and column index of maximum value in a matrix

How can I document data sets with roxygen?

Select the top N values by group

How to change the default time zone in R?

ggplot2 two-line label with expression

R: sourcing files using a relative path

“%%” and “%/%” for the remainder and the quotient

Prevent unlist to drop NULL values

Using `geom_line()` with X axis being factors

How to draw a crystal ball with two-color particles inside

Formatting dates on X axis in ggplot2

Formatting dates with scale_x_date in ggplot2

Nested ifelse statement

2 column Section in R Markdown

Select subset of columns in data.table R

qqnorm and qqline in ggplot2

How do I change the number of decimal places on axis labels in ggplot2?

Sum a list of matrices

Extract file extension from file path

Remove empty elements from list with character(0)

Putting mathematical symbols and subscripts mixed with regular letters

How to read first 1000 lines of .csv file into R?

R dates “origin” must be supplied

R + combine a list of vectors into a single vector

R knitr Markdown: Output Plots within For Loop

Convert data frame with date column to timeseries

Create dynamic number of input elements with R/Shiny

Force character vector encoding from “unknown” to “UTF-8” in R

How can one work fully generically in data.table in R with column names in variables

What's the biggest R-gotcha you've run across?

Generating all distinct permutations of a list in R

R define dimensions of empty data frame

Changing factor levels with dplyr mutate

Venn diagram proportional and color shading with semi-transparency

Left join using data.table

Scale a series between two points

Chopping a string into a vector of fixed width character elements

Splitting a continuous variable into equal sized groups

multiple authors and subtitles in Rmarkdown yaml

Place a border around points

Delete rows containing specific strings in R

Horizontal Barplot in ggplot2

Putting x-axis at top of ggplot2 chart

Find the n most common values in a vector

Merge data frames based on rownames in R

if else condition in ggplot to add an extra layer

How do you print to stderr in R?

Diagnosing R package build warning: “LaTeX errors when creating PDF version”

How to italicize part (one or two words) of an axis title

Namespaces in R packages

How does one stop using rowwise in dplyr?

How to convert a list consisting of vector of different lengths to a usable data frame in R?

Read Stata 13 file in R

How to fix spaces in column names of a data.frame (remove spaces, inject dots)?

Rotate a Matrix in R by 90 degrees clockwise

Aggregate a dataframe on a given column and display another column

Left join only selected columns in R with the merge() function

How to detect the right encoding for read.csv?

How to convert R formula to text?

Read SPSS file into R

standard evaluation in dplyr: summarise a variable given as a character string

Sort a data.table fast by Ascending/Descending order

Reset the graphical parameters back to default values without use of dev.off()

“long vectors not supported yet” error in Rmd but not in R Script

Count number of records and generate row number within each group in a data.table

Emacs mode for R?

Apply function to each column in a data frame observing each columns existing data type

Method to extract stat_smooth line fit

How to subtract years?

How to add new column to an dataframe (to the front not end)?

detecting operating system in R (e.g. for adaptive .Rprofile files)

Generate list of all possible combinations of elements of vector

Transparent equivalent of given color

groupby weighted average and sum in pandas dataframe

plot legends without border and with white background

ggplot2 pdf import in Adobe Illustrator missing font AdobePiStd

Installing rgl on Ubuntu and Mac: X11 not found

Count number of rows per group and add result to original data frame

Common main title of a figure panel compiled with par(mfrow)

Warning about UTF-8 with roxygen2

R Markdown - changing font size and font type in html output

Initializing data.frames()

How to get Leaflet for R use 100% of Shiny dashboard height

Add panel border to ggplot2

Get specific object from Rdata file

How to specify “does not contain” in dplyr filter

Overlay histogram with density curve

How to control number of decimal digits in write.table() output?

Why TRUE == “TRUE” is TRUE in R?

Remove quotes from a character vector in R

Using gsub to extract character string before white space in R

How to return a error message in R?

Aggregating by unique identifier and concatenating related values into a string

Remove last N rows in data frame with the arbitrary number of rows

How to save a data frame as CSV to a user selected location using tcltk

What techniques exists in R to visualize a “distance matrix”?

Passing list of named parameters to function?

Multi-row x-axis labels in ggplot line chart

How to change the locale of R?

How to pass command-line arguments when calling source() on an R file within another R file

Assigning NULL to a list element in R?

Function default arguments and named values

How does one change the levels of a factor column in a data.table

How to extract the fill colours from a ggplot object?

Adding a column to a dataframe in R

How can I make consistent-width plots in ggplot (with legends)?

ld: warning: text-based stub file are out of sync. Falling back to library file for linking

Inverse of ggplotGrob?

Replace missing values with column mean

How to solve the error “ missing required header GL/gl.h” while installing the Package mvoutlier in R?

Why are my dplyr group_by & summarize not working properly? (name-collision with plyr)

Importing data into R from google spreadsheet

Using dplyr window functions to calculate percentiles

Summarize with conditions in dplyr

Adjust plot title (main) position

Normalizing y-axis in histograms in R ggplot to proportion

How to suppress warnings when plotting with ggplot

calculating number of days between 2 columns of dates in data frame

Force ggplot2 scatter plot to be square shaped

Avoid wasting space when placing multiple aligned plots onto one page

R round to nearest .5 or .1

How to select R data.table rows based on substring match (a la SQL like)

install.packages fails in knitr document: “trying to use CRAN without setting a mirror”

When documenting in Roxygen: How do I make an itemized list in @details?

R:how to get grep to return the match, rather than the whole string

Row names & column names in R

How do I suppress row names when using DT::renderDataTable in R shiny?

ggmap Error: GeomRasterAnn was built with an incompatible version of ggproto

How to exclude one column from data.table OR convert to data.table to MTS

Create dataframe from a matrix

How to connect R with Access database in 64-bit Window?

How to do a data.table merge operation

Difference between read.csv() and read.csv2() in R

Multiple functions in one .Rd file

Replace all values in a matrix <0.1 with 0

What are Python pandas equivalents for R functions like str(), summary(), and head()?

dplyr issues when using group_by(multiple variables)

Correct syntax for mutate_if

Convert a numeric month to a month abbreviation

Remove all text before colon

How to merge 2 vectors alternating indexes?

How can I know if R is running on 64 bits versus 32?

Grouping 2 levels of a factor in R

Merge or combine by rownames

add commas into number for output

Extract Month and Year From Date in R

Extract the first 2 Characters in a string

Roxygen2 - how to properly document S3 methods

How do you convert POSIX date to day of year?

How do I generate a list with a specified increment step?

R - test if first occurrence of string1 is followed by string2

“Out of Memory Error (Java)” when using R and XLConnect package

Combine column to remove NA's

case_when in mutate pipe

Compare if two dataframe objects in R are equal?

Code chunk font size in Rmarkdown with knitr and latex

Add row to a data frame with total sum for each column

Colour points in a plot differently depending on a vector of values

how to delete a file with R?

Scatter plot with error bars

R expand.grid() function in Python

What ways are there to edit a function in R?

Extract info inside all parenthesis in R

Emacs ESS Mode - Tabbing for Comment Region

Error in contrasts when defining a linear model in R

Pass a vector of variables into lm() formula

Learning R. Where does one Start?

How to combine 2 plots (ggplot) into one plot?

Add a dotted vertical line on certain x-axis values using ggplot

Rescaling the y axis in bar plot causes bars to disappear : R ggplot2

How to collapse a list of characters into a single string in R

How to output text in the R console without creating new lines?

Is there an R equivalent of the pythonic “if __name__ == ”__main__“: main()”?

dplyr: how to reference columns by column index rather than column name using mutate?

R inconsistency: why add=T sometimes works and sometimes not in the plot() function?

Calculate AUC in R?

R: removing the last elements of a vector

Use of ggplot() within another function in R

How to make geom_text plot within the canvas's bounds

Extract data from a ggplot

Is there a difference between the R functions fitted() and predict()?

Converting a data frame to xts

Adding table within the plotting region of a ggplot in r

Insert rows for missing dates/times

Change timezone in a POSIXct object

Is there a way to paste together the elements of a vector in R without using a loop?

backtransform `scale()` for plotting

ggplot: remove lines at ribbon edges

Get the list of installed packages by user in R

ggplot2: Is there a fix for jagged, poor-quality text produced by geom_text()?

Extract matrix column values by matrix column name

run a for loop in parallel in R

Sort matrix according to first column in R

ggplot2 increase space between legend keys

Creating a Movie from a Series of Plots in R

R shiny: display “loading…” message while function is running

How can I use Emacs ESS mode with R markdown?

Specify widths and heights of plots with grid.arrange

How to sort a character vector where elements contain letters and numbers in R?

Reverse order of discrete y axis in ggplot2

Euclidean distance of two vectors

How to Reverse a string in R

How to order a data frame by one descending and one ascending column?

Make Frequency Histogram for Factor Variables

R: Find the last dot in a string

Concatenate strings by group with dplyr

Creating a named list from two vectors (names, values)

Add empty columns to a dataframe with specified names from a vector

Parsing command line arguments in R scripts

best way to transpose data.table

Find closest value in a vector with binary search

Fast vectorized merge of list of data.frames by row

Looping over a datetime object results in a numeric iterator

How do I open a script file in RStudio using an R command?

Create a ranking variable with dplyr?

How can you read a CSV file in R with different number of columns

Reading data from PDF files into R

Producing subscripts in R markdown

One function to detect NaN, NA, Inf, -Inf, etc.?

Simplest way to get rbind to ignore column names

Is there a way to output text to the R console in color

Network chord diagram woes in R

Centering image and text in R Markdown for a PDF report

How can I drop unused levels from a data frame?

remove the last element of a vector

count number of rows in a data frame in R based on group

Find the index position of the first non-NA value in an R vector?

assign headers based on existing row in dataframe in R

Error converting text to lowercase with tm_map(…, tolower)

Replacing values from a column using a condition in R

preallocate list in R

Using .I to return row numbers with data.table package

How can I count runs in a sequence?

How can I subset rows in a data frame in R based on a vector of values?

rank and order in R

OS X package installation depends on gfortran-4.8

How to remove “rows” with a NA value?

Find which season a particular date belongs to

Use superscripts in R axis labels

Numeric comparison difficulty in R

Write a data frame to csv file without column header in R

Cut() error - 'breaks' are not unique

Possible to print more than 100 rows of a data.table?

How do I convert a factor into date format?

Convert integer to class Date

Variable name restrictions in R

How to source() .R file saved using UTF-8 encoding?

Return data subset time frames within another timeframes?

What is the difference between mode and class in R?

Select every other element from a vector

Inserting an image to ggplot2

Replace missing values (NA) with most recent non-NA by group

Replace contents of factor column in R dataframe

How to insert elements into a vector?

State name to abbreviation

How do you convert dates/times from one time zone to another in R?

What is the most efficient way to cast a list as a data frame?

How do I change the default library path for R packages

Text wrap for plot titles

changing title in multiplot ggplot2 using grid.arrange

remove all line breaks (enter symbols) from the string using R

Unable to update R packages in default library on Windows 7

What does the R function `poly` really do?

list output truncated - How to expand listed variables with str() in R

How to give color to each class in scatter plot in R?

Replace values in a dataframe based on lookup table

Plotting time-series with Date labels on x-axis

r install package

r cbind vectors of unequal length

drop columns by index r

comment in r

r language comment

comments in r

r exit loop

r how to import tsv file

r set dataframe column names

r load packages

r convert date as timestamp

r number of columns or rows of result is not a multiple of vector length

r count number of na

suppress error r

R p value star

r while loop

r data types

r convert matrix to list of column vectors

rmarkdown section title as variable ##

r find elements in common between vectors

r double and triple colons

r set column values as rownames in dataframe

r dataframe column factor

r return index of rows that have NA in dataframe

r for loop

r convert vector to string

r extract everything before character

options kable NA

read csv online r

r stack data frames

r convert list to comma separated string

write to csv in r

r lists vs vectors

r replace na with 0

r difference between <- and =

r loops

r remove na from dataset

r change a single value in a dataframe

r create a list

add a vertical line in ggplot

r create a vector

r change row names of a dataframe

r import data

r data structures

R Markdonw - Hide plots

r read file

r merge inner join

r - remove scientific notations

ggplot - blank title of axis

ggplot2 multiple lines geom_line

r - transform as factor

r if else

list to vector r

rmarkdown put date

sort dataframe dplyr

r - change column name

r - extracting specific columns from a data frame

chart . js bar

turn legend off ggplot2

diff days R lubridate

replace na with 0 in R

percent of missing data in df r

lubridate sequence of dates

r dataframe append row

r number of blanks in the data

error installing devtools r

turn matrix into dataframe r

r extract top values from data frame

R drop columns

r - reorder columns in data frame

r combine strings

switch statement in r

r: rename a column

remove_all_labels(x)

ggplot: boxplot with trendline

count word in a string r

R vector all but last

remove all trailing whitspaces R

r dot product

grepl filter r

ggplot increase label font size

confusion matrix caret package r

angular material number picker

get list of words that are in two lists using set

get plot title over two lines R

rstudio refactor hotkey

how to get quantile summary statistics in r summarise

change the y ticks in r plot

regex examples

unpack list elements in dataframe R

convert all numeric columns to percentages R

disable the y axis in plot r

remove elements from character vector in r

angular display space navbar

save large nested list to text R

how to summarise data but keep columns R

how to source all fies from a directory in r

rmarkdown how to load workspace

R grid all possibilites between two vectors

residual plot in r

combine row for every element of vector r

insert character into string r

R squared regression in r with ggplot

try catch in r

ggplot - subset top 10 in a stack bar plot

remove the colour name from ggplot

r - if value in a df is between two number then add 1

not displaying prints and on.exit in r

r merge lists

r - split the data in queal ranges

bioFabric r

ggplot2 barplot order of bars

attr(* label )= chr in r

r clean environment

r merge lists with common elements

ggplot2 font times new roman

R find index where

color code in r

kableextra add custom label

diff division R

R convert list of lists into single numeric list

R total line text file

r make directory

How to remove duplicates based on the combinations of two columns r

multiple comment code in R

r function to get class of all columns

regex last word in string r

stat_poly_eq position

replace character with na r

r: network randomization test igprah stakoverflow

sql check if list of phrases exist in a string

st_combine by variables R

store list in data.frame R

combine scripts into a pipeline

r ggplot hide one legend group from multiple legends

kable thousand mark

why is only mean and max infinity in r

r - create a new empty variable in a dataset

replace na in a column with values from another df

round multiple columns in r

replace accented characters in r

geom_abline vertical line

factor in r

how to round all numeric column types in r

rstudio working directory

How to sort a dataframe by multiple column(s)

How to make a great R reproducible example

Grouping functions (tapply, by, aggregate) and the *apply family

How to join (merge) data frames (inner, outer, left, right)

Drop data frame columns by name

Remove rows with all or some NAs (missing values) in data.frame

How do I replace NA values with zeros in an R dataframe?

data.table vs dplyr: can one do something well the other can't or does poorly?

Rotating and spacing axis labels in ggplot2

What are the differences between “=” and “<-” assignment operators in R?

How to convert a factor to integer\numeric without loss of information?

How can we make xkcd style graphs?

Plot two graphs in same plot in R

How should I deal with “package 'xxx' is not available (for R version x.y.z)” warning?

How can I view the source code for a function?

Drop unused factor levels in a subsetted data frame

How to unload a package without restarting R

The difference between bracket [ ] and double bracket [[ ]] for accessing the elements of a list or dataframe

Test if a vector contains a given element

Run R script from command line

Convert a list to a data frame

Quickly reading very large tables as dataframes

Create an empty data.frame

How to find out which package version is loaded in R?

Tricks to manage the available memory in an R session

Cluster analysis in R: determine the optimal number of clusters

Counting the number of elements with the values of x in a vector

Changing column names of a data frame

How to find the statistical mode?

Why is `[` better than `subset`?

Check existence of directory and create if doesn't exist

How do I install an R package from source?

Extracting specific columns from a data frame

How can two strings be concatenated?

How to sum a variable by group

How to add leading zeros?

How to set limits for axes in ggplot2 R plots?

How to write trycatch in R

How can I trim leading and trailing white space?

Elegant way to check for missing packages and install them?

Side-by-side plots with ggplot2

How to rename a single column in a data.frame?

Write lines of text to a file in R

How to find the length of a string in R

Convert data.frame columns from factors to characters

Sample random rows in dataframe

How does one reorder columns in a data frame?

How to change legend title in ggplot

Function to clear the console in R and RStudio

How to Correctly Use Lists in R?

Plotting two variables as lines using ggplot2 on the same graph

Order Bars in ggplot2 bar graph

How to drop columns by name in a data frame

How to check if object (variable) is defined in R?

How to access the last value in a vector?

How to disable scientific notation?

How to save a plot as image on the disk?

How to properly document S4 class slots using Roxygen2?

Test if characters are in a string

Measuring function execution time in R

Evaluate expression given as a string

Extracting the last n characters from a string in R

How to reshape data from long to wide format

Concatenate a vector of strings/character

Update R using RStudio

Formatting Decimal places in R

Remove an entire column from a data.frame in R

How can I read command line parameters from an R script?

Replace specific characters within strings

Opposite of %in%: exclude rows with values specified in a vector

Why are these numbers not equal?

How to convert a data frame column to numeric type?

Expert R users, what's in your .Rprofile?

Simultaneously merge multiple data.frames in a list

Remove legend ggplot 2.2

YAML current date in rmarkdown

Tools for making latex tables in R

Determine path of the executing script

Split data frame string column into multiple columns

Boolean operators && and ||

Combine two data frames by rows (rbind) when they have different sets of columns

How do I delete rows in a data frame?

ggplot with 2 y axes on each side and different scales

How to change facet labels?

Append an object to a list in R in amortized constant time, O(1)?

Add regression line equation and R^2 on graph

Remove all of x axis labels in ggplot

Split a vector into chunks

Force R not to use exponential notation (e.g. e+10)?

How to import multiple .csv files at once?

How can I remove all objects but one from the workspace in R?

How to plot two histograms together in R?

R data formats: RData, Rda, Rds etc

How to assign from a function which returns more than one value?

Find the day of a week

Change R default library path using .libPaths in Rprofile.site fails to work

Standardize data columns in R

Where does R store packages?

Import text file as single character string

Print string and variable contents on the same line in R

Increase number of axis ticks

R - Markdown avoiding package loading messages

Explicitly calling return in a function or not

Emulate ggplot2 default color palette

Filter rows which contain a certain string

Changing font size and direction of axes text in ggplot2

How do you delete a column by name in data.table?

Display / print all rows of a tibble (tbl_df)

Remove NA values from a vector

Calculating moving average

Selecting only numeric columns from a data frame

Speed up the loop operation in R

Extract a dplyr tbl column as a vector

Plot a legend outside of the plotting area in base graphics?

Reasons for using the set.seed function

pull out p-values and r-squared from a linear regression

How to use R's ellipsis feature when writing your own function?

Set margin size when converting from Markdown to PDF with pandoc

ggplot2 line chart gives “geom_path: Each group consist of only one observation. Do you need to adjust the group aesthetic?”

How can I handle R CMD check “no visible binding for global variable” notes when my ggplot2 syntax is sensible?

Label points in geom_point

How to select a CRAN mirror in R

Load multiple packages at once

Use dynamic variable names in `dplyr`

Workflow for statistical analysis and report writing

Can dplyr package be used for conditional mutating?

How to suppress warnings globally in an R Script

“Correct” way to specifiy optional arguments in R functions

Show percent % instead of counts in charts of categorical variables

Fixing a multiple warning “unknown column”

Capitalize the first letter of both words in a two word string

How to assign colors to categorical variables in ggplot2 that have stable mapping?

Mean per group in a data.frame

Numbering rows within groups in a data frame

Reshaping data.frame from wide to long format

Most underused data visualization

For each row in an R dataframe

How to combine multiple conditions to subset a data-frame using “OR”?

Compare two data.frames to find the rows in data.frame 1 that are not present in data.frame 2

Convert data.frame column to a vector?

session not created: This version of ChromeDriver only supports Chrome version 74 error with ChromeDriver Chrome using Selenium

Access lapply index names inside FUN

How to convert a table to a data frame

How to prevent ifelse() from turning Date objects into numeric objects

Call apply-like function on each row of dataframe with multiple arguments from each row

Importing data from a JSON file into R

Problems installing the devtools package

How to split data into training/testing sets using sample function

Fastest way to find second (third…) highest/lowest value in vector or column

Determine the data types of a data frame's columns

remove kernel on jupyter notebook

Relative frequencies / proportions with dplyr

Append value to empty vector in R?

Change size of axes title and labels in ggplot2

How to count TRUE values in a logical vector

How do I clear only a few specific objects from the workspace?

Order data frame rows according to vector with specific order

Remove duplicated rows

Repeat each row of data.frame the number of times specified in a column

What's the difference between `1L` and `1`?

Add new row to dataframe, at specific row-index, not appended?

Convert data.frame column format from character to factor

Convert row names into first column

Find file name from full file path

How to organize large R programs?

Filter data.frame rows by a logical condition

How to remove all whitespace from a string?

Annotating text on individual facet in ggplot2

Remove plot axis values

Group by multiple columns in dplyr, using string vector input

Painless way to install a new version of R?

Remove columns from dataframe where ALL values are NA

R memory management / cannot allocate vector of size n Mb

Installing R with Homebrew

How to set size for local image using knitr for markdown?

rotating axis labels in R

R: += (plus equals) and ++ (plus plus) equivalent from c++/c#/java, etc.?

Replace all 0 values to NA

Aggregate / summarize multiple variables per group (e.g. sum, mean)

How to increase font size in a plot in R?

Global variables in R

How to delete a row by reference in data.table?

Determine the number of NA values in a column

Replacing NAs with latest non-NA value

promise already under evaluation: recursive default argument reference or earlier problems?

Fastest way to replace NAs in a large data.table

Returning multiple objects in an R function

Should I use a data.frame or a matrix?

What's the difference between lapply and do.call?

Check for installed packages before running install.packages()

Difference between R MarkDown and R NoteBook

Select rows of a matrix that meet a condition

Using the rJava package on Win7 64 bit with R

Is there a way to make R beep/play a sound at the end of a script?

Count number of occurences for each unique value

Add a common Legend for combined ggplots

How to wait for a keypress in R?

ggplot2 plot without axes, legends, etc

Determining memory usage of objects?

Using R to list all files with a specified extension

How do you use “<<-” (scoping assignment) in R?

Select multiple columns in data.table by their numeric indices

Equivalent of “throw” in R

How to catch integer(0)?

Select first and last row from grouped data

How to generate a number of most distinctive colors in R?

How to format a number as percentage in R?

Saving grid.arrange() plot to file

Extract a substring according to a pattern

Installing older version of R package

Omit rows containing specific column of NA

Conditionally Remove Dataframe Rows with R

Ignore outliers in ggplot2 boxplot

How can a add a row to a data frame in R?

increase legend font size ggplot2

R command for setting working directory to source file location in Rstudio

How to create empty data frame with column names specified in R?

Scatterplot with marginal histograms in ggplot2

Remove duplicated rows using dplyr

In R, how to get an object's name after it is sent to a function?

Order discrete x scale by frequency/value

Split code over multiple lines in an R script

Assign multiple columns using := in data.table, by group

Linking R and Julia?

grep using a character vector with multiple patterns

R - Concatenate two dataframes?

How do I change the formatting of numbers on an axis with ggplot?

Warning message: In `…` : invalid factor level, NA generated

Why is rbindlist “better” than rbind?

How to make execution pause, sleep, wait for X seconds in R?

R apply function with multiple parameters

How to change line width in ggplot?

Remove 'a' from legend when using aesthetics and geom_text

How to succinctly write a formula with many variables from a data frame?

What does %>% function mean in R?

Apply a function to every row of a matrix or a data frame

data.frame rows to a list

facet label font size

Replace a value in a data frame based on a conditional (`if`) statement

Scatterplot with too many points

Increasing (or decreasing) the memory available to R processes

Overlaying histograms with ggplot2 in R

Is there a way to change the spacing between legend items in ggplot2?

ggplot does not work if it is inside a for loop although it works outside of it

What are the differences between vector and list data types in R?

How to remove space between axis & area-plot in ggplot2?

Extract every nth element of a vector

Editing legend (text) labels in ggplot

Sort rows in data.table in decreasing order on string key `order(-x,v)` gives error on data.table 1.9.4 or earlier

How to make graphics with transparent background in R using ggplot2?

Setting individual axis limits with facet_wrap and scales = “free” in ggplot2

Convert UNIX epoch to Date object

Using R to download zipped data file, extract, and import data

How to avoid warning when introducing NAs by coercion

Reorder levels of a factor without changing order of values

How to create a density plot in matplotlib?

Persistent invalid graphics state error when using ggplot2

How to use a variable to specify column name in ggplot

Count number of rows within each group

How to read data when some numbers contain commas as thousand separator?

How to combine two lists in R

Why can't R's ifelse statements return vectors?

How can I plot with 2 different y-axes?

Applying a function to every row of a table using dplyr?

Convert a row of a data frame to vector

How to reorder data.table columns (without copying)

rJava load error in RStudio/R after “upgrading” to OSX Yosemite

Convert a matrix to a 1 dimensional array

Finding row index containing maximum value using R

How to force R to use a specified factor level as reference in a regression?

How to append rows to an R data frame

ggplot: How to increase spacing between faceted plots?

Getting LaTeX into R Plots

Error in plot.new() : figure margins too large, Scatter plot

How to select the rows with maximum values in each group with dplyr?

R object identification

Control the size of points in an R scatterplot?

How to add elements to a list in R (loop)

Convert column classes in data.table

Create a matrix of scatterplots (pairs() equivalent) in ggplot2

General suggestions for debugging in R

Force R to stop plotting abbreviated axis labels - e.g. 1e+00 in ggplot2

Combine two or more columns in a dataframe into a new column with a new name

Replacement for “rename” in dplyr

How to change language settings in R

'Incomplete final line' warning when trying to read a .csv file into R

Can dplyr join on multiple columns or composite key?

How to add \newpage in Rmarkdown in a smart way?

Convert the values in a column into row names in an existing data frame

Rolling median algorithm in C

Adding a column to a data.frame

How to convert variable (object) name into String

To find whether a column exists in data frame or not

Finding ALL duplicate rows, including “elements with smaller subscripts”

remove legend title in ggplot

Extract a regular expression match

Error in plot.new() : figure margins too large in R

Split comma-separated strings in a column into separate rows

R: rJava package install failing

Printing newlines with print() in R

remove all variables except functions

Select first 4 rows of a data.frame in R

How to remove last n characters from every element in the R vector

Controlling number of decimal digits in print output in R

How to test if list element exists?

Scheduling R Script

`levels<-`( What sorcery is this?

Increase distance between text and title on the y-axis

Check if the number is integer

How do I sort one vector based on values of another

Creating an R dataframe row-by-row

What is the purpose of setting a key in data.table?

Remove data.frame row names when using xtable

Split delimited strings in a column and insert as new rows

What does “not run” mean in R help pages?

Showing data values on stacked bar chart in ggplot2

How to calculate the number of occurrence of a given character in each row of a column of strings?

Split column at delimiter in data frame

How do I import a CSV file in R?

Change value of variable with dplyr

Extract month and year from a zoo::yearmon object

How to include (source) R script in other scripts

Filtering a data frame by values in a column

ggplot2 legend to bottom and horizontal

Is it possible to have a multi-line comments in R?

How to draw an empty plot?

Export a graph to .eps file with R

Getting and removing the first character of a string

passing several arguments to FUN of lapply (and others *apply)

Gather multiple sets of columns

R script line numbers at error?

Extracting numbers from vectors of strings

Specifying colClasses in the read.csv

rgdal package installation

How do I combine two data-frames based on two columns?

R: use magrittr pipe operator in self written package

Gradient of n colors ranging from color 1 and color 2

Breaking loop when “warnings()” appear in R

detach all packages while working in R

Transpose a data frame

Geometric Mean: is there a built-in?

Automatically expanding an R factor into a collection of 1/0 indicator variables for every factor level

Multiline Comment Workarounds?

Remove grid, background color, and top and right borders from ggplot2

Confusion between factor levels and factor labels

Selecting data frame rows based on partial string match in a column

Limit ggplot2 axes without removing data (outside limits): zoom

How to use Greek symbols in ggplot2?

For each row return the column name of the largest value

Subscripts in plots in R

Convert string to a variable name

Sum across multiple columns with dplyr

Left align two graph edges (ggplot)

How to add texture to fill colors in ggplot2

Test for equality among all elements of a single numeric vector

Position geom_text on dodged barplot

How to put labels over geom_bar for each bar in R with ggplot2

Disable messages upon loading a package

Specify custom Date format for colClasses argument in read.table/read.csv

How to use the 'sweep' function

How do I make a matrix from a list of vectors in R?

Programmatically creating Markdown tables in R with KnitR

Fixing the order of facets in ggplot

ggplot2 keep unused levels barplot

R: Comment out block of code

Paste multiple columns together

Replace X-axis with own values

How can I manipulate the strip text of facet_grid plots?

Hosting and setting up own shiny apps without shiny server

filter for complete cases in data.frame using dplyr (case-wise deletion)

Unique combination of all elements from two (or more) vectors

How to change the default font size in ggplot2

Comma separator for numbers in R?

Intelligent point label placement in R

How to remove outliers from a dataset

Rotating x axis labels in R for barplot

How to select the row with the maximum value in each group

How to not run an example using roxygen2?

How to round up to the nearest 10 (or 100 or X)?

Converting string to numeric

R programming: How do I get Euler's number?

Linear Regression and group by in R

How to name variables on the fly?

Subset of rows containing NA (missing) values in a chosen column of a data frame

List distinct values in a vector in R

How to disable “Save workspace image?” prompt in R?

Exception handling in R

R dplyr: Drop multiple columns

Sort columns of a dataframe by column name

Difference between as.POSIXct/as.POSIXlt and strptime for converting character vectors to POSIXct/POSIXlt

R for loop skip to next iteration ifelse

Choosing between qplot() and ggplot() in ggplot2

Replace all particular values in a data frame

Shading a kernel density plot between two points.

How can I load an object into a variable name that I specify from an R data file?

Repeat rows of a data.frame

What's the fastest way to merge/join data.frames in R?

Fitting a density curve to a histogram in R

Working with dictionaries/lists in R

dplyr: “Error in n(): function should not be called directly”

Convert a vector into a list, each element in the vector as an element in the list

Read an Excel file directly from a R script

Factors in R: more than an annoyance?

How do I arrange a variable list of plots using grid.arrange?

Regex group capture in R with multiple capture-groups

Gantt charts with R

What are the “standard unambiguous date” formats for string-to-date conversion in R?

Converting year and month (“yyyy-mm” format) to a date?

Remove extra legends in ggplot2

Case Statement Equivalent in R

How to create an empty R vector to add new items

How to left align text in annotate from ggplot2

How can I obtain an 'unbalanced' grid of ggplots?

group by two columns in ggplot2

Read fixed width text file

Remove part of a string

Apply several summary functions on several variables by group in one call

Plot correlation matrix into a graph

How can I arrange an arbitrary number of ggplots using grid.arrange?

ggplot2 plot area margins?

Importing Excel files into R, xlsx or xls

In R, how to find the standard error of the mean?

Suppress output of a function

Inverse of matrix in R

Parse JSON with R

Add (insert) a column between two columns in a data.frame

How to create a numeric vector of zero length in R

Convert Named Character Vector to data.frame

Create a variable name with “paste” in R?

R ggplot2: stat_count() must not be used with a y aesthetic error in Bar graph

Add an index (numeric ID) column to large data frame

Easy way to export multiple data.frame to multiple Excel worksheets

Assign multiple new variables on LHS in a single line

How to specify names of columns for x and y when joining in dplyr?

how to increase the limit for max.print in R

How can I extract plot axes' ranges for a ggplot2 object?

How to fix the aspect ratio in ggplot?

How to add a ggplot2 subtitle with different size and colour?

Quit and restart a clean R session from within R?

Understanding the order() function

dplyr mutate with conditional values

break/exit script

How to tell what is in one vector and not another?

How to display only integer values on an axis using ggplot2

Sankey Diagrams in R?

Select first element of nested list

File path issues in R using Windows (“Hex digits in character string” error)

Remove facet_wrap labels completely

How to add table of contents in Rmarkdown?

How to subset matrix to one column, maintain matrix data type, maintain row/column names?

Why does unlist() kill dates in R?

How to source R Markdown file like `source('myfile.r')`?

What is the most useful R trick?

How to fit a smooth curve to my data in R?

Find the location of a character in string

Rstudio rmarkdown: both portrait and landscape layout in a single PDF

How to listen for more than one event expression within a Shiny eventReactive handler

Error: C stack usage is too close to the limit

Generate a dummy-variable

Extract year from date

How can I create a correlation matrix in R?

How to delete the first row of a dataframe in R?

How to apply same function to every specified column in a data.table

Trimming a huge (3.5 GB) csv file to read into R

Split text string in a data.table columns

How to do vlookup and fill down (like in Excel) in R?

Fitting polynomial model to data in R

dplyr mutate/replace several columns on a subset of rows

How to parse milliseconds?

Extracting time from POSIXct

Creating a Prompt/Answer system to input data into R

Error: gdal-config not found while installing R dependent packages whereas gdal is installed

How can I build a model to distinguish tweets about Apple (Inc.) from tweets about apple (fruit)?

Select columns based on string match - dplyr::select

Extract the first (or last) n characters of a string

Formula with dynamic number of variables

Count number of rows by group using dplyr

Rename multiple columns by names

Handling java.lang.OutOfMemoryError when writing to Excel from R

How to delete columns that contain ONLY NAs?

How to overlay density plots in R?

Usage of `…` (three-dots or dot-dot-dot) in functions

Save a plot in an object

Why is `vapply` safer than `sapply`?

How do you add a general label to facets in ggplot2?

Use a value from the previous row in an R data.table calculation

Count the number of all words in a string

Removing empty rows of a data file in R

Get all Parameters as List

Position of the sun given time of day, latitude and longitude

Sum rows in data.frame or matrix

Error: could not find function “%>%”

equivalent of a python dict in R

Convert a data frame to a data.table without copy

How to convert a matrix to a list of column-vectors in R?

Change the class from factor to numeric of many columns in a data frame

Is there a way to use read.csv to read from a string value rather than a file in R?

How to replace NA values in a table for selected columns

How to randomize a vector

ggplot plots in scripts do not display in Rstudio

set only lower bound of a limit for ggplot

can I change the position of the strip label in ggplot from the top to the bottom?

How can I interrupt a running code in R with a keyboard command?

Move a column to first position in a data frame

Get column index from label in a data frame

How can I suppress the vertical gridlines in a ggplot2 plot?

How to use the switch statement in R functions?

How to coerce a list object to type 'double'

unique() for more than one variable

How to see the source code of R .Internal or .Primitive function?

What's the difference between facet_wrap() and facet_grid() in ggplot2?

shiny 4 small textInput boxes side-by-side

Change the Blank Cells to “NA”

How to print (to paper) a nicely-formatted data frame

Create a data.frame where a column is a list

Undefined columns selected when subsetting data frame

R: what are Slots?

R Error in x$ed : $ operator is invalid for atomic vectors

Shiny: what is the difference between observeEvent and eventReactive?

Plot labels at ends of lines

Pasting two vectors with combinations of all vectors' elements

Plot multiple boxplot in one graph

Change the spacing of tick marks on the axis of a plot?

Histogram with Logarithmic Scale and custom breaks

Remove part of string after “.”

Collapse / concatenate / aggregate a column to a single comma separated string within each group

R - How to test for character(0) in IF statement

Counting unique / distinct values by group in a data frame

Read all worksheets in an Excel workbook into an R list with data.frames

Installing R from CRAN Ubuntu repository: No Public Key Error

How to plot all the columns of a data frame in R

How to obtain a list of directories within a directory, like list.files(), but instead “list.dirs()”

Get the difference between dates in terms of weeks, months, quarters, and years

Is there a built-in way to do a logarithmic color scale in ggplot2?

Return index of the smallest value in a vector?

Extract regression coefficient values

Control point border thickness in ggplot

How to get summary statistics by group

Get filename without extension in R

Select rows from a data frame based on values in a vector

Removing non-ASCII characters from data files

Reset par to the default values at startup

Select random element in a list of R?

Simple way to subset SpatialPolygonsDataFrame (i.e. delete polygons) by attribute in R

Combine legends for color and shape into a single legend

Changing line colors with ggplot()

How to prevent scientific notation in R?

How to use random forests in R with missing values?

How to move or position a legend in ggplot2

Virtual environment in R?

python equivalent of R table

Windows 7, update.packages problem: “unable to move temporary installation”?

Split string based on alternating character in R

Importing a big xlsx file into R?

R install.packages returns “failed to create lock directory”

Unique on a dataframe with only selected columns

Merge Two Lists in R

Can dplyr summarise over several variables without listing each one?

How to split a data frame?

What is difference between dataframe and list in R?

Proxy setting for R

Find duplicate values in R

Do not want scientific notation on plot axis

ggplot2: Adjust the symbol size in legends

dplyr filter: Get rows with minimum of variable, but only the first if multiple minima

Extract row corresponding to minimum value of a variable by group

Multiply rows of matrix by vector?

Conditional replacement of values in a data.frame

Convert from lowercase to uppercase all values in all character variables in dataframe

dplyr::select one column and output as vector

Error: package or namespace load failed for ggplot2 and for data.table

Find indices of duplicated rows

Include code that does not run in Rpresentation Markdown

auto.arima() equivalent for python

Create a numeric vector with names in one statement?

Find duplicated elements with dplyr

R: removing NULL elements from a list

RMarkdown: How to change the font color?

Using Caret Package but Getting Error in library(e1071)

Does R have function startswith or endswith like python?

ggplot2 - annotate outside of plot

How do I check the existence of a downloaded file

Subscript letters in ggplot axis label

Plot multiple lines (data series) each with unique color in R

Filter multiple values on a string column in dplyr

Finding local maxima and minima

Replacing character values with NA in a data frame

Use tryCatch skip to next value of loop upon error?

Select only rows if its value in a particular column is less than the value in the other column

Pass a string as variable name in dplyr::filter

How to show code but hide output in RMarkdown?

How to group data.table by multiple columns?

How to flatten a list of lists?

Combine base and ggplot graphics in R figure window

Options for caching / memoization / hashing in R

Auto-format R code in RStudio

How to plot a function curve in R

Boxplot show the value of mean

Imported a csv-dataset to R but the values becomes factors

Avoid ggplot sorting the x-axis while plotting geom_bar()

How to turn a vector into a matrix in R?

Code to clear all plots in RStudio

R: losing column names when adding rows to an empty data frame

Merge Multiple spaces to single space; remove trailing/leading spaces

R move column to last using dplyr

Fastest way to detect if vector has at least 1 NA?

Extract the maximum value within each group in a dataframe

Keeping trailing zeros

Legend on bottom, two rows wrapped in ggplot2 in r

How to convert R Markdown to HTML? I.e., What does “Knit HTML” do in Rstudio 0.96?

Controlling ggplot2 legend display order

Lattice: multiple plots in one window?

How to create an empty matrix in R?

Access a URL and read Data with R

Overlay normal curve to histogram in R

R Reading in a zip data file without unzipping it

Saving a high resolution image in R

Coerce multiple columns to factors at once

How to convert Excel date format to proper date in R

dplyr change many data types

How to save data file into .RData?

Can you pass-by-reference in R?

Fitting several regression models with dplyr

All Levels of a Factor in a Model Matrix in R

Efficiently convert backslash to forward slash in R

Create a Vector of All Days Between Two Dates

How to declare a vector of zeros in R

Merge two data frames while keeping the original row order

How can I print when using %dopar%

R pass variable column indices to ggplot2

Unable to install packages in latest version of RStudio and R Version.3.1.1

Replace multiple letters with accents with gsub

Create stacked barplot where each stack is scaled to sum to 100%

How to get the second sub element of every element in a list

Getting path of an R script

Outputting multiple lines of text with renderText() in R shiny

Getting strings recognized as variable names in R

Any way to make plot points in scatterplot more transparent in R?

Decompress gz file using R

How do I copy and paste data into R from the clipboard?

Convert named list to vector with values only

dplyr mutate rowSums calculations or custom functions

How to increase the number of columns using R in Linux

Calculate the mean by group

Using ggplot2, can I insert a break in the axis?

Proper/fastest way to reshape a data.table

Re-ordering factor levels in data frame

Getting Warning: “ 'newdata' had 1 row but variables found have 32 rows” on predict.lm

dplyr::select function clashes with MASS::select

List of ggplot2 theme options?

Comparing gather (tidyr) to melt (reshape2)

Legend placement, ggplot, relative to plotting region

How to organize large Shiny apps?

Convert R vector to string vector of 1 element

How to convert a huge list-of-vector to a matrix more efficiently?

Round up from .5

dplyr summarise_each with na.rm

How can I spread repeated measures of multiple variables into wide format?

Change variable name in for loop using R

How to find the highest value of a column in a data frame in R?

What specifically are the dangers of eval(parse(…))?

Unseen factor levels when appending new records with unseen string values to a dataframe, cause Warning and result in NA

Moving columns within a data.frame() without retyping

Convert all data frame character columns to factors

R adding days to a date

do-while loop in R

data.frame Group By column

Compare two character vectors in R

Delete rows with blank values in one particular column

Understanding `scale` in R

rbind error: “names do not match previous names”

Extract p-value from aov

Forcing garbage collection to run in R with the gc() command

How to save a plot made with ggplot2 as SVG

Function to calculate geospatial distance between two points (lat,long) using R

When using “geom_histogram” there is error “unit(tic_pos.c, ”mm“) : 'x' and 'units' must have length > 0”. Why

Plot size and resolution with R markdown, knitr, pandoc, beamer

Modifying fonts in ggplot2

How to subtract/add days from/to a date?

ggplot2: facet_wrap strip color based on variable in data set

Read a CSV from github into R

Append data frames together in a for loop

Converting two columns of a data frame to a named vector

ggplot2 reverse order of scale_brewer

Replace all occurrences of a string in a data frame

Appending a list to a list of lists in R

Install udunits2 package for R3.3

Cartesian product data frame

Reading text file with multiple space as delimiter in R

Shift legend into empty facets of a faceted plot in ggplot2

extract hours and seconds from POSIXct for plotting purposes in R

Automatically Delete Files/Folders

Why does NaN^0 == 1

geom_rect and alpha - does this work with hard coded values?

Add lines to a file

Subset and ggplot2

Combining paste() and expression() functions in plot labels

How to clean up R memory (without the need to restart my PC)?

Convert factor to integer

Draw a circle with ggplot2

Export CSV without col.names

How do I extract a single column from a data.frame as a data.frame?

How to increase the space between the bars in a bar plot in ggplot2?

Calculate the Area under a Curve

Subsetting R data frame results in mysterious NA rows

How to check if two data frames are equal

How to install multiple packages?

Access variable value where the name of variable is stored in a string

How can I check whether a function call results in a warning?

Global variables in packages in R

How to install development version of R packages github repository

how do you send email from R

ggplot2, facet_grid, free scales?

two-column layouts in RStudio presentations/slidify/pandoc

Wrap long axis labels via labeller=label_wrap in ggplot2

Adding greek character to axis title

Get the column number in R given the column name

Remove Rows From Data Frame where a Row matches a String

ggplot2 bar plot, no space between bottom of geom and x axis keep space above

Applying group_by and summarise on data while keeping all the columns' info

Library is not writable

How do I rename files using R?

Controlling line color and line type in ggplot legend

How to remove a directory in R?

Add a month to a Date

Read a text file in R line by line

Subset data to contain only columns whose names match a condition

How to use grep()/gsub() to find exact match

R Not in subset

Aggregate Daily Data to Month/Year intervals

SQL Server RODBC Connection

R: Break for loop

R: Custom Legend for Multiple Layer ggplot

Calculate row means on subset of columns

Unexpected 'else' in “else” error

Subset rows corresponding to max value by group using data.table

Make R exit with non-zero status code

How to visualize a large network in R?

Add a prefix to column names

Cleaning up factor levels (collapsing multiple levels/labels)

R + ggplot : Time series with events

Creating multi column legend in ggplot

How to reset par(mfrow) in R

rmarkdown: pandoc: pdflatex not found

tooltip on shiny R?

Pass arguments to dplyr functions

Getting a function name as a string

Why do R objects not print in a function or a “for” loop?

How to put labels over geom_bar in R with ggplot2

Explain a lazy evaluation quirk

How to merge color, line style and shape legends in ggplot

Locate the “.Rprofile” file generating default options

alternative to “!is.null()” in R

Rearrange dataframe to a table, the opposite of “melt”

Customize axis labels

Scale and size of plot in RStudio shiny

Seeing if data is normally distributed in R

R: numeric 'envir' arg not of length one in predict()

First letter to upper case

How to sort a data frame by date

Adding time to POSIXct object in R

How can I remove the legend title in ggplot2?

ggplot2: sorting a plot

store output of system command into a variable in r

How to paste a string on each element of a vector of strings using apply in R?

making matplotlib graphs look like R by default?

calculate the mean for each column of a matrix in R

Find row and column index of maximum value in a matrix

How can I document data sets with roxygen?

Select the top N values by group

How to change the default time zone in R?

ggplot2 two-line label with expression

R: sourcing files using a relative path

“%%” and “%/%” for the remainder and the quotient

Prevent unlist to drop NULL values

Using `geom_line()` with X axis being factors

How to draw a crystal ball with two-color particles inside

Formatting dates on X axis in ggplot2

Formatting dates with scale_x_date in ggplot2

Nested ifelse statement

2 column Section in R Markdown

Select subset of columns in data.table R

qqnorm and qqline in ggplot2

How do I change the number of decimal places on axis labels in ggplot2?

Sum a list of matrices

Extract file extension from file path

Remove empty elements from list with character(0)

Putting mathematical symbols and subscripts mixed with regular letters

How to read first 1000 lines of .csv file into R?

R dates “origin” must be supplied

R + combine a list of vectors into a single vector

R knitr Markdown: Output Plots within For Loop

Convert data frame with date column to timeseries

Create dynamic number of input elements with R/Shiny

Force character vector encoding from “unknown” to “UTF-8” in R

How can one work fully generically in data.table in R with column names in variables

What's the biggest R-gotcha you've run across?

Generating all distinct permutations of a list in R

R define dimensions of empty data frame

Changing factor levels with dplyr mutate

Venn diagram proportional and color shading with semi-transparency

Left join using data.table

Scale a series between two points

Chopping a string into a vector of fixed width character elements

Splitting a continuous variable into equal sized groups

multiple authors and subtitles in Rmarkdown yaml

Place a border around points

Delete rows containing specific strings in R

Horizontal Barplot in ggplot2

Putting x-axis at top of ggplot2 chart

Find the n most common values in a vector

Merge data frames based on rownames in R

if else condition in ggplot to add an extra layer

How do you print to stderr in R?

Diagnosing R package build warning: “LaTeX errors when creating PDF version”

How to italicize part (one or two words) of an axis title

Namespaces in R packages

How does one stop using rowwise in dplyr?

How to convert a list consisting of vector of different lengths to a usable data frame in R?

Read Stata 13 file in R

How to fix spaces in column names of a data.frame (remove spaces, inject dots)?

Rotate a Matrix in R by 90 degrees clockwise

Aggregate a dataframe on a given column and display another column

Left join only selected columns in R with the merge() function

How to detect the right encoding for read.csv?

How to convert R formula to text?

Read SPSS file into R

standard evaluation in dplyr: summarise a variable given as a character string

Sort a data.table fast by Ascending/Descending order

Reset the graphical parameters back to default values without use of dev.off()

“long vectors not supported yet” error in Rmd but not in R Script

Count number of records and generate row number within each group in a data.table

Emacs mode for R?

Apply function to each column in a data frame observing each columns existing data type

Method to extract stat_smooth line fit

How to subtract years?

How to add new column to an dataframe (to the front not end)?

detecting operating system in R (e.g. for adaptive .Rprofile files)

Generate list of all possible combinations of elements of vector

Transparent equivalent of given color

groupby weighted average and sum in pandas dataframe

plot legends without border and with white background

ggplot2 pdf import in Adobe Illustrator missing font AdobePiStd

Installing rgl on Ubuntu and Mac: X11 not found

Count number of rows per group and add result to original data frame

Common main title of a figure panel compiled with par(mfrow)

Warning about UTF-8 with roxygen2

R Markdown - changing font size and font type in html output

Initializing data.frames()

How to get Leaflet for R use 100% of Shiny dashboard height

Add panel border to ggplot2

Get specific object from Rdata file

How to specify “does not contain” in dplyr filter

Overlay histogram with density curve

How to control number of decimal digits in write.table() output?

Why TRUE == “TRUE” is TRUE in R?

Remove quotes from a character vector in R

Using gsub to extract character string before white space in R

How to return a error message in R?

Aggregating by unique identifier and concatenating related values into a string

Remove last N rows in data frame with the arbitrary number of rows

How to save a data frame as CSV to a user selected location using tcltk

What techniques exists in R to visualize a “distance matrix”?

Passing list of named parameters to function?

Multi-row x-axis labels in ggplot line chart

How to change the locale of R?

How to pass command-line arguments when calling source() on an R file within another R file

Assigning NULL to a list element in R?

Function default arguments and named values

How does one change the levels of a factor column in a data.table

How to extract the fill colours from a ggplot object?

Adding a column to a dataframe in R

How can I make consistent-width plots in ggplot (with legends)?

ld: warning: text-based stub file are out of sync. Falling back to library file for linking

Inverse of ggplotGrob?

Replace missing values with column mean

How to solve the error “ missing required header GL/gl.h” while installing the Package mvoutlier in R?

Why are my dplyr group_by & summarize not working properly? (name-collision with plyr)

Importing data into R from google spreadsheet

Using dplyr window functions to calculate percentiles

Summarize with conditions in dplyr

Adjust plot title (main) position

Normalizing y-axis in histograms in R ggplot to proportion

How to suppress warnings when plotting with ggplot

calculating number of days between 2 columns of dates in data frame

Force ggplot2 scatter plot to be square shaped

Avoid wasting space when placing multiple aligned plots onto one page

R round to nearest .5 or .1

How to select R data.table rows based on substring match (a la SQL like)

install.packages fails in knitr document: “trying to use CRAN without setting a mirror”

When documenting in Roxygen: How do I make an itemized list in @details?

R:how to get grep to return the match, rather than the whole string

Row names & column names in R

How do I suppress row names when using DT::renderDataTable in R shiny?

ggmap Error: GeomRasterAnn was built with an incompatible version of ggproto

How to exclude one column from data.table OR convert to data.table to MTS

Create dataframe from a matrix

How to connect R with Access database in 64-bit Window?

How to do a data.table merge operation

Difference between read.csv() and read.csv2() in R

Multiple functions in one .Rd file

Replace all values in a matrix <0.1 with 0

What are Python pandas equivalents for R functions like str(), summary(), and head()?

dplyr issues when using group_by(multiple variables)

Correct syntax for mutate_if

Convert a numeric month to a month abbreviation

Remove all text before colon

How to merge 2 vectors alternating indexes?

How can I know if R is running on 64 bits versus 32?

Grouping 2 levels of a factor in R

Merge or combine by rownames

add commas into number for output

Extract Month and Year From Date in R

Extract the first 2 Characters in a string

Roxygen2 - how to properly document S3 methods

How do you convert POSIX date to day of year?

How do I generate a list with a specified increment step?

R - test if first occurrence of string1 is followed by string2

“Out of Memory Error (Java)” when using R and XLConnect package

Combine column to remove NA's

case_when in mutate pipe

Compare if two dataframe objects in R are equal?

Code chunk font size in Rmarkdown with knitr and latex

Add row to a data frame with total sum for each column

Colour points in a plot differently depending on a vector of values

how to delete a file with R?

Scatter plot with error bars

R expand.grid() function in Python

What ways are there to edit a function in R?

Extract info inside all parenthesis in R

Emacs ESS Mode - Tabbing for Comment Region

Error in contrasts when defining a linear model in R

Pass a vector of variables into lm() formula

Learning R. Where does one Start?

How to combine 2 plots (ggplot) into one plot?

Add a dotted vertical line on certain x-axis values using ggplot

Rescaling the y axis in bar plot causes bars to disappear : R ggplot2

How to collapse a list of characters into a single string in R

How to output text in the R console without creating new lines?

Is there an R equivalent of the pythonic “if __name__ == ”__main__“: main()”?

dplyr: how to reference columns by column index rather than column name using mutate?

R inconsistency: why add=T sometimes works and sometimes not in the plot() function?

Calculate AUC in R?

R: removing the last elements of a vector

Use of ggplot() within another function in R

How to make geom_text plot within the canvas's bounds

Extract data from a ggplot

Is there a difference between the R functions fitted() and predict()?

Converting a data frame to xts

Adding table within the plotting region of a ggplot in r

Insert rows for missing dates/times

Change timezone in a POSIXct object

Is there a way to paste together the elements of a vector in R without using a loop?

backtransform `scale()` for plotting

ggplot: remove lines at ribbon edges

Get the list of installed packages by user in R

ggplot2: Is there a fix for jagged, poor-quality text produced by geom_text()?

Extract matrix column values by matrix column name

run a for loop in parallel in R

Sort matrix according to first column in R

ggplot2 increase space between legend keys

Creating a Movie from a Series of Plots in R

R shiny: display “loading…” message while function is running

How can I use Emacs ESS mode with R markdown?

Specify widths and heights of plots with grid.arrange

How to sort a character vector where elements contain letters and numbers in R?

Reverse order of discrete y axis in ggplot2

Euclidean distance of two vectors

How to Reverse a string in R

How to order a data frame by one descending and one ascending column?

Make Frequency Histogram for Factor Variables

R: Find the last dot in a string

Concatenate strings by group with dplyr

Creating a named list from two vectors (names, values)

Add empty columns to a dataframe with specified names from a vector

Parsing command line arguments in R scripts

best way to transpose data.table

Find closest value in a vector with binary search

Fast vectorized merge of list of data.frames by row

Looping over a datetime object results in a numeric iterator

How do I open a script file in RStudio using an R command?

Create a ranking variable with dplyr?

How can you read a CSV file in R with different number of columns

Reading data from PDF files into R

Producing subscripts in R markdown

One function to detect NaN, NA, Inf, -Inf, etc.?

Simplest way to get rbind to ignore column names

Is there a way to output text to the R console in color

Network chord diagram woes in R

Centering image and text in R Markdown for a PDF report

How can I drop unused levels from a data frame?

remove the last element of a vector

count number of rows in a data frame in R based on group

Find the index position of the first non-NA value in an R vector?

assign headers based on existing row in dataframe in R

Error converting text to lowercase with tm_map(…, tolower)

Replacing values from a column using a condition in R

preallocate list in R

Using .I to return row numbers with data.table package

How can I count runs in a sequence?

How can I subset rows in a data frame in R based on a vector of values?

rank and order in R

OS X package installation depends on gfortran-4.8

How to remove “rows” with a NA value?

Find which season a particular date belongs to

Use superscripts in R axis labels

Numeric comparison difficulty in R

Write a data frame to csv file without column header in R

Cut() error - 'breaks' are not unique

Possible to print more than 100 rows of a data.table?

How do I convert a factor into date format?

Convert integer to class Date

Variable name restrictions in R

How to source() .R file saved using UTF-8 encoding?

Return data subset time frames within another timeframes?

What is the difference between mode and class in R?

Select every other element from a vector

Inserting an image to ggplot2

Replace missing values (NA) with most recent non-NA by group

Replace contents of factor column in R dataframe

How to insert elements into a vector?

State name to abbreviation

How do you convert dates/times from one time zone to another in R?

What is the most efficient way to cast a list as a data frame?

How do I change the default library path for R packages

Text wrap for plot titles

changing title in multiplot ggplot2 using grid.arrange

remove all line breaks (enter symbols) from the string using R

Unable to update R packages in default library on Windows 7

What does the R function `poly` really do?

list output truncated - How to expand listed variables with str() in R

How to give color to each class in scatter plot in R?

Replace values in a dataframe based on lookup table

Plotting time-series with Date labels on x-axis

Unlist a list of dataframes

Installing of SparkR

R Shiny - add tabPanel to tabsetPanel dynamically (with the use of renderUI)

Here we go again: append an element to a list in R

aggregate methods treat missing values (NA) differently

How do you create a progress bar when using the “foreach()” function in R?

Is there an R Markdown equivalent to \Sexpr{} in Sweave?

Function not found in R doParallel 'foreach' - Error in { : task 1 failed - “could not find function ”raster“”

Set R plots x axis to show at y=0

Faster way to read fixed-width files

Concatenating Matrices in R

How can I make a list of lists in R?

Make the background of a graph different colours in different regions

Local Variables Within aes

R CMD check note: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

How to replace NaN value with zero in a huge data frame?

replacing NA's with 0's in R dataframe

Plot data in descending order as appears in data frame

Multivariate time series modelling in R

R dplyr: rename variables using string functions

Change background color of R plot

Export data from R to Excel

Finding percentage in a sub-group using group_by and summarise

R: Print list to a text file

Remove rows in R matrix where all data is NA

How to make a sunburst plot in R or Python?

inst and extdata folders in R Packaging

Invalid multibyte string in read.csv

Extract R-square value with R in linear models

Stacked bar chart

Can't change fonts in ggplot/geom_text

How to remove repeated elements in a vector, similar to 'set' in Python

How to hold figure position with figure caption in pdf output of knitr?

Return row number(s) for a particular value in a column in a dataframe

ggplot2: histogram with normal curve

How to determine if a list is empty in R?

dplyr: How to use group_by inside a function?

Adjust Transparency (alpha) of stat_smooth lines, not just transparency of Confidence Interval

Extract rows for the first occurrence of a variable in a data frame

Specifying row names when reading in a file

Unpacking argument lists for ellipsis in R

R: invalid multibyte string

Growing a data.frame in a memory-efficient manner

How to get the name of the calling function inside the called routine?

How to request an early exit when knitting an Rmd document?

Fully reproducible parallel models using caret

What is the difference between NULL and character(0) in R?

Selecting columns in R data frame based on those *not* in a vector

How to replace all NA in a dataframe using tidyr::replace_na?

Save multiple ggplots using a for loop

how can i tell select() in dplyr that the string it is seeing is a column name in a data frame

Why do I get “warning longer object length is not a multiple of shorter object length”?

Making a string concatenation operator in R

R markdown link is not formatted blue when knitted to pdf

How to plot just the legends in ggplot2?

heatmap with values (ggplot2)

Column alignment in DT datatable

R tick data : merging date and time into a single object

Get the mean across multiple Pandas DataFrames

How to sum a numeric list elements

mean() warning: argument is not numeric or logical: returning NA

Letter “y” comes after “i” when sorting alphabetically

catching an error and then branching logic

How to concatenate factors, without them being converted to integer level?

Include levels of zero count in result of table()

How to use reference variables by character string in a formula?

Creating vector of results of repeated function calls in R

Loop in R markdown

Automatically update packages installed from R-forge

knitr: How to prevent text wrapping in output?

How to optimize Read and Write to subsections of a matrix in R (possibly using data.table)

How to specify columns in facet_grid OR how to change labels in facet_wrap

Plotting multiple time series on the same plot using ggplot()

Put stars on ggplot barplots and boxplots - to indicate the level of significance (p-value)

error: --with-readline=yes (default) and headers/libs are not available

Calculating percentile of dataset column

Format number in R with both comma thousands separator and specified decimals

How to Convert data frame to spatial coordinates

Random sample of character vector, without elements prefixing one another

How to define fixed aspect-ratio for scatter-plot

Moving files between folders

How can I force a line break in rmarkdown's title?

Put whisker ends on boxplot

Unimplemented type list when trying to write.table

Multirow axis labels with nested grouping variables

How to check the OS within R

Examples of the perils of globals in R and Stata

Display a time clock in the R command line

Subset with unique cases, based on multiple columns

How to check if entire vector has no values other than NA (or NAN) in R?

Fastest way to multiply matrix columns with vector elements in R

Export a list into a CSV or TXT file in R

Save ggplot with a function

dply: order columns alphabetically in R

What can R do about a messy data format?

Looping over variables in ggplot

Conditionally Count in dplyr

How to select columns in data.table using a character vector of certain column names?

How to create example data set from private data (replacing variable names and levels with uninformative place holders)?

Controlling the 'alpha' level in a ggplot2 legend

Stop lapply from printing to console

How do I change a single value in a data.frame?

Creating a local R package repository

What does the error “arguments imply differing number of rows: x, y” mean?

How to do printf in r?

How to install dependencies when using “R CMD INSTALL” to install R packages?

Rename multiple dataframe columns, referenced by current names

Figure position in markdown when converting to PDF with knitr and pandoc

Rounding selected columns of data.table in R

How to choose variable to display in tooltip when using ggplotly?

Create a sequence between two letters

Change the color of action button in shiny

How to drop columns by name pattern in R?

Sending email in R via outlook

Reshaping multiple sets of measurement columns (wide format) into single columns (long format)

How to implement coalesce efficiently in R

Generate a sequence of the last day of the month over two years

Extract names of objects from list

How to add whitespace to an RMarkdown document?

How do you order the fill-colours within ggplot2 geom_bar

What's the use of which?

How to create a list with names but no entries in R/Splus?

Delete rows that exist in another data frame?

Aggregate multiple columns at once

Use variable names in functions of dplyr

How to adjust the size of y axis labels only in R?

In ggplot2, what do the end of the boxplot lines represent?

Pretty ticks for log normal scale using ggplot2 (dynamic not manual)

How to call a function using the character string of the function name in R?

Count number of rows matching a criteria

customize ggplot2 axis labels with different colors

R color scatter plot points based on values

data.table “key indices” or “group counter”

Date conversion from POSIXct to Date in R

cbind a dataframe with an empty dataframe - cbind.fill?

Saving a JSON object to file.JSON

Change facet label text and background colour

How to generate distributions given, mean, SD, skew and kurtosis in R?

Is there way to track progress on a mclapply?

How to use an image as a point in ggplot?

When should I use setDT() instead of data.table() to create a data.table?

Get the row and column name of the minimum element of a matrix

Why is the diag function so slow? [in R 3.2.0 or earlier]

Confused by …()?

how to calculate the Euclidean norm of a vector in R?

suppress NAs in paste()

How to count how many values per level in a given factor?

How to nicely annotate a ggplot2 (manual)

Building R package and error “ld: cannot find -lgfortran”

Superscript and subscript axis labels in ggplot2

Consolidate duplicate rows

Replace characters from a column of a data frame R

Difference between subset and filter from dplyr

as.numeric with comma decimal separators?

Calling R Function from C++

Confusing error in R: Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 42 elements)

Extract random effect variances from lme4 mer model object

In R base plot, move axis label closer to axis

No visible binding for global variable Note in R CMD check

change both legend titles in a ggplot with two legends

Getting frequency values from histogram in R

Forcing R output to be scientific notation with at most two decimals

Displaying a greater than or equal sign

How do you determine the namespace of a function?

How to melt and cast dataframes using dplyr?

Difference between paste() and paste0()

R: gsub, pattern = vector and replacement = vector

What is a good way to read line-by-line in R?

How to add a title to a ggplot when the title is a variable name?

R suppress startupMessages from dependency

How to add rows to empty data frames with header in R?

How do I obtain the machine epsilon in R?

Time out an R command via something like try()

R - Error : .onLoad failed in loadNamespace() for 'rJava'

What is the most efficient way to select a set of variable names from an R data.frame?

Convert radians to degree / degree to radians

error: unable to load installed packages just now

R: Why is the [[ ]] approach for subsetting a list faster than using $?

Dictionary style replace multiple items

R create reference manual with R CMD check

R “stats” citation for a scientific paper

How to fix 'tar: Failed to set default locale' error?

How to remove the % lines in xtable table output by Knitr

Get date difference in years (floating point)

Get “embedded nul(s) found in input” when reading a csv using read.csv()

ggplot2 - shade area between two vertical lines

Merging multiple data.tables

Calculate cumulative sum (cumsum) by group

Overlap join with start and end positions

Saving leaflet output as html

convert date to unix time in R

How do I convert certain columns of a data frame to become factors?

R force local scope

Extracting text data from PDF files

Error: stat_count() in ggplot2

How to plot one variable in ggplot?

How to get a regression summary in Python scikit like R does?

Special characters and superscripts on plot axis titles

Plot multiple columns on the same graph in R

Escaped Periods In R Regular Expressions

Loading many files at once?

Combine Points with lines with ggplot2

Controlling both the major and minor grid lines on the y axis

How to test that an error does not occur?

Ways to read only select columns from a file into R? (A happy medium between `read.table` and `scan`?)

including a interactive 3D figure with knitr

Importing Functions into Current Namespace

Special variables in ggplot (..count.., ..density.., etc.)

Changing font in PDF produced by rmarkdown

R 3.4.1 “Single Candle” Personal Library Path Error: unable to create ‘NA’

Add a row by reference at the end of a data.table object

Change the color and font of text in Shiny App

How to convert character of percentage into numeric in R

filtering data.frame based on row_number()

Create a data.frame with m columns and 2 rows

model.matrix() with na.action=NULL?

Sum all values in every column of a data.frame in R

Convert NA into a factor level

How to determine if you have an internet connection in R

R Markdown - variable output name

Wind rose with ggplot (R)?

Avoid rbind()/cbind() conversion from numeric to factor

Vectorized IF statement in R?

Split a string vector at whitespace

Hiding NA's when printing a dataframe in knitr

Creating a sequential list of letters with R

Are there best/recommended practices to follow when renaming functions in a new version of a package?

Read all files in directory and apply multiple functions to each data frame

ggplot2 and geom_density: How to remove baseline?

Add a horizontal line to plot and legend in ggplot2

How to annotate() ggplot with latex

Convert type of multiple columns of a dataframe at once

How to tell lapply to ignore an error and process the next thing in the list?

Passing string variable facet_wrap() in ggplot using R

Print number as reduced fraction in R

Extract pvalue from glm

Force no default selection in selectInput()

How do I run a high pass or low pass filter on data points in R?

rJava install error “JAVA_HOME cannot be determined from the Registry”

Convert data from long format to wide format with multiple measure columns

Declaring a Const Variable in R

Adding simple legend to plot in R

Why is the parallel package slower than just using apply?

How to create an R function programmatically?

Converting units in R

How to generate a vector containing a numeric sequence with a given step?

List comprehension in R

Object not found error with ddply inside a function

How to update values with dplyr

Outlined text with ggplot2

data.table objects assigned with := from within function not printed

How to pass extra argument to the function argument of do.call in R

Difference between as.data.frame(x) and data.frame(x)

R: is there something like iPython notebook (jupyter) for R?

Plot a heart in R

How to control ordering of stacked bar chart using identity on ggplot2

Selecting multiple odd or even columns/rows for dataframe

R - Filter a vector using a function

cor shows only NA or 1 for correlations - Why?

How to assign a unique ID number to each group of identical values in a column

How to check existence of an input argument for R functions

Loop in R to read many files

How to plot with a png as background?

subtract value from previous row by group

How I can select rows from a dataframe that do not match?

Remove numbers from alphanumeric characters

Create new dummy variable columns from categorical variable

Removing NA observations with dplyr::filter()

What is the meaning of the dollar sign “$” in R function()?

Remove parenthesis from a character string

Obtaining threshold values from a ROC curve

Adding a company Logo to ShinyDashboard header

How to rotate only text in annotation in ggplot?

Computing cross-correlation function?

Splitting a file name into name,extension

dplyr mutate rowwise max of range of columns

How do I change the NA color from gray to white in a ggplot choropleth map?

How to create a Marimekko/Mosaic plot in ggplot2

R shiny: How to get an reactive data frame updated each time pressing an actionButton without creating a new reactive data frame?

“replace” function examples

Getting OVER QUERY LIMIT after one request with geocode

What does the error “object not interpretable as a factor” mean?

Don't drop zero count: dodged barplot

ggplot2 - bar plot with both stack and dodge

Is it possible to store str output in a R object?

Is cut() style binning available in dplyr?

Set the size of ggsave exactly

R Error: java.lang.OutOfMemoryError: Java heap space

Monitor memory usage in R

knitr gets tricked by data.table `:=` assignment

RcppArmadillo pass user-defined function

creating “radar chart” (a.k.a. star plot; spider plot) using ggplot2 in R

How to Change .libPaths() permanently in R?

How to round a data.frame in R that contains some character variables?

Interpreting “condition has length > 1” warning from `if` function

Convert character to Date in R

Grid in an R plot

How do you remove columns from a data.frame?

Remove 'search' option but leave 'search columns' option

Error message when running simple 'rename' function in R

Case-insensitive search of a list in R

Basic lag in R vector/dataframe

Replace given value in vector

How to return 5 topmost values from vector in R?

Change the index number of a dataframe

Converting decimal to binary in R?

Create a sequential number (counter) for rows within each group of a dataframe

suppress console output in r markdown, but keep plot

Adding space between bars in ggplot2

How do I read a Parquet in R and convert it to an R DataFrame?

wrap long text in kable table column

Pass a vector of variable names to arrange() in dplyr

Can I create an empty ggplot2 plot in R?

How to reliably get dependent variable name from formula object?

How to split the Main title of a plot in 2 or more lines?

How to delete specific rows and columns from a matrix in a smarter way?

How to change order of array dimensions

How do I manually change the key labels in a legend in ggplot2

R Shiny - disable / able shinyUI elements

meaning of ddply error: 'names' attribute [9] must be the same length as the vector [1]

Linear Regression with a known fixed intercept in R

plotting pie graphs on map in ggplot

Dynamic column names in data.table

Rbuildignore and Excluding Directories

Using apply on a multidimensional array in R

Replace single backslash in R

Security in an R Shiny Application

Plotting a “sequence logo” using ggplot2?

higher level functions in R - is there an official compose operator or curry function?

Is there something like requirements.txt for R?

Find complement of a data frame (anti - join)

Get the path of current script

Create an ID (row number) column

Subset dataframe by multiple logical conditions of rows to remove

dplyr: put count occurrences into new variable

R: “Unary operator error” from multiline ggplot2 command

Create end of the month date from a date variable

R convert dataframe to JSON

Efficient row-wise operations on a data.table

Calculate cumsum() while ignoring NA values

Extend contigency table with proportions (percentages)

How to add a page break in word document generated by RStudio & markdown

Merging two columns into one in R

Converting excel DateTime serial number to R DateTime

R, dplyr - combination of group_by() and arrange() does not produce expected result?

Column standard deviation R

'Reset inputs' button in shiny app

Removing multiple columns from R data.table with parameter for columns to remove

Convert list of vectors to data frame

Negation of %in% in R

Remove NULL elements from list of lists

Streamgraphs in R?

preventing a chunk run in rmarkdown

Sort a factor based on value in one or more other columns

How do you change the default directory in RStudio (or R)?

Making a circular barplot with a hollow center (aka race track plot)

What is a “good” palette for divergent colors in R? (or: can viridis and magma be combined together?)

Using parLapply and clusterExport inside a function

Code to import data from a Stack overflow query into R

Increasing area around plot area in ggplot2

`which()` function for matrix indices

R ggplot2 legend inside the figure

Importing csv file into R - numeric values read as characters

R self reference

Add objects to package namespace

How can I stop a running R command in linux other than with Ctrl + C?

figure captions, references using knitr and markdown to html

How to highlight time ranges on a plot?

ggplot2 0.9.0 automatically dropping unused factor levels from plot legend?

matplotlib analog of R's `pairs`

Why is using assign bad?

using parallel's parLapply: unable to access variables within parallel code

How to display all x labels in R barplot?

How to remove a level of lists from a list of lists

How to write to clipboard on Ubuntu/Linux in R?

When trying to replace values, “missing values are not allowed in subscripted assignments of data frames”

Aesthetics must either be length one, or the same length as the dataProblems

How to define a vectorized function in R

Is there a way to use two '…' statements in a function in R?

caught segfault error in R

R: How to run some code on load of package?

Is there a vectorized parallel max() and min()?

How (and why) do you use contrasts?

R: In RStudio how do I make knitr output to a different folder to avoid cluttering up my drive?

Reading data from Microsoft SQL Server into R

Specifying multiple simultaneous output formats in knitr

How to write a test for a ggplot plot

Why does the number 1e9999… (31 9s) cause problems in R?

R: How to make second level indented bullet points using RMarkdown ioslides?

Is there a more efficient way to replace NULL with NA in a list?

Implementation of standard recycling rules

There is pmin and pmax each taking na.rm, why no psum?

Check if character string is a valid color representation

converting multiple columns from character to numeric format in r

Colouring plot by factor in R

Is there a weighted.median() function?

Filter a vector of strings based on string matching

Alternative to expand.grid for data.frames

ggplot2 - jitter and position dodge together

Overriding “Variables not shown” in dplyr, to display all columns from df

Using a pre-defined color palette in ggplot

Vectorizing a matrix

How to hide code in RMarkdown, with option to see it

How to attach a simple data.frame to a SpatialPolygonDataFrame in R?

ggplot2: Overlay density plots R

Read SAS sas7bdat data into R

ggplot2 theme with no axes or grid

What's the difference between identical(x, y) and isTRUE(all.equal(x, y))?

Displaying text below the plot generated by ggplot2

Proper idiom for adding zero count rows in tidyr/dplyr

list.files() all files in directory and subdirectories

R find time when a file was created

Cut by Defined Interval

Return elements of list as independent objects in global environment

Chord diagram in R

R Script - How to Continue Code Execution on Error

Output in R, Avoid Writing “[1]”

How to round up to whole number in R?

Count number of columns by a condition (>) for each row

Dealing with Messy Dates

How do I show the source code of an S4 function in a package?

Dynamic height and width for knitr plots

In R, what does “loaded via a namespace (and not attached)” mean?

Change temporary directory

Dealing with missing values for correlations calculation

How to jitter text to avoid overlap in a ggplot2 scatterplot?

Producing PDF report using knitr (LaTeX) from Shiny application

Generate a sequence of characters from 'A'-'Z'

Detect text language in R

Remove highly correlated variables

Error when running library(ggplot2)

Define and apply custom bins on a dataframe

Add a footnote citation outside of plot area in R?

Parent directory in R

Plotting pca biplot with ggplot2

Add x and y axis to all facet_wrap

Left-adjust title in ggplot2, or absolute position for ggtitle

Read multiple CSV files into separate data frames

Find duplicated rows (based on 2 columns) in Data Frame in R

Specifying column names in a data.frame changes spaces to “.”

rbind multiple data sets

How to change the font size and color of x-axis and y-axis label in a scatterplot with plot function in R?

Remove parentheses and text within from strings in R

dplyr - using mutate() like rowmeans()

Download a file from HTTPS using download.file()

How to end a 'debug' mode?

Extract bz2 file in R

R list of lists to data.frame

Generating Random Dates

Changing chunk background color in RMarkdown

R: determine if a script is running in Windows or Linux

geom_bar bars not displaying when specifying ylim

How expensive is it to compute the eigenvalues of a matrix?

How to fill matrix with random numbers in R?

how to insert new line in R shiny string

Merging more than 2 dataframes in R by rownames

multiplying all elements of a vector in R

How to make the horizontal scrollbar visible in DT::datatable

How to preserve base data frame rownames upon filtering in dplyr chain

R Function for returning ALL factors

geom_text how to position the text on bar as I want?

“import as” in R

Figures captions and labels in knitr

R legend placement in a plot

Debugging lapply/sapply calls

can the value.var in dcast be a list or have multiple value variables?

Using identical() in R with multiple vectors

use first row data as column names in r

Save ggplot within a function

Using grep in R to find strings as whole words (but not strings as part of words)

Why can't I get a p-value smaller than 2.2e-16?

Passing a variable name to a function in R

dplyr::mutate to add multiple values

Package error when running r code on command line

changing ggplot factor colors?

Print list without line numbers in R

multinomial logistic multilevel models in R

geom_point() and geom_line() for multiple datasets on same graph in ggplot2

Annotate ggplot2 facets with number of observations per facet

Text clustering with Levenshtein distances

How can I sort a data.frame with only one column, without losing rownames?

Solving simultaneous equations with R

Way to securely give a password to R application from the terminal?

What is the practical use of the identity function in R?

Uninstall (remove) R package with dependencies

How to draw a nice arrow in ggplot2

Align geom_text to a geom_vline in ggplot2

Possible shortcomings for using JIT with R?

LaTeX figure label from R plot using KnitR?

How to find Waldo with R?

Simplest way to do grouped barplot

What does the diff() function in R do?

Update data frame via function doesn't work

Check if R is running in RStudio

Chain arithmetic operators in dplyr with %>% pipe

R - image of a pixel matrix?

Subset elements in a list based on a logical condition

RMarkdown: How to end tabbed content

Creating co-occurrence matrix

Setting work directory in knitr using opts_chunk$set(root.dir = …) doesn't work

Add a “rank” column to a data frame

Convert hour:minute:second (HH:MM:SS) string to proper time class

R ggplot2: Labelling a horizontal line on the y axis with a numeric value

Deleting rows that are duplicated in one column based on the conditions of another column

How to remove rows of a matrix by row name, rather than numerical index?

Include a javascript file in Shiny app

How can I concatenate a vector?

Combine (rbind) data frames and create column with name of original data frames

Combining matrices into an array in R

How to optimize for integer parameters (and other discontinuous parameter space) in R?

How do I put more space between the axis labels and axis title in an R boxplot

ggplot2 pie and donut chart on same plot

Repeat list object n times

Saving and loading a model in R

Axis labels on two lines with nested x variables (year below months)

R list files with multiple conditions

Concatenate numerical values in a string

How do I draw gridlines using abline() that are behind the data?

How to access single elements in a table in R

Useful little functions in R?

R Shiny: Download existing file

Better error message for stopifnot?

Can lists be created that name themselves based on input object names?

How to test when condition returns numeric(0) in R

How do you pass parameters to a shiny app via URL

short formula call for many variables when building a model

Recombining a list of Data.frames into a single data frame

Convert dataframe column to 1 or 0 for “true”/“false” values and assign to dataframe

Plot coordinates on map

possible to create latex multicolumns in xtable?

How to skip error checking at Rmarkdown compiling?

grepl: Search within a string that does not contain a pattern

ggplot scale color gradient to range outside of data range

R convert matrix or data frame to sparseMatrix

find all functions (including private) in a package

Producing a vector graphics image (i.e. metafile) in R suitable for printing in Word 2007

Wrap legend text in ggplot2

defining minimum point size in ggplot2 - geom_point

Multiply many columns by a specific other column in R with data.table?

duplicates in multiple columns

Remove a library from .libPaths() permanently without Rprofile.site

Pandas - how to convert r dataframe back to pandas?

Load R package from character string

Count number of distinct values in a vector

Best way to allocate matrix in R, NULL vs NA?

How can I reference the local environment within a function, in R?

predict.lm() with an unknown factor level in test data

How to get mean, median, and other statistics over entire matrix, array or dataframe?

doing a plyr operation on every row of a data frame in R

Anti-aliasing in R graphics under Windows (as per Mac)

Closest equivalent of a factor variable in Python Pandas

Asymmetric expansion of ggplot axis limits

Adding minor tick marks to the x axis in ggplot2 (with no labels)

Error calling serialize R function

R avoiding “restarting interrupted promise evaluation” warning

Conditionally display a block of text in R Markdown

Find out the number of days of a month in R

Creating a symmetric matrix in R

How to get two windows with different plots

Loop through columns and add string lengths as new columns

Filter data frame by character column name (in dplyr)

Can I combine a list of similar dataframes into a single dataframe?

Loop over rows of dataframe applying function with if-statement

Represent numeric value with typical dollar amount format

long/bigint/decimal equivalent datatype in R

In `knitr` how can I test for if the output will be PDF or word?

Eliminating NAs from a ggplot

How to retry a statement on error?

hiding personal functions in R

Calculating weighted mean and standard deviation

How to add percentage or count labels above percentage bar plot?

Understand the `Reduce` function

Changing Fonts for Graphs in R

insert side by side png images using knitr

Extract non null elements from a list in R

Converting nested list to dataframe

Simplified dput() in R

Create new column based on 4 values in another column

use multiple columns as variables with sapply

Elegantly assigning multiple columns in data.table with lapply()

Remove strip background keep panel border

Round a POSIX date (POSIXct) with base R functionality

Weird characters added to first column name after reading a toad-exported csv file

Display frequency instead of count with geom_bar() in ggplot

Sample random rows within each group in a data.table

Sorting a boxplot based on median value

using R to copy files

Setting up a 3D matrix in R and accessing certain elements

Reverse and change limit of axis

How do I install a package that has been archived from CRAN?

Error in if/while (condition) { : argument is of length zero

Text file to list in R

Hyperlinking text in a ggplot2 visualization

Create a PDF table

unzip a tar.gz file?

Apply multiple functions to multiple columns in data.table

Count number of vector values in range with R

Passing arguments to iterated function through apply

Can I navigate, zoom in and zoom out R plots?

using colClasses in fread

How to step through an R script from the beginning?

lapply() when function returns NULL

Circular Heatmap that looks like a donut

R: Plotting a 3D surface from x, y, z

what is the difference between names and colnames

Poor resolution in knitr using Rmd

How to add documentation to a data.frame in R?

Show correlations as an ordered list, not as a large matrix

How to display verbatim inline r code with backticks using Rmarkdown?

R: lookaround within lookaround

ggplot2: Multiple color scales or shift colors systematically on different layers?

How to align multiple ggplot2 plots and add shadows over all of them

How to reverse the order of a dataframe in R

In what cases should new.env be used to create a new environment?

Why do logicals (booleans) in R require 4 bytes?

find *all* duplicated records in data.table (not all-but-one)

Simple frequency tables using data.table

Variable as a column name in data frame

Generate multiple graphics from within an R function

Preventing performance regressions in R

Plotting cumulative counts in ggplot2

Perform a Shapiro-Wilk Normality Test

R-Project no applicable method for 'meta' applied to an object of class “character”

R tm package invalid input in 'utf8towcs'

Add error bars to show standard deviation on a plot in R

Use hist() function in R to get percentages as opposed to raw frequencies

Reordering columns in a large dataframe

Get indexes of a vector of numbers in another vector

R how can I calculate difference between rows in a data frame

Dealing with TRUE, FALSE, NA and NaN

Subset data frame based on number of rows per group

Stacked Bar Plot in R

Create empty dataframe in R with same columns

using substitute to get argument name with

Sink does not release file

How to extract the row with min or max values?

How to find row number of a value in R code

Imputation of missing values for categories in pandas

Storing ggplot objects in a list from within loop in R

Remove duplicates keeping entry with largest absolute value

Convert seconds to days: hours:minutes:seconds

percentage on y lab in a faceted ggplot barchart?

Only download sources of a package and all dependencies

Add margin row totals in dplyr chain

How to subset from a list in R

Changing shapes used for scale_shape() in ggplot2

Can rbind be parallelized in R?

How to remove rows with inf from a dataframe in R

Formatting mouse over labels in plotly when using ggplotly

How do I parallelize in r on windows - example?

struggling with integers (maximum integer size)

Expand rows by date range using start and end date

Set a Data Frame Column as the Index of R data.frame object

Add author affiliation in R markdown beamer presentation

Adding a 3rd order polynomial and its equation to a ggplot in r

Getting a row from a data frame as a vector in R

Remove pattern from string with gsub

Unnest a list column directly into several columns

Efficient way to rbind data.frames with different columns

How to get parameters from config file in R script

r get value only from quantile() function

How can I add another layer / new series to a ggplot?

how to use the Box-Cox power transformation in R

What are the double colons (::) in R?

combining two data frames of different lengths

Installing non-public packages from Gitlab using devtools::install_git

Remove a layer from a ggplot2 chart

Use different center than the prime meridian in plotting a world map

How to append a plot to an existing pdf file

Meaning of band width in ggplot geom_smooth lm

R equivalent of python “_”?

TODO comments in rStudio

display a matrix, including the values, as a heatmap

How do I run apply on a data.table?

how to pass arguments into function within a function in r

R: apt-get install r-cran-foo vs. install.packages(“foo”)

Non character argument in R string split function (strsplit)

S3 method consistency warning when building R package with Roxygen

R time series modeling on weekly data using ts() object

Using lapply to apply a function over list of data frames and saving output to files with different names

Why do I get “number of items to replace is not a multiple of replacement length”

Easier way to plot the cumulative frequency distribution in ggplot?

Count NAs per row in dataframe

Angle between two vectors in R

How to avoid a loop in R: selecting items from a list

Create categories by comparing a numeric column with a fixed value

Multiple strings with str_detect R

is there a way to extend LETTERS past 26 characters e.g., AA, AB, AC…?

Stratified random sampling from data frame

ggplot2 : Plot mean with geom_bar

How can I change XTS to data.frame and keep Index?

Interleave lists in R

sample rows of subgroups from dataframe with dplyr

How do you read multiple .txt files into R?

Is it possible to get the number of rows in a CSV file without opening it?

ggplot2 legend items in a single horizontal row

Concatenate row-wise across specific columns of dataframe

How to save() with a particular variable name

subtract a constant vector from each row in a matrix in r

Calculate percentage change in an R data frame

Arrange a grouped_df by group variable not working

R: ggplot2, can I set the plot title to wrap around and shrink the text to fit the plot?

Format numbers to significant figures nicely in R

Horizontal/Vertical Line in plotly

cartesian product with dplyr R

multiple graphs in one canvas using ggplot2

which(vector1 < vector2)

How to move backward parent folder

Raw text strings for file paths in R

Pandoc insert appendix after bibliography

In R, using Ubuntu, try to install a lib depending on GMP C lib, it won't find GMP, but I have GMP installed

Find windows user name within R

Exclude columns by names in mutate_at in dplyr

Plot normal, left and right skewed distribution in R

Boxplot in R showing the mean

Changing values when converting column type to numeric

Sum of rows based on column value

How do I quickly convert the size element of file.info() from bytes to KB, MB, GB, etc.?

Split a string by any number of spaces

How to generate permutations or combinations of object in R?

How to write a “reader-friendly” sessionInfo() to text file

dplyr - groupby on multiple columns using variable names

Addressing x and y in aes by variable number

Include code from an external R script, run in, display both code and output

Use expression with a variable r

How to fill a matrix with zero (0)

How to use facets with a dual y-axis ggplot

sp::over() for point in polygon analysis

R: applying function over matrix and keeping matrix dimensions

Plotting color map with zip codes in R or Python

NAMESPACE not generated by roxygen2. Skipped. - Confusion with Hadley book

Non-standard evaluation (NSE) in dplyr's filter_ & pulling data from MySQL

Rolling mean (moving average) by group/id with dplyr

R: `which` statement with multiple conditions

How to filter for unique combination of columns from an R dataframe

Using ggplot function in R error : could not find function ggplot

Using If/Else on a data frame

What's a good strategy to get a decent overview of big correlation matrices or pairs?

How to label a barplot bar with positive and negative bars with ggplot2

Execute two commands sequentially on one line in R?

How can I produce plots like this?

Is there an easier way to access attributes of a class in R, can I use dot notation?

Rpresentation in Rstudio - Make image fill out the whole screen

Clickable links in Shiny Datatable

How to update a package in R?

How to programmatically extract / unzip a .7z (7-zip) file with R

Position legend in first plot of facet

Line break when no data in ggplot2

How to get coefficients and their confidence intervals in mixed effects models?

How can I generate ascii “graphical output” from R?

Write list of data.frames to separate CSV files with lapply

How to create plots in multiple windows and keep them separate in R

How is the feature score(/importance) in the XGBoost package calculated?

RMarkdown in Shiny Application

How should I handle 'helper' functions in an R package?

Is there a way of manipulating ggplot scale breaks and labels?

ggplot2 warning: Stacking not well defined when ymin != 0

Rscript: There is no package called …?

Remove columns from dataframe where some of values are NA

Removing html tags from a string in R

How to calculate combination and permutation in R?

Extracting unique numbers from string in R

How can I plot a tree (and squirrels) in R?

Grep in R using OR and NOT

Convert months mmm to numeric

Remove square brackets from a string vector

Efficient way to find repeated runs of rows, remove, & count

Splitting a dataframe string column into multiple different columns

Convert all columns to characters in a data.frame

Reshaping wide to long with multiple values columns

Deselecting a column by name

How do I install an R package from the source tarball on windows?

How do you change library location in R?

Using different font styles in annotate (ggplot2)

Selecting a subset of columns in a data.table

Replace logical values (TRUE / FALSE) with numeric (1 / 0)

How to find all functions in an R package?

Frequency count of two column in R

Calculate correlation for more than two variables?

How to delete rows from a data.frame, based on an external list, using R?

Emulate split() with dplyr group_by: return a list of data frames

Replace <NA> in a factor column

Internal links in rmarkdown don't work

How to not show all labels on ggplot axis?

How to remove rows with any zero value

Copy an R data.frame to an Excel spreadsheet

Converting ts object to data.frame

Count the number of non-zero elements of each column

showing a status message in R

Find columns with all missing values

How to generate a frequency table in R with with cumulative frequency and relative frequency

Showing different axis labels using ggplot2 with facet_wrap

How to avoid using round() in every \Sexpr{}?

read.csv, header on first line, skip second line

Difference between two vectors in R

Remove all punctuation except apostrophes in R

Calculate group mean (or other summary stats) and assign to original data

Tidyverse approach to binding unnamed list of unnamed vectors by row - do.call(rbind,x) equivalent

Changing whisker definition in geom_boxplot

Printing multiple ggplots into a single pdf, multiple plots per page

Disable assignment via = in R

lapply vs for loop - Performance R

Adding column if it does not exist

Using spread with duplicate identifiers for rows

Adding labels to ggplot bar chart

cut function in R- labeling without scientific notations for use in ggplot2

How to plot the survival curve generated by survreg (package survival of R)?

How can I change the title of a ggplot2 legend?

Cumulative count of each value

How to find the highest (latest) and lowest (earliest) date [R]

Adding text to a grid.table plot

Regression with Heteroskedasticity Corrected Standard Errors

How to print the structure of an R object to the console

access data frame column using variable

Efficient alternatives to merge for larger data.frames R

R: Assign variable labels of data frame columns

Copying and modifying a default theme

Writing functions in R, keeping scoping in mind

how to create a loop that includes both a code chunk and text with knitr in R

How to use the strsplit function with a period

Is there a way to `source()` and continue after an error?

Remove spacing around plotting area in r

Control the height in fluidRow in R shiny

Combining (cbind) vectors of different length

Replacing NAs in R with nearest value

Element-wise mean in R

Interactively change the selectInput choices

R Shiny selectInput that is dependent on another selectInput

Row/column counter in 'apply' functions

dynamically add plots to web page using shiny

double dots in a ggplot

How do I stop/end/halt a script in R?

Convert HTML-table to Excel using VBA

Automating version increase of R packages

Converting a factor to numeric without losing information R (as.numeric() doesn't seem to work)

R: Insert a vector as a row in data.frame

Override a function that is imported in a namespace

Memory profiling in R - tools for summarizing

Extract last word in string in R

How to do cross join in R?

Refer to the last column in R

How to remove all the NA from a Vector?

Split a string every 5 characters

How to open CSV file in R when R says “no such file or directory”?

Write a dataframe to csv file with value of NA as blank

ignore NA in dplyr row sum

First entry from string split

How to square all the values in a vector in R?

Remove rows where all variables are NA using dplyr

Calling a function from a namespace

How can I rbind vectors matching their column names?

R data.table apply function to rows using columns as arguments

Draw more than one function curves in the same plot

Extract Links from Webpage using R

How to create a consecutive group number

Cumulative sum for positive numbers only

Error when I try to predict class probabilities in R - caret

How can I get the average (mean) of selected columns

Loading an R Package from a Custom directory

Regular expressions (RegEx) and dplyr::filter()

Installing nloptr on Linux

R: How to ignore case when using str_detect?

ggplot2, axis not showing after using theme(axis.line=element_line())

Subsetting data.table set by date range in R

R: How to extract dates from a time series

Apply function to every value in an R dataframe

Changing date format to “%d/%m/%Y”

Creating a data frame from two vectors using cbind

Making square axes in R

Converting python objects for rpy2

R regular expressions: unexpected behavior of “[:digit:]”

How can I make R read my environmental variables?

Creating a new column to a data frame using a formula from another variable

any R style guide / checker?

How to run R on a server without X11, and avoid broken dependencies

Which layout should I use to get non-overlapping edges in igraph?

Using cbind on an arbitrarily long list of objects

R Markdown Bullet List with Multiple Levels

rowwise maximum for R

Find elements in a character array that contains a string

Successor to ggplot2::fortify

R - save multiplot to file

Alter just horizontal spacing between facets (ggplot2)

R package development - function aliases

Good Ways to Visualize Longitudinal Categorical Data in R

Finding rows containing a value (or values) in any column

How do I use `[` correctly with (l|s)apply to select a specific column from a list of matrices?

removing all the space between two ggplots combined with grid.arrange

R says “Cannot take a sample larger than the population” — but I am not taking a sample larger than the population

How does one do a full join using data.table?

R convert zipcode or lat/long to county

How to deal with spaces in column names?

Convert yyyymmdd string to Date class in R

ggplot2 : Adding two errorbars to each point in scatterplot

How to print R variables in middle of String

ggplot geom_point() with colors based on specific, discrete values

Subset data.table by logical column

How to tell what packages you have used in R

Building an R package on Travis, how not to treat warnings as errors?

When to use R, when to use SQL?

R on Windows: character encoding hell

How do I call the `function` function?

Enter new column names as string in dplyr's rename function

Loop through columns in a data.table and transform those columns

How to get RStudio to automatically compile R Markdown Vignettes?

R interpolated polar contour plot

Weird ggplot2 error: Empty raster

Counting non NAs in a data frame; getting answer as a vector

How to combine two vectors into a data frame

Suppressing messages in Knitr / Rmarkdown

Count and summation of positive and negative number sequences

Rounding time to nearest quarter hour

Changing date format in R

count of entries in data frame in R

round but .5 should be floored

Remove fill around legend key in ggplot

Spearman correlation and ties

How to increase the font size of ggtitle in ggplot2

Generating Random Strings

How to do selective labeling with GGPLOT geom_point()

Place y-axis on the right

How to label points on a scatterplot with R?

Place a legend for each facet_wrap grid in ggplot2

How to create a column with a quartile rank?

How to scrape the web for the list of R release dates?

Reshape multiple value columns to wide format

Is it possible to swap columns around in a data frame using R?

Rmarkdown font size and header

How do I group my date variable into month/year in R?

The simplest algorithm for poker hand evaluation

Grid line consistent with ticks on axis

Plot polynomial regression curve in R

Going to Python from R, what's the python equivalent of a data frame?

Quickly remove zero variance variables from a data.frame

unknown timezone name in R strptime/as.POSIXct

Sum of two Columns of Data Frame with NA Values

Splitting a string on the first space

How do I add a URL to R markdown?

Does R have something equivalent to reduce() in Python?

libjvm.so: cannot open shared object file: No such file or directory

Reliable way to detect if a column in a data.frame is.POSIXct

How do you extract a few random rows from a data.table on the fly

Why is mean() so slow?

Custom sorting (non-alphabetical)

Split date-time column into Date and time variables

How to check if a vector contains n consecutive numbers

Control number of decimal places on xtable output in R

parallel execution of random forest in R

Saving plot to tiff, with high resolution for publication (in R)

Gradient legend in base

Venn Diagrams with R?

Placing Custom Images in a Plot Window--as custom data markers or to annotate those markers

R reading a huge csv

dplyr join warning: joining factors with different levels

remove row with nan value

R: get list of files but not of directories

How can I read the header but also skip lines - read.table()?

Insert a logo in upper right corner of R markdown html document

Filtering dates in dplyr

Place title of multiplot panel with ggplot2

How to check file size before opening?

Splitting a large data frame into smaller segments

The condition has length > 1 and only the first element will be used

How to measure similarity between strings?

r legend trouble , how to change the text size in legend

Cannot create an empty vector and append new elements in R

How do I select columns that may or may not exist?

Naming list elements in R

Listing all files matching a full-path pattern in R

How to combine row and column layout in flexdashboard?

Knitr wont compile PDF: “Error in tools::file_path_as_absolute(output_file)”

Adjusting width of tables made with kable() in RMarkdown documents

R data.table change R names

Inserting a table under the legend in a ggplot2 histogram

How do I find the edges of a vertex using igraph and R?

Why is expand.grid faster than data.table 's CJ?

ggplot: text printed by geom_text is not clear

change the default colour palette in ggplot

Extracting unique rows from a data table in R

suppress messages displayed by “print” instead of “message” or “warning” in R

How can I pass multiple arguments to a function as a single vector?

R barplot Y-axis scale too short

Set number of columns (or rows) in a facetted plot

Finding the index inside a vector satisfying a condition

Understanding the differences between mclapply and parLapply in R

Creating a density histogram in ggplot2?

Preferred method of checking object's class in R

plotting a curve around a set of points

Handling Latex backslashes in xtable

How to initialize empty data frame (lot of columns at the same time) in R

Check if variable has the value ''

How do I select rows by two criteria in data.table in R

Can't draw Histogram, 'x' must be numeric

Why is allow.cartesian required at times when when joining data.tables with duplicate keys?

how to convert data.frame to transactions for arules

Collate field in package Description

How to draw a “zoom in” effect in R

How to change positions of x and y axis in ggplot2

plot functions with filled point symbols and legend

Python equivalent of which() in R

Find cosine similarity between two arrays

Take randomly sample based on groups

Sweave for python

split character data into numbers and letters

Moving variance in R

Transposing a dataframe maintaining the first column as heading

R - how to replace parts of variable strings within data frame

It is possible to create inset graphs?

Sourcing R script over HTTPS

Specify height and width of ggplot graph in Rmarkdown knitr output

Add extra level to factors in dataframe

How to add code folding to output chunks in rmarkdown html documents

How to write from R to the clipboard on a mac

Are there any good R object browsers?

Count leading zeros between the decimal point and first nonzero digit

Crop for SpatialPolygonsDataFrame

How to extract sheet names from Excel file in R

Shaded area under two curves using R

Alternatives to nested ifelse statements in R

Concatenate strings and expressions in a plot's title

How to extract elements from a list with mixed elements

how to drop columns by passing variable name with dplyr?

Convert hex to decimal in R

find indices of non zero elements in matrix

ggplot2: Divide Legend into Two Columns, Each with Its Own Title

how to create md5 hash of a column in R?

How to display widgets inline in shiny

How to remove extra white space between words inside a character vector using?

turning off case sensitivity in r

Linear model function lm() error: NA/NaN/Inf in foreign function call (arg 1)

Downloading Yahoo stock prices in R

Error in terms.formula(formula) : '.' in formula and no 'data' argument

Subset based on variable column name

non-numeric argument to binary operator

Saving multiple outputs of foreach dopar loop

rpy2 install on windows 7

How to efficiently partially apply a function in R?

Error in R: (Package which is only available in source form, and may need compilation of C/C++/Fortran)

How to add a factor column to dataframe based on a conditional statement from another column?

Can't install rJava on ubuntu system

How do I select variables in an R dataframe whose names contain a particular string?

Equivalent of matlab 'ans' in R

How to control the igraph plot layout with Fixed Positions?

Sample n random rows per group in a dataframe

How can I remove empty factors from ggplot2 facets?

How can I add a subtitle and change the font size of ggplot plots in R?

Why does strsplit use positive lookahead and lookbehind assertion matches differently?

How to convert entire dataframe to numeric while preserving decimals?

Python equivalent of the R operator “%in%”

Diagonal labels orientation on x-axis in heatmap(s)

ggplot2 and a Stacked Bar Chart with Negative Values

Get the index of the values of one vector in another?

Print pretty data.frames/tables to console

r cumsum per group in dplyr

Get columns by string from data.table

Disable/suppress tcltk popup for CRAN mirror selection in R

detect non ascii characters in a string

appending to a list with dynamic names

What are the disadvantages of using .Rdata files compared to HDF5 or netCDF?

inconsolata missing to build R vignette

Setting the default value in a function?

R - ordering in boxplot

Change arrowhead of arrows()

Unique values in each of the columns of a data frame

Can I remove an element in … (dot-dot-dot) and pass it on?

How to use subscripts in ggplot2 legends [R]

Apply a function to each row in a data frame in R

How to set the tolerance of expect_equal in testthat framework

How to test if object is a vector

Reading in chunks at a time using fread in package data.table

R syntax highlighting in Terminal

Convert MATLAB code to R

How to make an empty vector of POSIXct

How to draw lines outside of plot area in ggplot2?

Plotting of very large data sets in R

Example Needed: Change the default print method of an object

Using enter key with action button in R Shiny

Generate Dynamic R Markdown Blocks

Significance level added to matrix correlation heatmap using ggplot2

Generally disable dimension dropping for matrices?

locator equivalent in ggplot2 (for maps)

How to make join operations in dplyr silent?

R shiny different output between renderTable and renderDataTable

simple examples of filter function, recursive option specifically

equivalent of R's View for Python's pandas

Drawing an excellent cow

How can I background the R process in ESS / Emacs?

how to use classwt in randomForest of R?

Profiling Rcpp code on OS X

Function to calculate R2 (R-squared) in R

Getting previous month start date and end date from current date in R

Replace negative values by zero

Compute mean and standard deviation by group for multiple variables in a data.frame

How can I format axis labels with exponents with ggplot2 and scales?

r random forest error - type of predictors in new data do not match

Is it possible to insert (add) a row to a SQLite db table using dplyr package?

How can put multiple plots side-by-side in shiny r?

Reproduce table and plot from journal

How to get unsaved script tabs

How to read .arff file with R?

Replace multiple strings in one gsub() or chartr() statement in R?

Pad with leading zeros to common width

Count word occurrences in R

Use of switch() in R to replace vector values

Select rows with min value by group

dplyr - how to select columns of certain type

Add row to data frame with dplyr

Error: '\R' is an unrecognized escape in character string starting “C:\R”

Warning in install.packages: unable to move temporary installation

How to add boxplots to scatterplot with jitter

Clean variables and close connections

How to find the minimum value of a column in R?

Is there a way to check if a column is a Date in R?

What is the difference between NaN and Inf, and NULL and NA in R?

NA values not being excluded in `cor`

R dplyr rolling sum

Forecasting time series data

What is a neat command line equivalent to RStudio's Knit HTML?

Piping stdin to R

How do I create a copy of a data frame in R

Convert character matrix into numeric matrix

completely uninstall r linux

possible to run RShiny app without opening an R environment?

How do I print a hexadecimal number with leading 0 to have width 2 using sprintf?

Selecting non-consecutive columns in R tables

Remove accents from a dataframe column in R

Floor a year to the decade in R

Making an R package PDF manual using devtools

Centering a plot within a fluidRow in Shiny

purrr map equivalent of nested for loop

How to skip an error in a loop

R function prcomp fails with NA's values even though NA's are allowed

Is it possible to have sortable (Interactive) table in rMarkdown?

Align text inside a plot

How to perform natural (lexicographic) sorting in R?

risks of using setwd() in a script?

Mean of elements in a list of data.frames

updating column in one dataframe with value from another dataframe based on matching values

How can I paste 100000 without it being shortened to 1e+05?

Delete “” from csv values and change column names when writing to a CSV

Standard Deviation in R Seems to be Returning the Wrong Answer - Am I Doing Something Wrong?

How can I insert an image into the navbar on a shiny navbarPage()

Replace NA in column with value in adjacent column

R: standard error output from lm object

How to get geom_vline to honor facet_wrap?

Recoding variables with R

How to jitter/remove overlap for geom_text labels

Return row of Data Frame based on value in a column - R

Use character string as function argument

How to solve “clipboard buffer is full and output lost” error in R running in Windows?

writing a matrix to a file, without a header and row numbers

How to increase size of the points in ggplot2, similar to cex in base plots?

Why are Xs added to data frame variable names when using read.csv?

After I upgrade my R version, how can I easily reinstall all the packages that were installed in the old version?

Running R Code from Command Line (Windows)

grab n letter words don't count apostrophes regex

R programming - Adding extra column to existing matrix

Conditional assignment of one variable to the value of one of two other variables

rstudio - is it possible to run a code in the background

Applying a function to two lists?

Handling missing/incomplete data in R--is there function to mask but not remove NAs?

How can I expand a vector into the arguments of a function in r?

dplyr join define NA values

Using png function not working when called within a function

Data input via shinyTable in R shiny application

Variable width bars in ggplot2 barplot in R

Colorize parts of the title in a plot

Valid time zones in lubridate

Why is running “unique” faster on a data frame than a matrix in R?

How to refer to a variable name with spaces?

Memory Usage in R

Scaling shiny plots to window height

How do I add a Changelog or NEWS file to my R package?

Is there a good R API for accessing Google Docs?

In read.table(): incomplete final line found by readTableHeader

Why do some Unicode characters display in matrices, but not data frames in R?

How to escape a backslash in R?

World map with ggmap

ggplot2: add line for average per group

Problems with dplyr and POSIXlt data

Installing of SparkR

R Shiny - add tabPanel to tabsetPanel dynamically (with the use of renderUI)

Here we go again: append an element to a list in R

aggregate methods treat missing values (NA) differently

How do you create a progress bar when using the “foreach()” function in R?

Is there an R Markdown equivalent to \Sexpr{} in Sweave?

Function not found in R doParallel 'foreach' - Error in { : task 1 failed - “could not find function ”raster“”

Set R plots x axis to show at y=0

Faster way to read fixed-width files

Concatenating Matrices in R

How can I make a list of lists in R?

Make the background of a graph different colours in different regions

Local Variables Within aes

R CMD check note: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

How to replace NaN value with zero in a huge data frame?

replacing NA's with 0's in R dataframe

Plot data in descending order as appears in data frame

Multivariate time series modelling in R

R dplyr: rename variables using string functions

Change background color of R plot

Export data from R to Excel

Finding percentage in a sub-group using group_by and summarise

R: Print list to a text file

Remove rows in R matrix where all data is NA

How to make a sunburst plot in R or Python?

inst and extdata folders in R Packaging

Invalid multibyte string in read.csv

Extract R-square value with R in linear models

Stacked bar chart

Can't change fonts in ggplot/geom_text

How to remove repeated elements in a vector, similar to 'set' in Python

How to hold figure position with figure caption in pdf output of knitr?

Return row number(s) for a particular value in a column in a dataframe

ggplot2: histogram with normal curve

How to determine if a list is empty in R?

dplyr: How to use group_by inside a function?

Adjust Transparency (alpha) of stat_smooth lines, not just transparency of Confidence Interval

Extract rows for the first occurrence of a variable in a data frame

Specifying row names when reading in a file

Unpacking argument lists for ellipsis in R

R: invalid multibyte string

Growing a data.frame in a memory-efficient manner

How to get the name of the calling function inside the called routine?

How to request an early exit when knitting an Rmd document?

Fully reproducible parallel models using caret

What is the difference between NULL and character(0) in R?

Selecting columns in R data frame based on those *not* in a vector

How to replace all NA in a dataframe using tidyr::replace_na?

Save multiple ggplots using a for loop

how can i tell select() in dplyr that the string it is seeing is a column name in a data frame

Why do I get “warning longer object length is not a multiple of shorter object length”?

Making a string concatenation operator in R

R markdown link is not formatted blue when knitted to pdf

How to plot just the legends in ggplot2?

heatmap with values (ggplot2)

Column alignment in DT datatable

R tick data : merging date and time into a single object

Get the mean across multiple Pandas DataFrames

How to sum a numeric list elements

mean() warning: argument is not numeric or logical: returning NA

Letter “y” comes after “i” when sorting alphabetically

catching an error and then branching logic

How to concatenate factors, without them being converted to integer level?

Include levels of zero count in result of table()

How to use reference variables by character string in a formula?

Creating vector of results of repeated function calls in R

Loop in R markdown

Automatically update packages installed from R-forge

knitr: How to prevent text wrapping in output?

How to optimize Read and Write to subsections of a matrix in R (possibly using data.table)

How to specify columns in facet_grid OR how to change labels in facet_wrap

Plotting multiple time series on the same plot using ggplot()

Put stars on ggplot barplots and boxplots - to indicate the level of significance (p-value)

error: --with-readline=yes (default) and headers/libs are not available

Calculating percentile of dataset column

Format number in R with both comma thousands separator and specified decimals

How to Convert data frame to spatial coordinates

Random sample of character vector, without elements prefixing one another

How to define fixed aspect-ratio for scatter-plot

Moving files between folders

How can I force a line break in rmarkdown's title?

Put whisker ends on boxplot

Unimplemented type list when trying to write.table

Multirow axis labels with nested grouping variables

How to check the OS within R

Examples of the perils of globals in R and Stata

Display a time clock in the R command line

Subset with unique cases, based on multiple columns

How to check if entire vector has no values other than NA (or NAN) in R?

Fastest way to multiply matrix columns with vector elements in R

Export a list into a CSV or TXT file in R

Save ggplot with a function

dply: order columns alphabetically in R

What can R do about a messy data format?

Looping over variables in ggplot

Conditionally Count in dplyr

How to select columns in data.table using a character vector of certain column names?

How to create example data set from private data (replacing variable names and levels with uninformative place holders)?

Controlling the 'alpha' level in a ggplot2 legend

Stop lapply from printing to console

How do I change a single value in a data.frame?

Creating a local R package repository

What does the error “arguments imply differing number of rows: x, y” mean?

How to do printf in r?

How to install dependencies when using “R CMD INSTALL” to install R packages?

Rename multiple dataframe columns, referenced by current names

Figure position in markdown when converting to PDF with knitr and pandoc

Rounding selected columns of data.table in R

How to choose variable to display in tooltip when using ggplotly?

Create a sequence between two letters

Change the color of action button in shiny

How to drop columns by name pattern in R?

Sending email in R via outlook

Reshaping multiple sets of measurement columns (wide format) into single columns (long format)

How to implement coalesce efficiently in R

Generate a sequence of the last day of the month over two years

Extract names of objects from list

How to add whitespace to an RMarkdown document?

How do you order the fill-colours within ggplot2 geom_bar

What's the use of which?

How to create a list with names but no entries in R/Splus?

Delete rows that exist in another data frame?

Aggregate multiple columns at once

Use variable names in functions of dplyr

How to adjust the size of y axis labels only in R?

In ggplot2, what do the end of the boxplot lines represent?

Pretty ticks for log normal scale using ggplot2 (dynamic not manual)

How to call a function using the character string of the function name in R?

Count number of rows matching a criteria

customize ggplot2 axis labels with different colors

R color scatter plot points based on values

data.table “key indices” or “group counter”

Date conversion from POSIXct to Date in R

cbind a dataframe with an empty dataframe - cbind.fill?

Saving a JSON object to file.JSON

Change facet label text and background colour

How to generate distributions given, mean, SD, skew and kurtosis in R?

Is there way to track progress on a mclapply?

How to use an image as a point in ggplot?

When should I use setDT() instead of data.table() to create a data.table?

Get the row and column name of the minimum element of a matrix

Why is the diag function so slow? [in R 3.2.0 or earlier]

Confused by …()?

how to calculate the Euclidean norm of a vector in R?

suppress NAs in paste()

How to count how many values per level in a given factor?

How to nicely annotate a ggplot2 (manual)

Building R package and error “ld: cannot find -lgfortran”

Superscript and subscript axis labels in ggplot2

Consolidate duplicate rows

Replace characters from a column of a data frame R

Difference between subset and filter from dplyr

as.numeric with comma decimal separators?

Calling R Function from C++

Confusing error in R: Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 42 elements)

Extract random effect variances from lme4 mer model object

In R base plot, move axis label closer to axis

No visible binding for global variable Note in R CMD check

change both legend titles in a ggplot with two legends

Getting frequency values from histogram in R

Forcing R output to be scientific notation with at most two decimals

Displaying a greater than or equal sign

How do you determine the namespace of a function?

How to melt and cast dataframes using dplyr?

Difference between paste() and paste0()

R: gsub, pattern = vector and replacement = vector

What is a good way to read line-by-line in R?

How to add a title to a ggplot when the title is a variable name?

R suppress startupMessages from dependency

How to add rows to empty data frames with header in R?

How do I obtain the machine epsilon in R?

Time out an R command via something like try()

R - Error : .onLoad failed in loadNamespace() for 'rJava'

What is the most efficient way to select a set of variable names from an R data.frame?

Convert radians to degree / degree to radians

error: unable to load installed packages just now

R: Why is the [[ ]] approach for subsetting a list faster than using $?

Dictionary style replace multiple items

R create reference manual with R CMD check

R “stats” citation for a scientific paper

How to fix 'tar: Failed to set default locale' error?

How to remove the % lines in xtable table output by Knitr

Get date difference in years (floating point)

Get “embedded nul(s) found in input” when reading a csv using read.csv()

ggplot2 - shade area between two vertical lines

Merging multiple data.tables

Calculate cumulative sum (cumsum) by group

Overlap join with start and end positions

Saving leaflet output as html

convert date to unix time in R

How do I convert certain columns of a data frame to become factors?

R force local scope

Extracting text data from PDF files

Error: stat_count() in ggplot2

How to plot one variable in ggplot?

How to get a regression summary in Python scikit like R does?

Special characters and superscripts on plot axis titles

Plot multiple columns on the same graph in R

Escaped Periods In R Regular Expressions

Loading many files at once?

Combine Points with lines with ggplot2

Controlling both the major and minor grid lines on the y axis

How to test that an error does not occur?

Ways to read only select columns from a file into R? (A happy medium between `read.table` and `scan`?)

including a interactive 3D figure with knitr

Importing Functions into Current Namespace

Special variables in ggplot (..count.., ..density.., etc.)

Changing font in PDF produced by rmarkdown

R 3.4.1 “Single Candle” Personal Library Path Error: unable to create ‘NA’

Add a row by reference at the end of a data.table object

Change the color and font of text in Shiny App

How to convert character of percentage into numeric in R

filtering data.frame based on row_number()

Create a data.frame with m columns and 2 rows

model.matrix() with na.action=NULL?

Sum all values in every column of a data.frame in R

Convert NA into a factor level

How to determine if you have an internet connection in R

R Markdown - variable output name

Wind rose with ggplot (R)?

Avoid rbind()/cbind() conversion from numeric to factor

Vectorized IF statement in R?

Split a string vector at whitespace

Hiding NA's when printing a dataframe in knitr

Creating a sequential list of letters with R

Are there best/recommended practices to follow when renaming functions in a new version of a package?

Read all files in directory and apply multiple functions to each data frame

ggplot2 and geom_density: How to remove baseline?

Add a horizontal line to plot and legend in ggplot2

How to annotate() ggplot with latex

Convert type of multiple columns of a dataframe at once

How to tell lapply to ignore an error and process the next thing in the list?

Passing string variable facet_wrap() in ggplot using R

Print number as reduced fraction in R

Extract pvalue from glm

Force no default selection in selectInput()

How do I run a high pass or low pass filter on data points in R?

rJava install error “JAVA_HOME cannot be determined from the Registry”

Convert data from long format to wide format with multiple measure columns

Declaring a Const Variable in R

Adding simple legend to plot in R

Why is the parallel package slower than just using apply?

How to create an R function programmatically?

Converting units in R

How to generate a vector containing a numeric sequence with a given step?

List comprehension in R

Object not found error with ddply inside a function

How to update values with dplyr

Outlined text with ggplot2

data.table objects assigned with := from within function not printed

How to pass extra argument to the function argument of do.call in R

Difference between as.data.frame(x) and data.frame(x)

R: is there something like iPython notebook (jupyter) for R?

Plot a heart in R

How to control ordering of stacked bar chart using identity on ggplot2

Selecting multiple odd or even columns/rows for dataframe

R - Filter a vector using a function

cor shows only NA or 1 for correlations - Why?

How to assign a unique ID number to each group of identical values in a column

How to check existence of an input argument for R functions

Loop in R to read many files

How to plot with a png as background?

subtract value from previous row by group

How I can select rows from a dataframe that do not match?

Remove numbers from alphanumeric characters

Create new dummy variable columns from categorical variable

Removing NA observations with dplyr::filter()

What is the meaning of the dollar sign “$” in R function()?

Remove parenthesis from a character string

Obtaining threshold values from a ROC curve

Adding a company Logo to ShinyDashboard header

How to rotate only text in annotation in ggplot?

Computing cross-correlation function?

Splitting a file name into name,extension

dplyr mutate rowwise max of range of columns

How do I change the NA color from gray to white in a ggplot choropleth map?

How to create a Marimekko/Mosaic plot in ggplot2

R shiny: How to get an reactive data frame updated each time pressing an actionButton without creating a new reactive data frame?

“replace” function examples

Getting OVER QUERY LIMIT after one request with geocode

What does the error “object not interpretable as a factor” mean?

Don't drop zero count: dodged barplot

ggplot2 - bar plot with both stack and dodge

Is it possible to store str output in a R object?

Is cut() style binning available in dplyr?

Set the size of ggsave exactly

R Error: java.lang.OutOfMemoryError: Java heap space

Monitor memory usage in R

knitr gets tricked by data.table `:=` assignment

RcppArmadillo pass user-defined function

creating “radar chart” (a.k.a. star plot; spider plot) using ggplot2 in R

How to Change .libPaths() permanently in R?

How to round a data.frame in R that contains some character variables?

Interpreting “condition has length > 1” warning from `if` function

Convert character to Date in R

Grid in an R plot

How do you remove columns from a data.frame?

Remove 'search' option but leave 'search columns' option

Error message when running simple 'rename' function in R

Case-insensitive search of a list in R

Basic lag in R vector/dataframe

Replace given value in vector

How to return 5 topmost values from vector in R?

Change the index number of a dataframe

Converting decimal to binary in R?

Create a sequential number (counter) for rows within each group of a dataframe

suppress console output in r markdown, but keep plot

Adding space between bars in ggplot2

How do I read a Parquet in R and convert it to an R DataFrame?

wrap long text in kable table column

Pass a vector of variable names to arrange() in dplyr

Can I create an empty ggplot2 plot in R?

How to reliably get dependent variable name from formula object?

How to split the Main title of a plot in 2 or more lines?

How to delete specific rows and columns from a matrix in a smarter way?

How to change order of array dimensions

How do I manually change the key labels in a legend in ggplot2

R Shiny - disable / able shinyUI elements

meaning of ddply error: 'names' attribute [9] must be the same length as the vector [1]

Linear Regression with a known fixed intercept in R

plotting pie graphs on map in ggplot

Dynamic column names in data.table

Rbuildignore and Excluding Directories

Using apply on a multidimensional array in R

Replace single backslash in R

Security in an R Shiny Application

Plotting a “sequence logo” using ggplot2?

higher level functions in R - is there an official compose operator or curry function?

Is there something like requirements.txt for R?

Find complement of a data frame (anti - join)

Get the path of current script

Create an ID (row number) column

Subset dataframe by multiple logical conditions of rows to remove

dplyr: put count occurrences into new variable

R: “Unary operator error” from multiline ggplot2 command

Create end of the month date from a date variable

R convert dataframe to JSON

Efficient row-wise operations on a data.table

Calculate cumsum() while ignoring NA values

Extend contigency table with proportions (percentages)

How to add a page break in word document generated by RStudio & markdown

Merging two columns into one in R

Converting excel DateTime serial number to R DateTime

R, dplyr - combination of group_by() and arrange() does not produce expected result?

Column standard deviation R

'Reset inputs' button in shiny app

Removing multiple columns from R data.table with parameter for columns to remove

Convert list of vectors to data frame

Negation of %in% in R

Remove NULL elements from list of lists

Streamgraphs in R?

preventing a chunk run in rmarkdown

Sort a factor based on value in one or more other columns

How do you change the default directory in RStudio (or R)?

Making a circular barplot with a hollow center (aka race track plot)

What is a “good” palette for divergent colors in R? (or: can viridis and magma be combined together?)

Using parLapply and clusterExport inside a function

Code to import data from a Stack overflow query into R

Increasing area around plot area in ggplot2

`which()` function for matrix indices

R ggplot2 legend inside the figure

Importing csv file into R - numeric values read as characters

R self reference

Add objects to package namespace

How can I stop a running R command in linux other than with Ctrl + C?

figure captions, references using knitr and markdown to html

How to highlight time ranges on a plot?

ggplot2 0.9.0 automatically dropping unused factor levels from plot legend?

matplotlib analog of R's `pairs`

Why is using assign bad?

using parallel's parLapply: unable to access variables within parallel code

How to display all x labels in R barplot?

How to remove a level of lists from a list of lists

How to write to clipboard on Ubuntu/Linux in R?

When trying to replace values, “missing values are not allowed in subscripted assignments of data frames”

Aesthetics must either be length one, or the same length as the dataProblems

How to define a vectorized function in R

Is there a way to use two '…' statements in a function in R?

caught segfault error in R

R: How to run some code on load of package?

Is there a vectorized parallel max() and min()?

How (and why) do you use contrasts?

R: In RStudio how do I make knitr output to a different folder to avoid cluttering up my drive?

Reading data from Microsoft SQL Server into R

Specifying multiple simultaneous output formats in knitr

How to write a test for a ggplot plot

Why does the number 1e9999… (31 9s) cause problems in R?

R: How to make second level indented bullet points using RMarkdown ioslides?

Is there a more efficient way to replace NULL with NA in a list?

Implementation of standard recycling rules

There is pmin and pmax each taking na.rm, why no psum?

Check if character string is a valid color representation

converting multiple columns from character to numeric format in r

Colouring plot by factor in R

Is there a weighted.median() function?

Filter a vector of strings based on string matching

Alternative to expand.grid for data.frames

ggplot2 - jitter and position dodge together

Overriding “Variables not shown” in dplyr, to display all columns from df

Using a pre-defined color palette in ggplot

Vectorizing a matrix

How to hide code in RMarkdown, with option to see it

How to attach a simple data.frame to a SpatialPolygonDataFrame in R?

ggplot2: Overlay density plots R

Read SAS sas7bdat data into R

ggplot2 theme with no axes or grid

What's the difference between identical(x, y) and isTRUE(all.equal(x, y))?

Displaying text below the plot generated by ggplot2

Proper idiom for adding zero count rows in tidyr/dplyr

list.files() all files in directory and subdirectories

R find time when a file was created

Cut by Defined Interval

Return elements of list as independent objects in global environment

Chord diagram in R

R Script - How to Continue Code Execution on Error

Output in R, Avoid Writing “[1]”

How to round up to whole number in R?

Count number of columns by a condition (>) for each row

Dealing with Messy Dates

How do I show the source code of an S4 function in a package?

Dynamic height and width for knitr plots

In R, what does “loaded via a namespace (and not attached)” mean?

Change temporary directory

Dealing with missing values for correlations calculation

How to jitter text to avoid overlap in a ggplot2 scatterplot?

Producing PDF report using knitr (LaTeX) from Shiny application

Generate a sequence of characters from 'A'-'Z'

Detect text language in R

Remove highly correlated variables

Error when running library(ggplot2)

Define and apply custom bins on a dataframe

Add a footnote citation outside of plot area in R?

Parent directory in R

Plotting pca biplot with ggplot2

Add x and y axis to all facet_wrap

Left-adjust title in ggplot2, or absolute position for ggtitle

Read multiple CSV files into separate data frames

Find duplicated rows (based on 2 columns) in Data Frame in R

Specifying column names in a data.frame changes spaces to “.”

rbind multiple data sets

How to change the font size and color of x-axis and y-axis label in a scatterplot with plot function in R?

Remove parentheses and text within from strings in R

dplyr - using mutate() like rowmeans()

Download a file from HTTPS using download.file()

How to end a 'debug' mode?

Extract bz2 file in R

R list of lists to data.frame

Generating Random Dates

Changing chunk background color in RMarkdown

R: determine if a script is running in Windows or Linux

geom_bar bars not displaying when specifying ylim

How expensive is it to compute the eigenvalues of a matrix?

How to fill matrix with random numbers in R?

how to insert new line in R shiny string

Merging more than 2 dataframes in R by rownames

multiplying all elements of a vector in R

How to make the horizontal scrollbar visible in DT::datatable

How to preserve base data frame rownames upon filtering in dplyr chain

R Function for returning ALL factors

geom_text how to position the text on bar as I want?

“import as” in R

Figures captions and labels in knitr

R legend placement in a plot

Debugging lapply/sapply calls

can the value.var in dcast be a list or have multiple value variables?

Using identical() in R with multiple vectors

use first row data as column names in r

Save ggplot within a function

Using grep in R to find strings as whole words (but not strings as part of words)

Why can't I get a p-value smaller than 2.2e-16?

Passing a variable name to a function in R

dplyr::mutate to add multiple values

Package error when running r code on command line

changing ggplot factor colors?

Print list without line numbers in R

multinomial logistic multilevel models in R

geom_point() and geom_line() for multiple datasets on same graph in ggplot2

Annotate ggplot2 facets with number of observations per facet

Text clustering with Levenshtein distances

How can I sort a data.frame with only one column, without losing rownames?

Solving simultaneous equations with R

Way to securely give a password to R application from the terminal?

What is the practical use of the identity function in R?

Uninstall (remove) R package with dependencies

How to draw a nice arrow in ggplot2

Align geom_text to a geom_vline in ggplot2

Possible shortcomings for using JIT with R?

LaTeX figure label from R plot using KnitR?

How to find Waldo with R?

Simplest way to do grouped barplot

What does the diff() function in R do?

Update data frame via function doesn't work

Check if R is running in RStudio

Chain arithmetic operators in dplyr with %>% pipe

R - image of a pixel matrix?

Subset elements in a list based on a logical condition

RMarkdown: How to end tabbed content

Creating co-occurrence matrix

Setting work directory in knitr using opts_chunk$set(root.dir = …) doesn't work

Add a “rank” column to a data frame

Convert hour:minute:second (HH:MM:SS) string to proper time class

R ggplot2: Labelling a horizontal line on the y axis with a numeric value

Deleting rows that are duplicated in one column based on the conditions of another column

How to remove rows of a matrix by row name, rather than numerical index?

Include a javascript file in Shiny app

How can I concatenate a vector?

Combine (rbind) data frames and create column with name of original data frames

Combining matrices into an array in R

How to optimize for integer parameters (and other discontinuous parameter space) in R?

How do I put more space between the axis labels and axis title in an R boxplot

ggplot2 pie and donut chart on same plot

Repeat list object n times

Saving and loading a model in R

Axis labels on two lines with nested x variables (year below months)

R list files with multiple conditions

Concatenate numerical values in a string

How do I draw gridlines using abline() that are behind the data?

How to access single elements in a table in R

Useful little functions in R?

R Shiny: Download existing file

Better error message for stopifnot?

Can lists be created that name themselves based on input object names?

How to test when condition returns numeric(0) in R

How do you pass parameters to a shiny app via URL

short formula call for many variables when building a model

Recombining a list of Data.frames into a single data frame

Convert dataframe column to 1 or 0 for “true”/“false” values and assign to dataframe

Plot coordinates on map

possible to create latex multicolumns in xtable?

How to skip error checking at Rmarkdown compiling?

grepl: Search within a string that does not contain a pattern

ggplot scale color gradient to range outside of data range

R convert matrix or data frame to sparseMatrix

find all functions (including private) in a package

Producing a vector graphics image (i.e. metafile) in R suitable for printing in Word 2007

Wrap legend text in ggplot2

defining minimum point size in ggplot2 - geom_point

Multiply many columns by a specific other column in R with data.table?

duplicates in multiple columns

Remove a library from .libPaths() permanently without Rprofile.site

Pandas - how to convert r dataframe back to pandas?

Load R package from character string

Count number of distinct values in a vector

Best way to allocate matrix in R, NULL vs NA?

How can I reference the local environment within a function, in R?

predict.lm() with an unknown factor level in test data

How to get mean, median, and other statistics over entire matrix, array or dataframe?

doing a plyr operation on every row of a data frame in R

Anti-aliasing in R graphics under Windows (as per Mac)

Closest equivalent of a factor variable in Python Pandas

Asymmetric expansion of ggplot axis limits

Adding minor tick marks to the x axis in ggplot2 (with no labels)

Error calling serialize R function

R avoiding “restarting interrupted promise evaluation” warning

Conditionally display a block of text in R Markdown

Find out the number of days of a month in R

Creating a symmetric matrix in R

How to get two windows with different plots

Loop through columns and add string lengths as new columns

Filter data frame by character column name (in dplyr)

Can I combine a list of similar dataframes into a single dataframe?

Loop over rows of dataframe applying function with if-statement

Represent numeric value with typical dollar amount format

long/bigint/decimal equivalent datatype in R

In `knitr` how can I test for if the output will be PDF or word?

Eliminating NAs from a ggplot

How to retry a statement on error?

hiding personal functions in R

Calculating weighted mean and standard deviation

How to add percentage or count labels above percentage bar plot?

Understand the `Reduce` function

Changing Fonts for Graphs in R

insert side by side png images using knitr

Extract non null elements from a list in R

Converting nested list to dataframe

Simplified dput() in R

Create new column based on 4 values in another column

use multiple columns as variables with sapply

Elegantly assigning multiple columns in data.table with lapply()

Remove strip background keep panel border

Round a POSIX date (POSIXct) with base R functionality

Weird characters added to first column name after reading a toad-exported csv file

Display frequency instead of count with geom_bar() in ggplot

Sample random rows within each group in a data.table

Sorting a boxplot based on median value

using R to copy files

Setting up a 3D matrix in R and accessing certain elements

Reverse and change limit of axis

How do I install a package that has been archived from CRAN?

Error in if/while (condition) { : argument is of length zero

Text file to list in R

Hyperlinking text in a ggplot2 visualization

Create a PDF table

unzip a tar.gz file?

Apply multiple functions to multiple columns in data.table

Count number of vector values in range with R

Passing arguments to iterated function through apply

Can I navigate, zoom in and zoom out R plots?

using colClasses in fread

How to step through an R script from the beginning?

lapply() when function returns NULL

Circular Heatmap that looks like a donut

R: Plotting a 3D surface from x, y, z

what is the difference between names and colnames

Poor resolution in knitr using Rmd

How to add documentation to a data.frame in R?

Show correlations as an ordered list, not as a large matrix

How to display verbatim inline r code with backticks using Rmarkdown?

R: lookaround within lookaround

ggplot2: Multiple color scales or shift colors systematically on different layers?

How to align multiple ggplot2 plots and add shadows over all of them

How to reverse the order of a dataframe in R

In what cases should new.env be used to create a new environment?

Why do logicals (booleans) in R require 4 bytes?

find *all* duplicated records in data.table (not all-but-one)

Simple frequency tables using data.table

Variable as a column name in data frame

Generate multiple graphics from within an R function

Preventing performance regressions in R

Plotting cumulative counts in ggplot2

Perform a Shapiro-Wilk Normality Test

R-Project no applicable method for 'meta' applied to an object of class “character”

R tm package invalid input in 'utf8towcs'

Add error bars to show standard deviation on a plot in R

Use hist() function in R to get percentages as opposed to raw frequencies

Reordering columns in a large dataframe

Get indexes of a vector of numbers in another vector

R how can I calculate difference between rows in a data frame

Dealing with TRUE, FALSE, NA and NaN

Subset data frame based on number of rows per group

Stacked Bar Plot in R

Create empty dataframe in R with same columns

using substitute to get argument name with

Sink does not release file

How to extract the row with min or max values?

How to find row number of a value in R code

Imputation of missing values for categories in pandas

Storing ggplot objects in a list from within loop in R

Remove duplicates keeping entry with largest absolute value

Convert seconds to days: hours:minutes:seconds

percentage on y lab in a faceted ggplot barchart?

Only download sources of a package and all dependencies

Add margin row totals in dplyr chain

How to subset from a list in R

Changing shapes used for scale_shape() in ggplot2

Can rbind be parallelized in R?

How to remove rows with inf from a dataframe in R

Formatting mouse over labels in plotly when using ggplotly

How do I parallelize in r on windows - example?

struggling with integers (maximum integer size)

Expand rows by date range using start and end date

Set a Data Frame Column as the Index of R data.frame object

Add author affiliation in R markdown beamer presentation

Adding a 3rd order polynomial and its equation to a ggplot in r

Getting a row from a data frame as a vector in R

Remove pattern from string with gsub

Unnest a list column directly into several columns

Efficient way to rbind data.frames with different columns

How to get parameters from config file in R script

r get value only from quantile() function

How can I add another layer / new series to a ggplot?

how to use the Box-Cox power transformation in R

What are the double colons (::) in R?

combining two data frames of different lengths

Installing non-public packages from Gitlab using devtools::install_git

Remove a layer from a ggplot2 chart

Use different center than the prime meridian in plotting a world map

How to append a plot to an existing pdf file

Meaning of band width in ggplot geom_smooth lm

R equivalent of python “_”?

TODO comments in rStudio

display a matrix, including the values, as a heatmap

How do I run apply on a data.table?

how to pass arguments into function within a function in r

R: apt-get install r-cran-foo vs. install.packages(“foo”)

Non character argument in R string split function (strsplit)

S3 method consistency warning when building R package with Roxygen

R time series modeling on weekly data using ts() object

Using lapply to apply a function over list of data frames and saving output to files with different names

Why do I get “number of items to replace is not a multiple of replacement length”

Easier way to plot the cumulative frequency distribution in ggplot?

Count NAs per row in dataframe

Angle between two vectors in R

How to avoid a loop in R: selecting items from a list

Create categories by comparing a numeric column with a fixed value

Multiple strings with str_detect R

is there a way to extend LETTERS past 26 characters e.g., AA, AB, AC…?

Stratified random sampling from data frame

ggplot2 : Plot mean with geom_bar

How can I change XTS to data.frame and keep Index?

Interleave lists in R

sample rows of subgroups from dataframe with dplyr

How do you read multiple .txt files into R?

Is it possible to get the number of rows in a CSV file without opening it?

ggplot2 legend items in a single horizontal row

Concatenate row-wise across specific columns of dataframe

How to save() with a particular variable name

subtract a constant vector from each row in a matrix in r

Calculate percentage change in an R data frame

Arrange a grouped_df by group variable not working

R: ggplot2, can I set the plot title to wrap around and shrink the text to fit the plot?

Format numbers to significant figures nicely in R

Horizontal/Vertical Line in plotly

cartesian product with dplyr R

multiple graphs in one canvas using ggplot2

which(vector1 < vector2)

How to move backward parent folder

Raw text strings for file paths in R

Pandoc insert appendix after bibliography

In R, using Ubuntu, try to install a lib depending on GMP C lib, it won't find GMP, but I have GMP installed

Find windows user name within R

Exclude columns by names in mutate_at in dplyr

Plot normal, left and right skewed distribution in R

Boxplot in R showing the mean

Changing values when converting column type to numeric

Sum of rows based on column value

How do I quickly convert the size element of file.info() from bytes to KB, MB, GB, etc.?

Split a string by any number of spaces

How to generate permutations or combinations of object in R?

How to write a “reader-friendly” sessionInfo() to text file

dplyr - groupby on multiple columns using variable names

Addressing x and y in aes by variable number

Include code from an external R script, run in, display both code and output

Use expression with a variable r

How to fill a matrix with zero (0)

How to use facets with a dual y-axis ggplot

sp::over() for point in polygon analysis

R: applying function over matrix and keeping matrix dimensions

Plotting color map with zip codes in R or Python

NAMESPACE not generated by roxygen2. Skipped. - Confusion with Hadley book

Non-standard evaluation (NSE) in dplyr's filter_ & pulling data from MySQL

Rolling mean (moving average) by group/id with dplyr

R: `which` statement with multiple conditions

How to filter for unique combination of columns from an R dataframe

Using ggplot function in R error : could not find function ggplot

Using If/Else on a data frame

What's a good strategy to get a decent overview of big correlation matrices or pairs?

How to label a barplot bar with positive and negative bars with ggplot2

Execute two commands sequentially on one line in R?

How can I produce plots like this?

Is there an easier way to access attributes of a class in R, can I use dot notation?

Rpresentation in Rstudio - Make image fill out the whole screen

Clickable links in Shiny Datatable

How to update a package in R?

How to programmatically extract / unzip a .7z (7-zip) file with R

Position legend in first plot of facet

Line break when no data in ggplot2

How to get coefficients and their confidence intervals in mixed effects models?

How can I generate ascii “graphical output” from R?

Write list of data.frames to separate CSV files with lapply

How to create plots in multiple windows and keep them separate in R

How is the feature score(/importance) in the XGBoost package calculated?

RMarkdown in Shiny Application

How should I handle 'helper' functions in an R package?

Is there a way of manipulating ggplot scale breaks and labels?

ggplot2 warning: Stacking not well defined when ymin != 0

Rscript: There is no package called …?

Remove columns from dataframe where some of values are NA

Removing html tags from a string in R

How to calculate combination and permutation in R?

Extracting unique numbers from string in R

How can I plot a tree (and squirrels) in R?

Grep in R using OR and NOT

Convert months mmm to numeric

Remove square brackets from a string vector

Efficient way to find repeated runs of rows, remove, & count

Splitting a dataframe string column into multiple different columns

Convert all columns to characters in a data.frame

Reshaping wide to long with multiple values columns

Deselecting a column by name

How do I install an R package from the source tarball on windows?

How do you change library location in R?

Using different font styles in annotate (ggplot2)

Selecting a subset of columns in a data.table

Replace logical values (TRUE / FALSE) with numeric (1 / 0)

How to find all functions in an R package?

Frequency count of two column in R

Calculate correlation for more than two variables?

How to delete rows from a data.frame, based on an external list, using R?

Emulate split() with dplyr group_by: return a list of data frames

Replace <NA> in a factor column

Internal links in rmarkdown don't work

How to not show all labels on ggplot axis?

How to remove rows with any zero value

Copy an R data.frame to an Excel spreadsheet

Converting ts object to data.frame

Count the number of non-zero elements of each column

showing a status message in R

Find columns with all missing values

How to generate a frequency table in R with with cumulative frequency and relative frequency

Showing different axis labels using ggplot2 with facet_wrap

How to avoid using round() in every \Sexpr{}?

read.csv, header on first line, skip second line

Difference between two vectors in R

Remove all punctuation except apostrophes in R

Calculate group mean (or other summary stats) and assign to original data

Tidyverse approach to binding unnamed list of unnamed vectors by row - do.call(rbind,x) equivalent

Changing whisker definition in geom_boxplot

Printing multiple ggplots into a single pdf, multiple plots per page

Disable assignment via = in R

lapply vs for loop - Performance R

Adding column if it does not exist

Using spread with duplicate identifiers for rows

Adding labels to ggplot bar chart

cut function in R- labeling without scientific notations for use in ggplot2

How to plot the survival curve generated by survreg (package survival of R)?

How can I change the title of a ggplot2 legend?

Cumulative count of each value

How to find the highest (latest) and lowest (earliest) date [R]

Adding text to a grid.table plot

Regression with Heteroskedasticity Corrected Standard Errors

How to print the structure of an R object to the console

access data frame column using variable

Efficient alternatives to merge for larger data.frames R

R: Assign variable labels of data frame columns

Copying and modifying a default theme

Writing functions in R, keeping scoping in mind

how to create a loop that includes both a code chunk and text with knitr in R

How to use the strsplit function with a period

Is there a way to `source()` and continue after an error?

Remove spacing around plotting area in r

Control the height in fluidRow in R shiny

Combining (cbind) vectors of different length

Replacing NAs in R with nearest value

Element-wise mean in R

Interactively change the selectInput choices

R Shiny selectInput that is dependent on another selectInput

Row/column counter in 'apply' functions

dynamically add plots to web page using shiny

double dots in a ggplot

How do I stop/end/halt a script in R?

Convert HTML-table to Excel using VBA

Automating version increase of R packages

Converting a factor to numeric without losing information R (as.numeric() doesn't seem to work)

R: Insert a vector as a row in data.frame

Override a function that is imported in a namespace

Memory profiling in R - tools for summarizing

Extract last word in string in R

How to do cross join in R?

Refer to the last column in R

How to remove all the NA from a Vector?

Split a string every 5 characters

How to open CSV file in R when R says “no such file or directory”?

Write a dataframe to csv file with value of NA as blank

ignore NA in dplyr row sum

First entry from string split

How to square all the values in a vector in R?

Remove rows where all variables are NA using dplyr

Calling a function from a namespace

How can I rbind vectors matching their column names?

R data.table apply function to rows using columns as arguments

Draw more than one function curves in the same plot

Extract Links from Webpage using R

How to create a consecutive group number

Cumulative sum for positive numbers only

Error when I try to predict class probabilities in R - caret

How can I get the average (mean) of selected columns

Loading an R Package from a Custom directory

Regular expressions (RegEx) and dplyr::filter()

Installing nloptr on Linux

R: How to ignore case when using str_detect?

ggplot2, axis not showing after using theme(axis.line=element_line())

Subsetting data.table set by date range in R

R: How to extract dates from a time series

Apply function to every value in an R dataframe

Changing date format to “%d/%m/%Y”

Creating a data frame from two vectors using cbind

Making square axes in R

Converting python objects for rpy2

R regular expressions: unexpected behavior of “[:digit:]”

How can I make R read my environmental variables?

Creating a new column to a data frame using a formula from another variable

any R style guide / checker?

How to run R on a server without X11, and avoid broken dependencies

Which layout should I use to get non-overlapping edges in igraph?

Using cbind on an arbitrarily long list of objects

R Markdown Bullet List with Multiple Levels

rowwise maximum for R

Find elements in a character array that contains a string

Successor to ggplot2::fortify

R - save multiplot to file

Alter just horizontal spacing between facets (ggplot2)

R package development - function aliases

Good Ways to Visualize Longitudinal Categorical Data in R

Finding rows containing a value (or values) in any column

How do I use `[` correctly with (l|s)apply to select a specific column from a list of matrices?

removing all the space between two ggplots combined with grid.arrange

R says “Cannot take a sample larger than the population” — but I am not taking a sample larger than the population

How does one do a full join using data.table?

R convert zipcode or lat/long to county

How to deal with spaces in column names?

Convert yyyymmdd string to Date class in R

ggplot2 : Adding two errorbars to each point in scatterplot

How to print R variables in middle of String

ggplot geom_point() with colors based on specific, discrete values

Subset data.table by logical column

How to tell what packages you have used in R

Building an R package on Travis, how not to treat warnings as errors?

When to use R, when to use SQL?

R on Windows: character encoding hell

How do I call the `function` function?

Enter new column names as string in dplyr's rename function

Loop through columns in a data.table and transform those columns

How to get RStudio to automatically compile R Markdown Vignettes?

R interpolated polar contour plot

Weird ggplot2 error: Empty raster

Counting non NAs in a data frame; getting answer as a vector

How to combine two vectors into a data frame

Suppressing messages in Knitr / Rmarkdown

Count and summation of positive and negative number sequences

Rounding time to nearest quarter hour

Changing date format in R

count of entries in data frame in R

round but .5 should be floored

Remove fill around legend key in ggplot

Spearman correlation and ties

How to increase the font size of ggtitle in ggplot2

Generating Random Strings

How to do selective labeling with GGPLOT geom_point()

Place y-axis on the right

How to label points on a scatterplot with R?

Place a legend for each facet_wrap grid in ggplot2

How to create a column with a quartile rank?

How to scrape the web for the list of R release dates?

Reshape multiple value columns to wide format

Is it possible to swap columns around in a data frame using R?

Rmarkdown font size and header

How do I group my date variable into month/year in R?

The simplest algorithm for poker hand evaluation

Grid line consistent with ticks on axis

Plot polynomial regression curve in R

Going to Python from R, what's the python equivalent of a data frame?

Quickly remove zero variance variables from a data.frame

unknown timezone name in R strptime/as.POSIXct

Sum of two Columns of Data Frame with NA Values

Splitting a string on the first space

How do I add a URL to R markdown?

Does R have something equivalent to reduce() in Python?

libjvm.so: cannot open shared object file: No such file or directory

Reliable way to detect if a column in a data.frame is.POSIXct

How do you extract a few random rows from a data.table on the fly

Why is mean() so slow?

Custom sorting (non-alphabetical)

Split date-time column into Date and time variables

How to check if a vector contains n consecutive numbers

Control number of decimal places on xtable output in R

parallel execution of random forest in R

Saving plot to tiff, with high resolution for publication (in R)

Gradient legend in base

Venn Diagrams with R?

Placing Custom Images in a Plot Window--as custom data markers or to annotate those markers

R reading a huge csv

dplyr join warning: joining factors with different levels

remove row with nan value

R: get list of files but not of directories

How can I read the header but also skip lines - read.table()?

Insert a logo in upper right corner of R markdown html document

Filtering dates in dplyr

Place title of multiplot panel with ggplot2

How to check file size before opening?

Splitting a large data frame into smaller segments

The condition has length > 1 and only the first element will be used

How to measure similarity between strings?

r legend trouble , how to change the text size in legend

Cannot create an empty vector and append new elements in R

How do I select columns that may or may not exist?

Naming list elements in R

Listing all files matching a full-path pattern in R

How to combine row and column layout in flexdashboard?

Knitr wont compile PDF: “Error in tools::file_path_as_absolute(output_file)”

Adjusting width of tables made with kable() in RMarkdown documents

R data.table change R names

Inserting a table under the legend in a ggplot2 histogram

How do I find the edges of a vertex using igraph and R?

Why is expand.grid faster than data.table 's CJ?

ggplot: text printed by geom_text is not clear

change the default colour palette in ggplot

Extracting unique rows from a data table in R

suppress messages displayed by “print” instead of “message” or “warning” in R

How can I pass multiple arguments to a function as a single vector?

R barplot Y-axis scale too short

Set number of columns (or rows) in a facetted plot

Finding the index inside a vector satisfying a condition

Understanding the differences between mclapply and parLapply in R

Creating a density histogram in ggplot2?

Preferred method of checking object's class in R

plotting a curve around a set of points

Handling Latex backslashes in xtable

How to initialize empty data frame (lot of columns at the same time) in R

Check if variable has the value ''

How do I select rows by two criteria in data.table in R

Can't draw Histogram, 'x' must be numeric

Why is allow.cartesian required at times when when joining data.tables with duplicate keys?

how to convert data.frame to transactions for arules

Collate field in package Description

How to draw a “zoom in” effect in R

How to change positions of x and y axis in ggplot2

plot functions with filled point symbols and legend

Python equivalent of which() in R

Find cosine similarity between two arrays

Take randomly sample based on groups

Sweave for python

split character data into numbers and letters

Moving variance in R

Transposing a dataframe maintaining the first column as heading

R - how to replace parts of variable strings within data frame

It is possible to create inset graphs?

Sourcing R script over HTTPS

Specify height and width of ggplot graph in Rmarkdown knitr output

Add extra level to factors in dataframe

How to add code folding to output chunks in rmarkdown html documents

How to write from R to the clipboard on a mac

Are there any good R object browsers?

Count leading zeros between the decimal point and first nonzero digit

Crop for SpatialPolygonsDataFrame

How to extract sheet names from Excel file in R

Shaded area under two curves using R

Alternatives to nested ifelse statements in R

Concatenate strings and expressions in a plot's title

How to extract elements from a list with mixed elements

how to drop columns by passing variable name with dplyr?

Convert hex to decimal in R

find indices of non zero elements in matrix

ggplot2: Divide Legend into Two Columns, Each with Its Own Title

how to create md5 hash of a column in R?

How to display widgets inline in shiny

How to remove extra white space between words inside a character vector using?

turning off case sensitivity in r

Linear model function lm() error: NA/NaN/Inf in foreign function call (arg 1)

Downloading Yahoo stock prices in R

Error in terms.formula(formula) : '.' in formula and no 'data' argument

Subset based on variable column name

non-numeric argument to binary operator

Saving multiple outputs of foreach dopar loop

rpy2 install on windows 7

How to efficiently partially apply a function in R?

Error in R: (Package which is only available in source form, and may need compilation of C/C++/Fortran)

How to add a factor column to dataframe based on a conditional statement from another column?

Can't install rJava on ubuntu system

How do I select variables in an R dataframe whose names contain a particular string?

Equivalent of matlab 'ans' in R

How to control the igraph plot layout with Fixed Positions?

Sample n random rows per group in a dataframe

How can I remove empty factors from ggplot2 facets?

How can I add a subtitle and change the font size of ggplot plots in R?

Why does strsplit use positive lookahead and lookbehind assertion matches differently?

How to convert entire dataframe to numeric while preserving decimals?

Python equivalent of the R operator “%in%”

Diagonal labels orientation on x-axis in heatmap(s)

ggplot2 and a Stacked Bar Chart with Negative Values

Get the index of the values of one vector in another?

Print pretty data.frames/tables to console

r cumsum per group in dplyr

Get columns by string from data.table

Disable/suppress tcltk popup for CRAN mirror selection in R

detect non ascii characters in a string

appending to a list with dynamic names

What are the disadvantages of using .Rdata files compared to HDF5 or netCDF?

inconsolata missing to build R vignette

Setting the default value in a function?

R - ordering in boxplot

Change arrowhead of arrows()

Unique values in each of the columns of a data frame

Can I remove an element in … (dot-dot-dot) and pass it on?

How to use subscripts in ggplot2 legends [R]

Apply a function to each row in a data frame in R

How to set the tolerance of expect_equal in testthat framework

How to test if object is a vector

Reading in chunks at a time using fread in package data.table

R syntax highlighting in Terminal

Convert MATLAB code to R

How to make an empty vector of POSIXct

How to draw lines outside of plot area in ggplot2?

Plotting of very large data sets in R

Example Needed: Change the default print method of an object

Using enter key with action button in R Shiny

Generate Dynamic R Markdown Blocks

Significance level added to matrix correlation heatmap using ggplot2

Generally disable dimension dropping for matrices?

locator equivalent in ggplot2 (for maps)

How to make join operations in dplyr silent?

R shiny different output between renderTable and renderDataTable

simple examples of filter function, recursive option specifically

equivalent of R's View for Python's pandas

Drawing an excellent cow

How can I background the R process in ESS / Emacs?

how to use classwt in randomForest of R?

Profiling Rcpp code on OS X

Function to calculate R2 (R-squared) in R

Getting previous month start date and end date from current date in R

Replace negative values by zero

Compute mean and standard deviation by group for multiple variables in a data.frame

How can I format axis labels with exponents with ggplot2 and scales?

r random forest error - type of predictors in new data do not match

Is it possible to insert (add) a row to a SQLite db table using dplyr package?

How can put multiple plots side-by-side in shiny r?

Reproduce table and plot from journal

How to get unsaved script tabs

How to read .arff file with R?

Replace multiple strings in one gsub() or chartr() statement in R?

Pad with leading zeros to common width

Count word occurrences in R

Use of switch() in R to replace vector values

Select rows with min value by group

dplyr - how to select columns of certain type

Add row to data frame with dplyr

Error: '\R' is an unrecognized escape in character string starting “C:\R”

Warning in install.packages: unable to move temporary installation

How to add boxplots to scatterplot with jitter

Clean variables and close connections

How to find the minimum value of a column in R?

Is there a way to check if a column is a Date in R?

What is the difference between NaN and Inf, and NULL and NA in R?

NA values not being excluded in `cor`

R dplyr rolling sum

Forecasting time series data

What is a neat command line equivalent to RStudio's Knit HTML?

Piping stdin to R

How do I create a copy of a data frame in R

Convert character matrix into numeric matrix

completely uninstall r linux

possible to run RShiny app without opening an R environment?

How do I print a hexadecimal number with leading 0 to have width 2 using sprintf?

Selecting non-consecutive columns in R tables

Remove accents from a dataframe column in R

Floor a year to the decade in R

Making an R package PDF manual using devtools

Centering a plot within a fluidRow in Shiny

purrr map equivalent of nested for loop

How to skip an error in a loop

R function prcomp fails with NA's values even though NA's are allowed

Is it possible to have sortable (Interactive) table in rMarkdown?

Align text inside a plot

How to perform natural (lexicographic) sorting in R?

risks of using setwd() in a script?

Mean of elements in a list of data.frames

updating column in one dataframe with value from another dataframe based on matching values

How can I paste 100000 without it being shortened to 1e+05?

Delete “” from csv values and change column names when writing to a CSV

Standard Deviation in R Seems to be Returning the Wrong Answer - Am I Doing Something Wrong?

How can I insert an image into the navbar on a shiny navbarPage()

Replace NA in column with value in adjacent column

R: standard error output from lm object

How to get geom_vline to honor facet_wrap?

Recoding variables with R

How to jitter/remove overlap for geom_text labels

Return row of Data Frame based on value in a column - R

Use character string as function argument

How to solve “clipboard buffer is full and output lost” error in R running in Windows?

writing a matrix to a file, without a header and row numbers

How to increase size of the points in ggplot2, similar to cex in base plots?

Why are Xs added to data frame variable names when using read.csv?

After I upgrade my R version, how can I easily reinstall all the packages that were installed in the old version?

Running R Code from Command Line (Windows)

grab n letter words don't count apostrophes regex

R programming - Adding extra column to existing matrix

Conditional assignment of one variable to the value of one of two other variables

rstudio - is it possible to run a code in the background

Applying a function to two lists?

Handling missing/incomplete data in R--is there function to mask but not remove NAs?

How can I expand a vector into the arguments of a function in r?

dplyr join define NA values

Using png function not working when called within a function

Data input via shinyTable in R shiny application

Variable width bars in ggplot2 barplot in R

Colorize parts of the title in a plot

Valid time zones in lubridate

Why is running “unique” faster on a data frame than a matrix in R?

How to refer to a variable name with spaces?

Memory Usage in R

Scaling shiny plots to window height

How do I add a Changelog or NEWS file to my R package?

Is there a good R API for accessing Google Docs?

In read.table(): incomplete final line found by readTableHeader

Why do some Unicode characters display in matrices, but not data frames in R?

How to escape a backslash in R?

World map with ggmap

ggplot2: add line for average per group

Problems with dplyr and POSIXlt data

R- Shiny webserver on a local server

Save the orientation of a RGL plot3d() plot

Remove Plot Margins in ggplot2

Command to see 'R' path that RStudio is using

How to pass environment variables to shinyapps

Thinking in Vectors with R

The correct use of devtools and/or RStudio with respect to .Rbuildignore

gsub speed vs pattern length

What are the default plotting colors in R or ggplot2?

First day of the month from a POSIXct date time using lubridate

R how to visualize confusion matrix using the caret package

Change row order in a matrix/dataframe

dependency ‘slam’ is not available when installing TM package

How do I preserve transparency in ggplot2?

Stopwatch function in R

How to one hot encode several categorical variables in R

How to add frequency count labels to the bars in a bar graph using ggplot2?

Find how many times duplicated rows repeat in R data frame

Creating arbitrary panes in ggplot2

Calculating cumulative sum for each row

How to plot dendrograms with large datasets?

Using geom_line with multiple groupings

How to format number values for ggplot2 legend?

Ordering in r plotly barchart

data.table - select first n rows within group

Add legend to geom_line() graph in r

How can I remove all duplicates so that NONE are left in a data frame?

R - Plot Only Text

How do I get a contingency table?

Replace accented characters in R with non-accented counterpart (UTF-8 encoding)

Number format, writing 1e-5 instead of 0.00001

Align multiple tables side by side

Extract numeric part of strings of mixed numbers and characters in R

Saving and loading data.frames

Print to PDF in a for loop

Plot 4 curves in a single plot with 3 y-axes

Check whether two vectors contain the same (unordered) elements in R

Remove columns with zero values from a dataframe

Count unique values for every column

ggplot2: Curly braces on an axis?

how to get index of sorted array elements

How to sort letters in a string?

Plotting a grid behind data, not in front in R

How to assign output of cat to an object?

How to round a number and make it show zeros?

Using R and plot.ly - how do I script saving my output as a webpage

How to use a variable in dplyr::filter?

Reading all scripts and data files from multiple folders

Align multiple plots in ggplot2 when some have legends and others don't

Label minimum and maximum of scale fill gradient legend with text: ggplot2

How does ggplot scale_continuous expand argument work?

Trouble installing rgdal

Generating interaction variables in R dataframes

Is there a function like switch which works inside of dplyr::mutate?

Combine lists while overriding values with same name in R

How to manage multiple package locations (folders) in R?

Index values from a matrix using row, col indices

Reading .sav file into R

How to draw the boxplot with significant level?

Get Selected Row From DataTable in Shiny App

How to show output in console when writing an RMarkdown notebook?

knitr (R) - how not to embed images in the HTML file?

How to not display number as exponent?

How can I combine multiple ggplot2 elements into the return of a function?

How do I remove empty data frames from a list?

Assign names to vector entries without assigning the vector a variable name?

How to find top n% of records in a column of a dataframe using R

using stat_function and facet_wrap together in ggplot2 in R

Two dots, “..” in R

pass character strings to ggplot2 within a function

Trouble converting long list of data.frames (~1 million) to single data.frame using do.call and ldply

Date time conversion and extract only time

Stop an R program without error

Thousand separator in label of x or y axis

Speed up plot() function for large dataset

Multiple ROC curves in one plot ROCR

Varying axis labels formatter per facet in ggplot/R

For-loop vs while loop in R

R CMD javareconf not finding jni.h

R lubridate converting seconds to date

Why is seq(x) so much slower than 1:length(x)?

Is there a reason to prefer extractor functions to accessing attributes with $?

How to convert integer into categorical data in R?

Add column to empty data.table in R

readRDS(file) in R

How do I prevent exposure of my password when using RGoogleDocs?

“Variable context not set” error with mutate_at, dplyr version >= 0.7

Read lines by number from a large file

Why does an empty dataframe fail an is.null() test?

photo alignment with graph in r

Return most frequent string value for each group

Disable saving history

running R from windows command prompt

Plot margin of pdf plot device: y-axis label falling outside graphics window

Shiny slider on logarithmic scale

Meaning of objects being masked by the global environment

Geocoding in R with Google Maps

Is there anything wrong with using T & F instead of TRUE & FALSE?

how to use black-and-white fill patterns instead of color coding on Calendar Heatmap

How do I draw an arrow on a histogram drawn using ggplot2?

How can I set axis ranges in ggplot2 when using a log scale?

Moving beyond R's optim function

Get the size of the window in Shiny

ggplot() lines transparency

Can dcast be used without an aggregate function?

What does the dplyr period character “.” reference?

Marker mouse click event in R leaflet for shiny

parSapply not finding objects in global environment

Is there a R function that applies a function to each pair of columns?

Overlaying two graphs using ggplot2 in R

Dynamic column name in for loop with cbind

Can't run Rcpp function in foreach - “NULL value passed as symbol address”

How to convert a symmetric matrix into “dist” object?

doParallel error in R: Error in serialize(data, node$con) : error writing to connection

Is there a better reference for r formulas than ?formula?

Finding Overlaps between interval sets / Efficient Overlap Joins

R: what's the proper way to overwrite a function from a package?

How to change the size of R plots in Jupyter?

Warning messages keep appearing in RStudio notebooks in chunks unrelated to the warnings

The use of design patterns in R

Find position of first value greater than X in a vector

How to make a tree plot in caret package?

Row sums over columns with a certain pattern in their name

Add line break to axis labels and ticks in ggplot

Insert a logo in upper right corner of R markdown pdf document

Run multiple R-scripts simultaneously

How to change color in shiny dashboard?

Plotting the average values for each level in ggplot2

Transpose / reshape dataframe without “timevar” from long to wide format

Install binary zipped R package via command line

Creating a 5x5 matrix with 0's lined diagonally

Unused arguments in R

How do I strip dollar signs ($) from data/ escape special characters in R?

slick one-lineRs

Should I avoid programming packages with pipe operators?

How to remove duplicated column names in R?

Select every nth row from dataframe

R syntax for selecting all but two first rows

Removing specific rows from a dataframe

Command history in R

How to determine if date is a weekend or not (not using lubridate)

How to separate two plots in R?

How to import a .tsv file

Equivalent to unix “less” command within R console

Finding adjacent polygons in R (neighbors)

Animated sorted bar chart with bars overtaking each other

R Markdown Math Equation Alignment

Test for NA and select values based on result

min for each row with dataframe in R

Complete word matching using grepl in R

Printing stack trace and continuing after error occurs in R

Finding All Positions for Multiple Elements in a Vector

How to save summary(lm) to a file?

Changing color of density plots in ggplot2

How to adjust facet size manually

ddply for sum by group in R

How do I position two legends independently in ggplot

How to split a number into digits in R

Combined plot of ggplot2 (Not in a single Plot), using par() or layout() function?

How to plot the results of a mixed model

Convert a matrix in R into a upper triangular/lower triangular matrix with those corresponding entries

How to use or/and in dplyr to subset a data.frame

When does 'quietly = TRUE' actually work in the require() function?

Convert accented characters into ascii character

Subfigures or Subcaptions with knitr?

Exporting R tables to HTML

Why does a boxplot in ggplot requires axis x and y?

Is there such “colsd” in R?

How to create a world map in R with specific countries filled in?

dplyr: inner_join with a partial string match

How to select rows from data.frame with 2 conditions

Python pandas equivalent to R groupby mutate

Apply a ggplot-function per group with dplyr and set title per group

Graph flow chart of transition from states

Including Bibliography in RMarkdown document with use of the knitcitations

Include data examples in developing R packages

Suppress ticks in plot in r

bottom align a button in R shiny

Reshaping an array to data.frame

How can I change paper size when using Knit PDF in RStudio?

Generate random numbers with fixed mean and sd

Create a Data Frame of Unequal Lengths

Access zoo or xts index

Index value for matrix in R?

View the source of an R package

What does eg %+% do? in R

RSelenium: server signals port is already in use

Using regexp to select rows in R dataframe

agrep: only return best match(es)

Does appending to a list in R result in copying?

Incremental nested lists in rmarkdown

Adding multiple columns in a dplyr mutate call

how to create a list in R from two vectors (one would be the keys, the other the values)?

R detection of Blas version

how to add labels to a plot

reading a csv file with repeated row names in R

“Error: Continuous value supplied to discrete scale” in default data set example mtcars and ggplot2

Favicon in Shiny

How to get reverse of a TRUE/FALSE vector?

Is there something in testthat like expect_no_warnings()?

Change standard error color for geom_smooth

Conditional merge/replacement in R

How to give subtitles for subplot in plot_ly using R

Are double “” and single '' quotes (always) interchangeable in R?

Package inputenc Error: Unicode char \u8 in RStudio

Using CUT and Quartile to generate breaks in R function

R: Subsetting a data frame using a list of dates as the filter

How do I log an R session to a file?

Matching timestamped data to closest time in another dataset. Properly vectorized? Faster way?

Is there a simple way in R to extract only the text elements of an HTML page?

List files in R that do NOT match a pattern

Reorder rows in data.table in a specific order

Are tabs with their own sidebars and mainPanels possible in shiny?

Get the list of functions loaded in R's global environment

how do I grep in R?

Rank variable by group (dplyr)

Programmatically insert text, headers and lists with R markdown

ggplot2 - Multi-group histogram with in-group proportions rather than frequency

R: using rgl to generate 3d rotatable plots that can be viewed in a web browser?

ggplot2: line connecting the means of grouped data

Automate zip file reading in R

How to resize and save plots in png format?

How to parametrize function calls in dplyr 0.7?

Shiny: How to make reactive value initialize with default value

Can I avoid using data frames in ggplot2?

R: Cannot install rJava; what is r-api-3.4?

String split with conditions in R

dplyr summarize with subtotals

How to set up conda-installed R for use with RStudio?

R save table as image

Finding 2 & 3 word Phrases Using R TM Package

R - Changing ggplot plot size in jupyter

Combination Boxplot and Histogram using ggplot2

Linking R package vignettes

how to pivot/unpivot (cast/melt) data frame?

Stacked bar chart in R (ggplot2) with y axis and bars as percentage of counts

R + ggplot2 => add labels on facet pie chart

How to create, structure, maintain and update data codebooks in R?

using Source() in Shiny

Extract prediction band from lme fit

Adding lagged variables to an lm model?

Display custom image as geom_point

Save plot with a given aspect ratio

R CMD check --as-cran warning

How to shade a region under a curve using ggplot2

R: plotting posterior classification probabilities of a linear discriminant analysis in ggplot2

Return plot from R function

Making non-ASCII data suitable for CRAN

What's the difference between is and inherits?

Add Columns to an empty data frame in R

What is the meaning of the “local data frame” message from `dplyr:::print.tbl_df`?

Using dplyr summarise_at with column index

Dplyr or Magrittr - tolower?

how to remove multiple columns in r dataframe?

Match substring of two vectors and create a new vector combining them

Converting date to a day of week in R

Removing Whitespace From a Whole Data Frame in R

How to set themes globally for ggplot2?

How to read only lines that fulfil a condition from a csv into R?

R Aspell homebrew

Convert currency with commas into numeric

How to create a raster from a data frame in r?

Convert binary string to binary or decimal value

if statement in R can only have one line?

Error of java path on loading rJava package

quick/elegant way to construct mean/variance summary table

Fit a line with LOESS in R

How to reverse a matrix in R?

Get all diagonal vectors from matrix

R - install_github fails

how to return number of decimal places in R

Convert continuous numeric values to discrete categories defined by intervals

Get the number of lines in a text file using R

R - return position of element in matrix?

How can I use the row.names attribute to order the rows of my dataframe in R?

Most efficient way of exporting large (3.9 mill obs) data.frames to text file?

R - Group by variable and then assign a unique ID

How to convert not.camel.case to CamelCase in R

What is the right way to multiply data frame by vector?

jitter geom_line()

Reading multiple csv files from a folder into a single dataframe in R

How to add a number of observations per group and use group mean in ggplot2 boxplot?

Matching multiple patterns

Add column which contains binned values of an integer column

How to perform Lemmatization in R?

Generate integer random numbers from range (0:10^12)

Building a list in a loop in R - getting item names correct

Plotting multiple curves same graph and same scale

How to rank within groups in R?

how to feed the result of a pipe chain (magrittr) to an object

Create a dataframe with random numbers in each column

Legend properties when legend.only=T (raster package)

rbind dataframes in a list of lists

Convert roman numerals to numbers in R

How to combine multiple character columns into a single column in an R data frame

How to show indexes of NAs?

How to add line breaks to plotly hover labels

R: matrix by vector multiplication

How to add multiple columns to a data.frame in one go?

Adjust position and font size of legend title in ggplot2

Fatal error: cannot mkdir R_TempDir

format a Date column in a Data Frame

Does column exist and how to rearrange columns in R data frame

Initialize an empty tibble with column names and 0 rows

convert HTML Character Entity Encoding in R

Learning to understand plyr, ddply

Determining UTM zone (to convert) from longitude/latitude

Reduce size of legend area in barplot

Logical operators (AND, OR) with NA, TRUE and FALSE

as.Date returning NA while converting from 'ddmmmyyyy'

Plot a JPG image using base graphics in R

strsplit on first instance

Add a plot title to ggvis

Error in plot.window(…) : need finite 'xlim' values

Converting geo coordinates from degree to decimal

Plot every column in a data frame as a histogram on one page using ggplot

Difference between r-base and r-recommended packages

Error in install.packages : cannot remove prior installation of package ‘DBI’

How to use superscript with ggplot2

three-way color gradient fill in r

R glmnet as.matrix() error message

Convert latitude and longitude coordinates to country name in R

move axis labels ggplot

R and System calls

How do you combine “Revision Control” with “Workflow” for R?

R and Leaflet: How to arrange label text across multiple lines

R Convert list to lowercase

What are fortunes?

ggplot side by side geom_bar()

How to use facet_grid correctly in ggplot2?

Calculate sum of a list of variables by group

Error installing R package for Linux

How to make dodge in geom_bar agree with dodge in geom_errorbar, geom_point

Fast vector math in Clojure / Incanter

Filter out rows from one data.frame that are present in another data.frame

In R why is factorial(100) displayed differently to prod(1:100)?

Preview a saved PNG in an R device window

Add legend to geom_vline

Control alignment of two side-by-side plots in knitr

predict method for felm from lfe package

R is plotting labels off the page

Joining means on a boxplot with a line (ggplot2)

Faster %in% operator

Copy folders from one directory to another in R

R ggplot barplot; Fill based on two separate variables

Creating tuples from two vectors

gradient breaks in a ggplot stat_bin2d plot

R: How can I make a barplot with labels parallel (horizontal) to bars

Shiny Chart Space Allocation

How to automatically load data in an R package?

What does this mean: unable to find an inherited method for function ‘A’ for signature ‘“B”’

Error in ConfusionMatrix the data and reference factors must have the same number of levels

element-wise concatenation of string vectors

position legend of a stacked bar plot

How to set seed for random simulations with foreach and doMC packages?

How can I remove border lines when using geom_sf?

character(0) warnings when running devtools::load_all(“.”) in RStudio

How do I manipulate/access elements of an instance of “dist” class using core R?

How do you compare the “similarity” between two dendrograms (in R)?

Draw a box around a legend ggplot2

Data frames and is.nan()

Why does it take more time for data.table::fread to read a file when filename is specified differently?

Merge r brings error “'by' must specify uniquely valid columns”

Is it possible to plot the smooth components of a gam fit with ggplot2?

Ignore escape characters (backslashes) in R strings

How to create a faceted line-graph using ggplot?

Annotate values above bars (ggplot faceted)

Recognize PDF table using R

How do you read a password protected excel file into r?

create an expression from a function for data.table to eval

Architect / StatET: Launching R Console was cancelled because R engine failed

R: Write RasterStack and preserve layer names

Update all packages from GitHub

R split on delimiter (split) keep the delimiter (split)

Using a static (prebuilt) PDF vignette in R package

How do you delete the current (but not all) plots in the RStudio plotting device?

How to save Viewer Pane as image through command line?

Is there a way to add chapter bibliographies using bookdown?

R Scale plot elements within PDF of set width and height

Is there a way to declare public and private methods for S4 Reference Classes?

Overlay a map on top of a 3d surface map in r

Boosting ggplot2 performance

why roxygen2 does not automatically update “Imports” in DESCRIPTION file?

How to set memory limit in RStudio (desktop version)?

Making knitr optional

Why is my recursive function so slow in R?

Extract a string of words between two specific words in R

Omit inf from row sum in R

How to sort a data frame by alphabetic order of a character variable in R?

Format numbers with million (M) and billion (B) suffixes

Categorize numeric variable into group/ bins/ breaks

Saving multiple ggplots from ls into one and separate files in R

Count consecutive occurrences of values in a single column

How to set cache=FALSE for a knitr markdown document and override code chunk settings?

Display an axis value in millions in ggplot

Error with inline and Xcode 4.2.1

R: Calculate and interpret odds ratio in logistic regression

Causes of “Error: package '_____' was built before 3.0.0: please re-install it” in R

Easy way of counting precision, recall and F1-score in R

How to access to specify file in subfolder without change working directory In R?

How to remove intercept in R

How to set the row names of a data frame passed on with the pipe %>% operator?

Change default prompt and output line prefix in R?

How to make object created within function usable outside

Checking for identical columns in a data frame in R

ggplot2 make missing value in geom_tile not blank

drawing pyramid plot using R and ggplot2

How to reverse legend (labels and color) so high value starts downstairs?

Collapsing data frame by selecting one row per group

Generating LaTeX output from R data frame

R: What are operators like %in% called and how can I learn about them?

pivot_wider issue “Values in `values_from` are not uniquely identified; output will contain list-cols”

Knitr: R package check error, object 'opts_chunk' not found

R: copy/move one environment to another

Delete columns/rows with more than x% missing

Split the title onto multiple lines?

Checking if string is in uppercase in R

Using %>% operator from dplyr without loading dplyr in R

R grep pattern regex with brackets

Suggestions for speeding up Random Forests

Align axis label on the right with ggplot2

What type of object is an R package?

R: how to total the number of NA in each col of data.frame

Shiny: What is the option setting to display in the console the messages between server and ui

Subset a dataframe by multiple factor levels

How to select some rows with specific rownames from a dataframe?

Is there a python (scipy) function to determine parameters needed to obtain a target power?

Group data and plot multiple lines

Plots without titles/labels in R

Same memory usage of matrices with different size

Multiple ggplots of different sizes

R Download.File Issue with Excel Workbook

Divide each data frame row by vector in R

How to use a template in vim

Error in na.fail.default: missing values in object - but no missing values

Order a matrix by multiple column in r

C# - R interface

Cannot read file with “#” and space using read.table or read.csv in R

How do I access the data frame that has been passed to ggplot()?

Generate series 1,2,1,3,2,1,4,3,2,1,5,4,3,2,1

R ggplot2 center align a multi-line title

Install an R package temporarily, only for the current session

Create URL hyperlink in R Shiny?

merge/combine columns with same name but incomplete data

Plotting multiple time-series in ggplot

Recommendations for black and white color scheme with ggplot2

How Do I connect two coordinates with a line using Leaflet in R

how do i exclude specific variables from a glm in R?

How can I generate a GUID in R?

get execution time in milliseconds in R

Plot a data frame as a table

Dummy variables from a string variable

Using xtable with R and Latex, math mode in column names?

How to calculate time difference with previous row of a data.frame by group

Use outer instead of expand.grid

Convert a month abbreviation to a numeric month, in R

Sparse matrix to a data frame in R

Simple program to call R from Java using Eclipse and Rserve

ToolTip when you mouseover a ggplot on shiny

Is there a dictionary functionality in R

How do I create a continuous density heatmap of 2D scatter data in R?

Explain R tapply description

How can I get a dataframe with columns temporarily removed by name?

Determine function name within that function

Collapse continuous integer runs to strings of ranges

Removing rows from R data frame

How to get R to recognize your working directory as its working directory?

Select Subset of Columns based on Vector R

Revert list structure

ROC curve in R using ROCR package

How do I prevent Rplots.pdf from being generated?

How to put a geom_sf produced map on top of a ggmap produced raster

Why is 365 days equal to 80000 years?

How to get rid of warning messages after installing R?

Kolmogorov-Smirnov test in R

Functional way to reverse cumulative sum?

How to adjust the Font Size of tableGrob

conditional sums for pandas aggregate

Align violin plots with dodged box plots

How to place grobs with annotation_custom() at precise areas of the plot region?

using data.table to flag the first (or last) record in a group

Solving for the inverse of a function in R

Simple working example of ddply() in parallel on Windows

Having trouble setting working directory

Error in gzfile(file, “wb”): cannot open the connection or compressed file

Strategies for repeating large chunk of analysis

package 'stringi' does not work after updating to R3.2.1

Why doesn't “+” operate on characters in R?

Rtools is not being detected from RStudio

Accessing column with df[col] gives: Error 'x' must be atomic for 'sort.list'

dplyr rename error: contains unknown variables

Combine and run multiple R scripts from another script

Faster way to find the first TRUE value in a vector

How to insert a dataframe into a SQL Server table?

sendmailR (Part2): Sending files as mail attachments

Error when trying to install Rmpfr in R related to the header file mpfr.h

Lapply to Add Columns to Each Dataframe in a List

R error in unique.default(x) unique() applies only to vectors

Switch R script from non-interactive to interactive

How can I hide the part of the legend using ggplot2?

dplyr summarise when function return is vector-valued?

Error in Confusion Matrix : the data and reference factors must have the same number of levels

Print values for multiple variables on the same line from within a for-loop

Extract a single dplyr tbl_df row as a vector

Scraping a dynamic ecommerce page with infinite scroll

Sparklines in ggplot2

Add number of observations per group in ggplot2 boxplot

R stacked percentage bar plot with percentage of binary factor and labels (with ggplot)

Is my way of duplicating rows in data.table efficient?

How do I lengthen edges in an igraph network plot (layout=fruchterman.reingold)?

Make a function return silently

Overlay two ggplot2 stat_density2d plots with alpha channels

Why does “^” on a data.frame return a matrix instead of a data.frame like “*” does?

Difference in Python statsmodels OLS and R's lm

How to debug a non-exported function?

Using rvest or httr to log in to non-standard forms on a webpage

Why does R use partial matching?

Output table width in Rmarkdown

R, ggplot - Graphs sharing the same y-axis but with different x-axis scales

qpdf.exe for compactPDF?

Time series forecasting, dealing with known big orders

How can knitr's cached results be used to reproduce the environment in a given chunk?

ggplot2: separate color scale per facet

How to get different Variable Importance for each class in a binary h2o GBM in R?

Probabilities in copula doesn't sum up to 1

Efficient ways to reshape huge data from long to wide format - similar to dcast

How to stop a running query?

Roxygen: how to set a default parameter including backslash ('\') to functions

Group by multiple columns and sum other multiple columns

Median and quartile on violin plots in ggplot2

Create a log sequence across multiple orders of magnitude

How to convert integer number into binary vector?

Select columns of data.table based on regex

Avoiding error when using rename in dplyr and column doesn't exist

Why is caret train taking up so much memory?

filter function in dplyr errors

Mean of a column in a data frame, given the column's name

Plot multiple lines in one graph

What useful R package doesn't currently exist?

Setting the color for an individual data point

Why is apply() method slower than a for loop in R?

R - capturing elements of R output into text files

Change day of the month in a Date to first day (01)

Namespaces without packages

Format date as Year/Quarter

How to extract elements from list of lists

summarizing counts of a factor with dplyr

Extract first word from a column and insert into new column

Replace numbers in data frame column in R?

How to compute weighted mean in R?

Comparing character vectors in R to find unique and/or missing values

Latitude Longitude Coordinates to State Code in R

duplicate vector into matrix r

Equivalent to rowMeans() for min()

R: dplyr - Rename column name by position instead of name

How do I change the color value of just one value in ggplot2's scale_fill_brewer?

dplyr filter with condition on multiple columns

Identifying duplicate columns in a dataframe

move up a frame, debug R environment

Add ID column by group

R: How to filter/subset a sequence of dates

How to create a range of dates in R

Remove all packages that do not come with R

R xlsx package error

How to replace the “.” in column names generated by read.csv() with a single space when exporting?

Reshaping time series data from wide to tall format (for plotting)

Uninstall R from Mac OSX 10.9.2

Merging multiple rasters in R

Minus operation of data frames

R: Import CSV with column names that contain spaces

R: how to label the x-axis of a boxplot

How to turn gpclibPermit() to TRUE

Get weekdays in English in R

Transparency with polygon command

sum cells of certain columns for each row

drop-down checkbox input in shiny

How to have NA's displayed first using arrange()

How can I divide one column of a data frame through another?

R convert string to vector tokenize using “ ”

Interaction Plot in ggplot2

passing parameters to ggplot

Assign intermediate output to temp variable as part of dplyr pipeline

Knit PDf file from RStudio

starting a daily time series in R

Embedding a miniature plot within a plot

How to remove leading “0.” in a numeric R variable

Can you specify different geoms for different facets in a ggplot?

R - Add a new column to a dataframe using matching values of another dataframe

How to sort a character vector according to a specific order?

RODBC Temporary Table Issue when connecting to MS SQL Server

How can a data ellipse be superimposed on a ggplot2 scatterplot?

Find day of year with the lubridate package in R

Remove/collapse consecutive duplicate values in sequence

insert elements in a vector in R

Align plot areas in ggplot

Vectorize a product calculation which depends on previous elements?

File browser in R

attach() inside function

R error “sum not meaningful for factors”

Change the thousands separator in a ggplot

Referencing Row Number in R

How to convert a string in a function into an object?

converting datetime string to POSIXct date/time format in R

How to center the title in R Markdown

How can I create an infix %between% operator?

Two geom_points add a legend

R: xtable and dates

in R, can I stop print(cat(“”)) from returning NULL? and why does cat(“foo”) return foo>

Multiple Lines for Text per Legend Label in ggplot2

Notepad ++ not recognizing R language

How make 2 column layout in R markdown when rendering pdf?

Installing a package offline from GitHub

Time difference in years with lubridate?

Adding columns to a data table

ggplot bar plot with facet-dependent order of categories

finding the index of a max value in R

Strategies for formatting JSON output from R

R markdown: can I insert a pdf to the r markdown file as an image?

Population Variance in r

pass string to facet_grid : ggplot2

Piecewise regression with R: plotting the segments

ggplot2: change order of display of a factor variable on an axis

R: replacing NAs in a data.frame with values in the same position in another dataframe

how to tell if code is executed within a knitr/rmarkdown context?

Common legend for multiple plots in R

R's which() and which.min() Equivalent in Python

How to query axis limits in R?

Specifying formula in R with glm without explicit declaration of each covariate

Require minimum version of R package

What does useMethod mean here?

knitr - exclude chunks from `purl(…)`?

Where to put package vignettes for CRAN submission?

Rank of a matrix in R

Getting a stacked area plot in R

Sort legend in ggplot2

How to convert a spatial dataframe back to normal dataframe?

R gotcha: logical-and operator for combining conditions is & not &&

R dplyr - filter by multiple conditions

Warning message during building an R package: invalid uid value replaced by that for user 'nobody'

R from C — Simplest Possible Helloworld

Finding non-numeric data in an R data frame or vector

join two or more data frames in system R

Scale kable table to fit page width

How to use tidyr::separate when the number of needed variables is unknown

readr : Turn off scientific notation in write_csv

How can I create raster plots with the same colour scale in R

R purrr:::pmap: how to refer to input arguments by name?

Is right-to-left operator associativity in R possible?

dplyr: apply function table() to each column of a data.frame

Adding ellipses to a principal component analysis (PCA) plot

Formatting a date in R without leading zeros

Conditional `echo` (or eval or include) in rmarkdown chunks

Polygons nicely cropping ggplot2/ggmap at different zoom levels

Logfile analysis in R?

Currying functions in R

could not find function inside foreach loop

Is there a way to get a vector with the name of all functions that one could use in R?

Plotting 3-tuple data points in a surface / contour plot using matplotlib

Force ggplot legend to show all categories when no values are present

R RJDBC java.lang.OutOfMemoryError

Reading big data with fixed width

How to download intraday stock market data with R

Warning: Input string not available in this locale

Hide certain columns in a responsive data table using DT package

How to perform join over date ranges using data.table?

Remove extra space beyond xlim and ylim

How to see whether a vector is empty in R

using Unicode 'dingbat-like' glyphs in R graphics, across devices & platforms, especially PDF

Multiple use of the positional `$` operator to update nested arrays

What is the best way to transpose a data.frame in R and to set one of the columns to be the header for the new transposed table?

What does the parameter 'classwt' in RandomForest function in RandomForest package in R stand for?

Read gzipped csv directly from a url in R

Short caption in knitr::kable()

Modify functions in R using body, formals and environment methods

Shiny saving URL state subpages and tabs

Reshaping a data frame with more than one measure variable

'names' attribute must be the same length as the vector

OS-independent way to select directory interactively in R

How to specify (non-R) library path for dynamic library loading in R?

Unable to install.packages(): system call failed: Cannot allocate memory; installation of package had non-zero exit status

Adding a one dataframe to the end of another data.frame in R

Package dependencies when installing from source in R

How do I tell the R interpreter how to use the proxy server?

Find location of current .R file

RODBC queries returning zero rows

How to stop a function in R that is taking too long and give it an alternative?

How can I order a dataframe by the second column in R?

Duplicating (and modifying) discrete axis in ggplot2

Why does foreach %dopar% get slower with each additional node?

Interactive plotting with R raster: values on mouseover

caught segfault - 'memory not mapped' error in R

Better way to filter a data frame with dplyr using OR?

R shiny mainPanel display style and font

listing contents of an R data file without loading

Is there a way of getting “marginal effects” from a `glmer` object

Is it possible to stop executing of R code inside shiny (without stopping the shiny process)?

Parallelized optimization in R

Code folding in RStudio: Creating hierarchy in the code

In R, is it possible to overlay 2 colours in a plot to make a 3rd (e.g. with additive or subtractive colour mixing)

Wrapping shiny modules in R6 classes

Real-time audio analysis with R

Color one point and add an annotation in ggplot2?

How do you clear the R console in OS X (or Ubuntu)

How to export a csv in utf-8 format?

Replace characters using gsub, how to create a function?

Aggregate (count) rows that match a condition, group by unique values

Extracting outputs from lapply to a dataframe

Finding elements that do not overlap between two vectors

Delete a column in a data frame within a list

Cast function argument as a character string?

dplyr count non-NA value in group by

How to convert r data frame to h2o object

R: Remove multiple empty columns of character variables

Extract all numbers from a single string in R

Output error/warning log (txt file) when running R script under command line

Collapse consecutive runs of numbers to a string of ranges

R extract part of string

Creating a Pareto Chart with ggplot2 and R

How to change font size of the correlation coefficient in corrplot?

Collapse text by group in data frame

How to add braces to a graph?

geom_bar define border color with different fill colors

How to implement a cleanup routine in R Shiny?

horizontal dendrogram in R with labels

Clip values between a minimum and maximum allowed value in R

Expand ranges defined by “from” and “to” columns

How can I make the output from tapply() into a data.frame

Unable to change python path in reticulate (R)

Fast replacing values in dataframe in R

How to plot a normal distribution by labeling specific parts of the x-axis?

How to implement R's p.adjust in Python

Create new column with dplyr mutate and substring of existing column

dplyr, lubridate : how to aggregate a dataframe by week?

How to change warning setting?

Boxed geom_text with ggplot2

how to read.jpeg in R 2.15

how to get value when a variable name is passed as a string

How can I determine the current directory name in R?

When importing CSV into R how to generate column with name of the CSV?

knitr displaying digits of an integer without scientific notation

R grep: is there an AND operator?

R: how to rbind two huge data-frames without running out of memory

Error: zipping up workbook failed when trying to write.xlsx

dredge function error - R package MuMln

Mean by factor by level

How to force a y axis to minimum and maximum range in R?

list of word frequencies using R

Remove a particular group of elements in a vector?

Side by side horizontal legends in in ggplot2

In R, how can I access the first element of each level of a factor?

Locate index of rows in a dataframe that have the value of NA

Questions about set.seed() in R

“plot.new has not been called yet” error in rmarkdown (Rstudio 1.0.44)

Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg 1)

Using Stata Variable Labels in R

Modify package function

How to change x-axis tick label names, order and boxplot colour using R ggplot?

How to make a vector using a for loop

How can I remove repeated characters in a string with R?

change time locale for R

R split numeric vector at position

ggplot2 make legend key fill transparent

How to control new variables' names after tidyr's spread?

How to always display 3 decimal places in DataTables in R Shiny?

Rcpp Rcpp.package.skeleton(“mypackage”) “rcpp_hello_world” not available for .Call() for package “mypackage”

Saving plot as pdf and simultaneously display it in the window (x11)

How to remove duplicated rows by a column in an R matrix

Plot over multiple pages

Extract second subelement of every element in a list while ignoring NA's in sapply in R

R subsetting a data frame into multiple data frames based on multiple column values

`as.na` function

Show columns with NAs in a data.frame

create boxplots with transparent colour ggplot2

How to insert an element in the middle of a list?

How to convert time (mm:ss) to decimal form in R

ggplot2: How to use same colors in different plots for same factor

How to replace numeric dates with month names for a column in R

Renumbering rows after ordering in R programme

Adding named item to named list - guaranteed to append to end of list?

“non-stationary seasonal AR part from CSS” error in R

Create all combinations of letter substitution in string

Long Numbers As A Character String

Changing tick intervals when x axis values are dates

replace a list of values by another in R

use dplyr's summarise_each to return one row per function?

Fill region between two loess-smoothed lines in R with ggplot

Combining multiple complex plots as panels in a single figure

R: Convert factor column to multiple boolean columns

Add pch symbol in R plot legend

R graphs: Creating Tufte's horizontal bar lines

Reading text files using read.table

How do I summarise only part of a table?

R: plotting decision tree labels leaves text cut off

Plot percentages on y-axis

plotting ROC in R with ROCR vs pROC

Equation-driven smoothly shaded concentric shapes

Way to “free-hand” draw shapes in shiny?

r markdown - format text in code chunk with new lines

Generate matrix with iid normal random variables using R

How to obtain a position of last non-zero element

Complicated summary function — is it possible to solve with R data.table package?

Plotting Simple Data in R

How to get the cumulative sum by group in R?

How do you code an R function so that it 'knows' to look in 'data' for the variables in other arguments?

Next with Revolution R's foreach package?

Iterate over key/value pair from a list()

How to properly document S4 “[” and “[<-“ methods using roxygen?

In a `facet_wrap`ed grid, center subplots at 0 while keeping `free_x`

ggplot inserting space before degree symbol on axis label

expression + variable value + normal text in plot maintitle

Applying a function to each row of a data.table

R - problem with foreach %dopar% inside function called by optim

Exuberant Ctags with R

How do I modify an existing a sheet in an Excel Workbook using Openxlsx package in R?

Convert date time to a formatted time string

Is it possible to host interactive R Markdown files on Github Pages?

R testthat unit test data and helper function conventions

Emacs ESS version of Clear Console

How do I make my axis ticks face Inwards in ggplot2

Update graph/plot with fixed interval of time

Avoiding the infamous “eval(parse())” construct

ggplot2: color individual words in title to match colors of groups

ggplot2: geom_text resize with the plot and force/fit text within geom_bar

set “space” in facet_wrap like in facet_grid

How do I do a negative / nomatch / inverse search in data.table?

R, deep vs. shallow copies, pass by reference

R - Common title and legend for combined plots

Fixing maps library data for Pacific centred (0°-360° longitude) display

How to align an ordinary ggplot with a faceted one in cowplot?

How to write files with Unix end of lines on R for Windows

In R, dealing with Error: ggplot2 doesn't know how to deal with data of class numeric

How can I do a spatial join with the sf package using st_join()

RStudio not picking the encoding I'm telling it to use when reading a file

Load a dataset into R with data() using a variable instead of the dataset name

Force X axis text on for all facets of a facet_grid plot

How to change the figure caption format in bookdown

clear memory allocated by R session (gc() doesnt help !)

What does “/” mean in R when writing a regression formula in lm()

Run a system command as sudo from R?

Make R's View() open in a new window automatically

How to get geom_smooth() ignore my colour grouping

How can I fix column breaks in an Rmarkdown / ioslides presentation

create a formula in a data.table environment in R

Data Table merge based on date ranges

Repo from RStudio to Github

Use sendmailR with Windows

What is the difference between finish and continue in browser()?

How to join multiple data frames using dplyr?

R + Org-mode: how to avoid naming plot files?

Simplifying a POSIX node with RJSONIO::fromJSON()

Working with knitr using subdirectories

Changing Tor identity in R

How to enforce ggplot's position_dodge on categories with no data?

Alternative function to paste

Repeating a repeated sequence

Sum every nth points

Using dplyr to conditionally replace values in a column

Change colours of particular bars in a bar chart

Measures of association in R — Kendall's tau-b and tau-c

Exclude Blank and NA in R

Labeling Outliers of Boxplots in R

Convert letters to numbers

Count values separated by a comma in a character string

How to setup environment variable R_user to use rpy2 in python

ggplot2: Splitting facet/strip text into two lines

cbind() is changing date formatting

Deleting every n-th row in a dataframe

Replace all NA with FALSE in selected columns in R

How to generate a matrix of combinations

What's wrong with my function to load multiple .csv files into single dataframe in R using rbind?

Replacing commas and dots in R

match.call with default arguments

How to find the difference in value in every two consecutive rows in R?

How to fill NAs with LOCF by factors in data frame, split by country

Calculate the number of weekdays between 2 dates in R

Joining aggregated values back to the original data frame

Add column sum to table

Colorize Clusters in Dendogram with ggplot2

How to display the frequency at the top of each factor in a barplot in R

Add named vector to a list

Define size for .gif created by gganimate - change dimension / resolution

Adding a column of means by group to original data

More efficient R / Sweave / TeXShop work-flow?

How to insert plain picture (jpeg / png) from chunk with knitr

dplyr “Select” - Error: found duplicated column name

plyr or dplyr in Python

Add missing value in column with value from row above

Numbers as column names of data frames

How to change multiple Date formats in same column?

R logistic regression area under curve

setting upper and lower limits in rnorm

Complicated reshaping

How do I add the mean value to a histogram in R?

R: How to replace . in a string?

show source code for function in R

How does dplyr’s between work?

Convert ggplot object to plotly in shiny application

R: Convert hours:minutes:seconds

How to perform random forest/cross validation in R

Size of labels for x-axis and y-axis ggplot in R

How to replace NA with mean by group / subset?

Converting rows into columns and columns into rows using R

compute all pairwise differences within a vector in R

change color of only one bar in ggplot

Getting a map with points, using ggmap and ggplot2

Colorbar from custom colorRampPalette

Extract vectors from strsplit list without using a loop

Knitr ignoring fig.pos?

Convert week number to date

Creating a summary statistical table from a data frame

How to assign values to dynamic names variables

Best way to use R in Ruby

Recode categorical factor with N categories into N binary columns

How to merge all elements of list in R?

Sample from vector of varying length (including 1)

How to use cast on a data frame?

R: read.csv adding sub-script “X” in header

read.csv vs. read.table

ggplot 2 facet_grid “free_y” but forcing Y axis to be rounded to nearest whole number

How can I plot my R Squared value on my scatterplot using R?

dplyr: Generate row number/row position in group_by

How to fix OutOfMemoryError (Java): GC overhead limit exceeded in r?

Force mapply to return a list?

How to reorder the items in a legend?

Preserve proportion of graphs using grid.arrange

Merge data frames and overwrite values

Setting hex bins in ggplot2 to same size

How to draw a line or add a text outside of the plot area in R?

do.call in combination with “::”

Strategies for reading in CSV files in pieces?

Importing wikipedia tables in R

How to edit and debug R library sources

How do you create a gradient of colors for a discrete variable in ggplot2?

ggplot2: geom_text() with facet_grid()?

How to capture R text+image output into one file (html, doc, pdf etc)?

Output a vector in R in the same format used for inputting it into R

How to get index in a loop in R

How to set unique row and column names of a matrix when its dimension is unknown?

ggplot group by one categorical variable and color by a second one

Match values in data frame with values in another data frame and replace former with a corresponding pattern from the other data frame

In R, how can I check if two variable names reference the same underlying object?

Left justify text from multi-line facet labels

diff operation within a group, after a dplyr::group_by()

How to make all interactions before using glmnet

ggplot2: Different legend symbols for points and lines

How to use testthat expect_error() correctly?

LDA with topicmodels, how can I see which topics different documents belong to?

How do I get all the output from script I am running in RStudio

In R, is it possible to save the current workspace without quitting?

knitr: getting a parse_all error in R when converting Rmd file into HTML

Inserting a page break within a code chunk in rmarkdown (converting to pdf)

Dplyr - Mean for multiple columns

how to convert date and time from character to datetime type

Is it possible to use non-imported packages in a package vignette?

get filename and path of `source`d file

Warning when defining factor: duplicated levels in factors are deprecated

Box plot with min, max, average and standard deviation

Pivot on data.table similar to rehape melt function

How to export proper TSV?

Combining Bar and Line chart (double axis) in ggplot2

How to quickly export data from R to SQL Server

R package xtable, how to create a latextable with multiple rows and columns from R

Print the current random seed so that I can enter it with set.seed() later

R-regex: match strings not beginning with a pattern

Capture both exit status and output from a system call in R

How To Create Vector of Vector In R

which.max ties method in R

why does knitr caching fail for data.table `:=`?

R 2.14 - detect packages without namespace

Names of R's available packages

Append empty row to a dataframe

Write R data as csv directly to s3

R: use min() within dplyr::mutate()

Venn Diagram with Item labels

Print character string without indices in R

Why is `unlist(lapply)` faster than `sapply`?

Display the x-axis on ggplot as month only in R

Legends in barplot not appearing properly

Automatically create formulas for all possible linear models

arrange() not working on grouped data frame

R how to change one of the level to NA

Reduce cell width and font size of table using pandoc.table()

stat_contour with data labels on lines

How do I handle multiple kinds of missingness in R?

Using summarise with weighted mean from dplyr in R

Read Excel file from a URL using the readxl package

Regression tables in Markdown format (for flexible use in R Markdown v2)

How can I put a transformed scale on the right side of a ggplot2?

I get error “Error in nnet.default(x, y, w, …) : too many (77031) weights” while training neural networks

how to add layers in ggplot using a for-loop

Join R data.tables where key values are not exactly equal--combine rows with closest times

Reorder factor levels by day of the week in R

Wrapper to FOR loops with progress bar

Using R cut function on dates

Send a text message from R

How can I reorder the rows of a matrix, data.frame or vector according to another one

How to add ggproto objects together and save for later without call to ggplot()?

Get first value that matches condition (loop too slow)

How to stop running shiny app by closing the browser window?

Run VBA script from R

Update subset of data.table based on join

Using annotate to add different annotations to different facets

Using Next in a Control Flow

How do you sink input and output to a text file in R?

What is the R assignment operator := for?

Functions inside aes

Real cube root of a negative number

Cartesian Product using data.table package

asymmetric color distribution in scale_gradient2?

Arrange ggplot facets in the shape of the US

Colour for R code chunk in listings package

Plotting bar charts on map using ggplot2?

Adding a line break to code blocks in R Markdown

geom_smooth in ggplot2 not working/showing up

Remove the rows that have non-numeric characters in one column in R

How do I calculate the probability for a given quantile in R?

How to change current Plot Window Size (in R)

Non standard evaluation from another function in R

A function that returns TRUE on NA, NULL, NaN in R?

data.table: using setkey with a column name variable

Is there a package for object-relational mapping in R?

Permute all unique enumerations of a vector in R

Adding a footnote / thanks to Rmarkdown title slide

How can I force cv.glmnet not to drop one specific variable?

Type parameter of the predict() function

stat_contour not able to generate contour lines

Natural way to represent hash tables/dictionaries/maps in R

Find and break on repeated runs

Fix typography in axis labels

How to delete a row from a data.frame without losing the attributes

How can I make my vertical labels fit within my plotting window?

How achieve identical facet sizes and scales in several multi-facet ggplot2 graphics?

Adding multiple shadows/rectangles to ggplot2 graph

Why does facet_grid work, but not facet_wrap?

specify dplyr column names

Using “…” and “replicate”

Fastest way to extract date from date time in R

Calculate days since last event in R

Sourcing an R script from github, for global session use, from within a wrapper function?

Accessing Excel file from Sharepoint with R

Installing R on RHEL 6

R idiom for switch/case

Sending in Column Name to ddply from Function

ggplot2 geom_smooth, extended model for method=lm

Do not open RStudio internal browser after knitting

NAs are not allowed in subscripted assignments

Reactive object bindings in a non-shiny context

ggplot2 multiple scales/legends per aesthetic, revisited

Defunct as of rlang 0.3.0 and mutate_impl

R - How to make a click on webpage using rvest or rcurl

Performing dplyr mutate on subset of columns

findInterval() with right-closed intervals

Detecting geographic clusters

How to avoid date formatted values getting converted to numeric when assigned to a matrix or data frame?

Including an image using roxygen documentation

How to show only part of the plot area of polar ggplot with facet?

R: optimization based on historical data

R: add calibrated axes to PCA biplot in ggplot2

deparse(substitute(x)) in lapply?

gradient shaded confidence interval

Using renderDataTable within renderUi in Shiny

Replace NA with Zero in dplyr without using list()

Consecutive/Rolling sums in a vector in R

Generate a list of primes up to a certain number

Extract string between /

data.table alternative for dplyr case_when

How to number/label data-table by group-number from group_by?

ggplot, facet, piechart: placing text in the middle of pie chart slices

Remove NA/NaN/Inf in a matrix

Is there a way to convert mm:ss.00 to seconds.00?

Remove specific rows from a data frame

ggplot replace count with percentage in geom_bar

Extract string before “|”

How to find common rows between two dataframe in R?

Functions available for Tufte boxplots in R?

In R, What is the difference between df[“x”] and df$x

How does predict.lm() compute confidence interval and prediction interval?

RStudio suddenly stopped showing plots in the plot pane

How to extract everything until first occurrence of pattern

Fill in data frame with values from rows above

How to rename selected columns using dplyr with new column names as strings

Convert and save distance matrix to a specific format

How to create base R plot 'type = b' equivalent in ggplot2?

seq() for POSIXct

Use filter in dplyr conditional on an if statement in R

Three dimensional array to list

remove data greater than 95th percentile in data frame

How do I combine aes() and aes_string() options

lib unspecified & Error in loadNamespace

Using 'rvest' to extract links

Position ggplot text in each corner

Fast linear regression by group

How do I use the lubridate package to calculate the number of months between two date vectors where one of the vectors has NA values?

Regex return file name, remove path and file extension

Using nnet for prediction, am i doing it right?

R Shiny: user authentication for a single app.R

Transposing in dplyr

Hollow histogram or binning for geom_step

How to change the resolution of a raster layer in R

Adding prefix or suffix to most data.frame variable names in piped R workflow

Sort data frame column by factor

Make bold text in HTML output R shiny

How to find Previous Sunday in R

Using legend with stat_function in ggplot2

Critical t values in R

how to reduce space gap between multiple graphs in R

R remove non-alphanumeric symbols from a string

apply over matrix by column - any way to get column name?

Have lubridate subtraction return only a numeric value

Adding stat_smooth in to only 1 facet in ggplot2

Get current time in milliseconds

R Scatter Plot: symbol color represents number of overlapping points

Put multiple data frames into list (smart way)

Idiomatic R code for partitioning a vector by an index and performing an operation on that partition

Subset a data frame using OR when the column contains a factor

reading csv files over ssl with R

R: How to split a data frame into training, validation, and test sets?

Controlling table width in Shiny dataTableOutput

Increase plot size (width) in ggplot2

Clipping raster using shapefile in R, but keeping the geometry of the shapefile

How can I turn an R data frame into a simple, unstyled html table?

Calculate row-wise proportions

What does the integer while setting the seed mean?

Get Map with specified boundary coordinates

Summing lots of Vectors; row-wise or elementwise, but ignoring NA values

R- plot numbers instead of points

Indicating the statistically significant difference in bar graph USING R

ggplot centered names on a map

Extract date elements from POSIXlt and put into data frame in R

“Error in plot.new() : figure margins too large”

How to change name of factor levels?

do.call(rbind, list) for uneven number of column

Use ls() or objects() to get objects of class data.frame

How to convert variable with mixed date formats to one format?

R ggplot transparency - alpha values conditional on other variable

Plot two Graphs on Same Chart R, ggplot2 par(mfrow())

Multiple plots using loops in R

R Shiny: Removing ggplot2 background to make it transparent

how to implement F#'s forward pipe operator in R?

changing font size in R DataTables (DT)

shiny fluidrow column white space

How to add shaded confidence intervals to line plot with specified values

Logistic regression - defining reference level in R

Closest date in a vector to a given date

how to call python script from R with arguments

Summing across rows of a data.table for specific columns

Randomly sample a percentage of rows within a data frame

ggplot2: Put multi-variable facet_wrap labels on one line

ggplot2 line plot order

Reading 40 GB csv file into R using bigmemory

How should I split and retain elements using strsplit?

How to create a facet in ggplot, except with different variables

dplyr::select() with some variables that may not exist in the data frame?

Reshape multiple values at once

Subsetting a matrix by row.names

ACF Plot with ggplot2: Setting width of geom_bar

How to select data that have complete cases of a certain column?

Matching up two vectors in R

Fastest way to find *the index* of the second (third…) highest/lowest value in vector or column

R Shiny: Handle Action Buttons in Data Table

How to manipulate NULL elements in a nested list?

Override rmarkdown theme in order to change html page width

dplyr summarise multiple columns using t.test

How to find the largest N elements in a list in R?

Change the color of the axis labels

Calling library() in R with a variable as the argument

Static Variables in R

in dplyr select with a drop does not work

How to save a data frame in a txt or excel file separated by columns

Excluding columns from a dataframe based on column sums

calling R script from java

Select multiple rows conditioning on ID in R

Using the Tufte-Latex class in Sweave

How to change the units of difftime after computing the values, and not using units=“xxx” when performing the calculations

Sum of antidiagonal of a matrix

ggplot2: Define plot layout with grid.arrange() as argument of do.call()

Removing attributes of columns in data.frames on multilevel lists in R

Side by Side histograms in the Same Graph in R?

Select column 2 to last column in R

Using column numbers not names in lm()

Save the orientation of a RGL plot3d() plot

Remove Plot Margins in ggplot2

Command to see 'R' path that RStudio is using

How to pass environment variables to shinyapps

Thinking in Vectors with R

The correct use of devtools and/or RStudio with respect to .Rbuildignore

gsub speed vs pattern length

What are the default plotting colors in R or ggplot2?

First day of the month from a POSIXct date time using lubridate

R how to visualize confusion matrix using the caret package

Change row order in a matrix/dataframe

dependency ‘slam’ is not available when installing TM package

How do I preserve transparency in ggplot2?

Stopwatch function in R

How to one hot encode several categorical variables in R

How to add frequency count labels to the bars in a bar graph using ggplot2?

Find how many times duplicated rows repeat in R data frame

Creating arbitrary panes in ggplot2

Calculating cumulative sum for each row

How to plot dendrograms with large datasets?

Using geom_line with multiple groupings

How to format number values for ggplot2 legend?

Ordering in r plotly barchart

data.table - select first n rows within group

Add legend to geom_line() graph in r

How can I remove all duplicates so that NONE are left in a data frame?

R - Plot Only Text

How do I get a contingency table?

Replace accented characters in R with non-accented counterpart (UTF-8 encoding)

Number format, writing 1e-5 instead of 0.00001

Align multiple tables side by side

Extract numeric part of strings of mixed numbers and characters in R

Saving and loading data.frames

Print to PDF in a for loop

Plot 4 curves in a single plot with 3 y-axes

Check whether two vectors contain the same (unordered) elements in R

Remove columns with zero values from a dataframe

Count unique values for every column

ggplot2: Curly braces on an axis?

how to get index of sorted array elements

How to sort letters in a string?

Plotting a grid behind data, not in front in R

How to assign output of cat to an object?

How to round a number and make it show zeros?

Using R and plot.ly - how do I script saving my output as a webpage

How to use a variable in dplyr::filter?

Reading all scripts and data files from multiple folders

Align multiple plots in ggplot2 when some have legends and others don't

Label minimum and maximum of scale fill gradient legend with text: ggplot2

How does ggplot scale_continuous expand argument work?

Trouble installing rgdal

Generating interaction variables in R dataframes

Is there a function like switch which works inside of dplyr::mutate?

Combine lists while overriding values with same name in R

How to manage multiple package locations (folders) in R?

Index values from a matrix using row, col indices

Reading .sav file into R

How to draw the boxplot with significant level?

Get Selected Row From DataTable in Shiny App

How to show output in console when writing an RMarkdown notebook?

knitr (R) - how not to embed images in the HTML file?

How to not display number as exponent?

How can I combine multiple ggplot2 elements into the return of a function?

How do I remove empty data frames from a list?

Assign names to vector entries without assigning the vector a variable name?

How to find top n% of records in a column of a dataframe using R

using stat_function and facet_wrap together in ggplot2 in R

Two dots, “..” in R

pass character strings to ggplot2 within a function

Trouble converting long list of data.frames (~1 million) to single data.frame using do.call and ldply

Date time conversion and extract only time

Stop an R program without error

Thousand separator in label of x or y axis

Speed up plot() function for large dataset

Multiple ROC curves in one plot ROCR

Varying axis labels formatter per facet in ggplot/R

For-loop vs while loop in R

R CMD javareconf not finding jni.h

R lubridate converting seconds to date

Why is seq(x) so much slower than 1:length(x)?

Is there a reason to prefer extractor functions to accessing attributes with $?

How to convert integer into categorical data in R?

Add column to empty data.table in R

readRDS(file) in R

How do I prevent exposure of my password when using RGoogleDocs?

“Variable context not set” error with mutate_at, dplyr version >= 0.7

Read lines by number from a large file

Why does an empty dataframe fail an is.null() test?

photo alignment with graph in r

Return most frequent string value for each group

Disable saving history

running R from windows command prompt

Plot margin of pdf plot device: y-axis label falling outside graphics window

Shiny slider on logarithmic scale

Meaning of objects being masked by the global environment

Geocoding in R with Google Maps

Is there anything wrong with using T & F instead of TRUE & FALSE?

how to use black-and-white fill patterns instead of color coding on Calendar Heatmap

How do I draw an arrow on a histogram drawn using ggplot2?

How can I set axis ranges in ggplot2 when using a log scale?

Moving beyond R's optim function

Get the size of the window in Shiny

ggplot() lines transparency

Can dcast be used without an aggregate function?

What does the dplyr period character “.” reference?

Marker mouse click event in R leaflet for shiny

parSapply not finding objects in global environment

Is there a R function that applies a function to each pair of columns?

Overlaying two graphs using ggplot2 in R

Dynamic column name in for loop with cbind

Can't run Rcpp function in foreach - “NULL value passed as symbol address”

How to convert a symmetric matrix into “dist” object?

doParallel error in R: Error in serialize(data, node$con) : error writing to connection

Is there a better reference for r formulas than ?formula?

Finding Overlaps between interval sets / Efficient Overlap Joins

R: what's the proper way to overwrite a function from a package?

How to change the size of R plots in Jupyter?

Warning messages keep appearing in RStudio notebooks in chunks unrelated to the warnings

The use of design patterns in R

Find position of first value greater than X in a vector

How to make a tree plot in caret package?

Row sums over columns with a certain pattern in their name

Add line break to axis labels and ticks in ggplot

Insert a logo in upper right corner of R markdown pdf document

Run multiple R-scripts simultaneously

How to change color in shiny dashboard?

Plotting the average values for each level in ggplot2

Transpose / reshape dataframe without “timevar” from long to wide format

Install binary zipped R package via command line

Creating a 5x5 matrix with 0's lined diagonally

Unused arguments in R

How do I strip dollar signs ($) from data/ escape special characters in R?

slick one-lineRs

Should I avoid programming packages with pipe operators?

How to remove duplicated column names in R?

Select every nth row from dataframe

R syntax for selecting all but two first rows

Removing specific rows from a dataframe

Command history in R

How to determine if date is a weekend or not (not using lubridate)

How to separate two plots in R?

How to import a .tsv file

Equivalent to unix “less” command within R console

Finding adjacent polygons in R (neighbors)

Animated sorted bar chart with bars overtaking each other

R Markdown Math Equation Alignment

Test for NA and select values based on result

min for each row with dataframe in R

Complete word matching using grepl in R

Printing stack trace and continuing after error occurs in R

Finding All Positions for Multiple Elements in a Vector

How to save summary(lm) to a file?

Changing color of density plots in ggplot2

How to adjust facet size manually

ddply for sum by group in R

How do I position two legends independently in ggplot

How to split a number into digits in R

Combined plot of ggplot2 (Not in a single Plot), using par() or layout() function?

How to plot the results of a mixed model

Convert a matrix in R into a upper triangular/lower triangular matrix with those corresponding entries

How to use or/and in dplyr to subset a data.frame

When does 'quietly = TRUE' actually work in the require() function?

Convert accented characters into ascii character

Subfigures or Subcaptions with knitr?

Exporting R tables to HTML

Why does a boxplot in ggplot requires axis x and y?

Is there such “colsd” in R?

How to create a world map in R with specific countries filled in?

dplyr: inner_join with a partial string match

How to select rows from data.frame with 2 conditions

Python pandas equivalent to R groupby mutate

Apply a ggplot-function per group with dplyr and set title per group

Graph flow chart of transition from states

Including Bibliography in RMarkdown document with use of the knitcitations

Include data examples in developing R packages

Suppress ticks in plot in r

bottom align a button in R shiny

Reshaping an array to data.frame

How can I change paper size when using Knit PDF in RStudio?

Generate random numbers with fixed mean and sd

Create a Data Frame of Unequal Lengths

Access zoo or xts index

Index value for matrix in R?

View the source of an R package

What does eg %+% do? in R

RSelenium: server signals port is already in use

Using regexp to select rows in R dataframe

agrep: only return best match(es)

Does appending to a list in R result in copying?

Incremental nested lists in rmarkdown

Adding multiple columns in a dplyr mutate call

how to create a list in R from two vectors (one would be the keys, the other the values)?

R detection of Blas version

how to add labels to a plot

reading a csv file with repeated row names in R

“Error: Continuous value supplied to discrete scale” in default data set example mtcars and ggplot2

Favicon in Shiny

How to get reverse of a TRUE/FALSE vector?

Is there something in testthat like expect_no_warnings()?

Change standard error color for geom_smooth

Conditional merge/replacement in R

How to give subtitles for subplot in plot_ly using R

Are double “” and single '' quotes (always) interchangeable in R?

Package inputenc Error: Unicode char \u8 in RStudio

Using CUT and Quartile to generate breaks in R function

R: Subsetting a data frame using a list of dates as the filter

How do I log an R session to a file?

Matching timestamped data to closest time in another dataset. Properly vectorized? Faster way?

Is there a simple way in R to extract only the text elements of an HTML page?

List files in R that do NOT match a pattern

Reorder rows in data.table in a specific order

Are tabs with their own sidebars and mainPanels possible in shiny?

Get the list of functions loaded in R's global environment

how do I grep in R?

Rank variable by group (dplyr)

Programmatically insert text, headers and lists with R markdown

ggplot2 - Multi-group histogram with in-group proportions rather than frequency

R: using rgl to generate 3d rotatable plots that can be viewed in a web browser?

ggplot2: line connecting the means of grouped data

Automate zip file reading in R

How to resize and save plots in png format?

How to parametrize function calls in dplyr 0.7?

Shiny: How to make reactive value initialize with default value

Can I avoid using data frames in ggplot2?

R: Cannot install rJava; what is r-api-3.4?

String split with conditions in R

dplyr summarize with subtotals

How to set up conda-installed R for use with RStudio?

R save table as image

Finding 2 & 3 word Phrases Using R TM Package

R - Changing ggplot plot size in jupyter

Combination Boxplot and Histogram using ggplot2

Linking R package vignettes

how to pivot/unpivot (cast/melt) data frame?

Stacked bar chart in R (ggplot2) with y axis and bars as percentage of counts

R + ggplot2 => add labels on facet pie chart

How to create, structure, maintain and update data codebooks in R?

using Source() in Shiny

Extract prediction band from lme fit

Adding lagged variables to an lm model?

Display custom image as geom_point

Save plot with a given aspect ratio

R CMD check --as-cran warning

How to shade a region under a curve using ggplot2

R: plotting posterior classification probabilities of a linear discriminant analysis in ggplot2

Return plot from R function

Making non-ASCII data suitable for CRAN

What's the difference between is and inherits?

Add Columns to an empty data frame in R

What is the meaning of the “local data frame” message from `dplyr:::print.tbl_df`?

Using dplyr summarise_at with column index

Dplyr or Magrittr - tolower?

how to remove multiple columns in r dataframe?

Match substring of two vectors and create a new vector combining them

Converting date to a day of week in R

Removing Whitespace From a Whole Data Frame in R

How to set themes globally for ggplot2?

How to read only lines that fulfil a condition from a csv into R?

R Aspell homebrew

Convert currency with commas into numeric

How to create a raster from a data frame in r?

Convert binary string to binary or decimal value

if statement in R can only have one line?

Error of java path on loading rJava package

quick/elegant way to construct mean/variance summary table

Fit a line with LOESS in R

How to reverse a matrix in R?

Get all diagonal vectors from matrix

R - install_github fails

how to return number of decimal places in R

Convert continuous numeric values to discrete categories defined by intervals

Get the number of lines in a text file using R

R - return position of element in matrix?

How can I use the row.names attribute to order the rows of my dataframe in R?

Most efficient way of exporting large (3.9 mill obs) data.frames to text file?

R - Group by variable and then assign a unique ID

How to convert not.camel.case to CamelCase in R

What is the right way to multiply data frame by vector?

jitter geom_line()

Reading multiple csv files from a folder into a single dataframe in R

How to add a number of observations per group and use group mean in ggplot2 boxplot?

Matching multiple patterns

Add column which contains binned values of an integer column

How to perform Lemmatization in R?

Generate integer random numbers from range (0:10^12)

Building a list in a loop in R - getting item names correct

Plotting multiple curves same graph and same scale

How to rank within groups in R?

how to feed the result of a pipe chain (magrittr) to an object

Create a dataframe with random numbers in each column

Legend properties when legend.only=T (raster package)

rbind dataframes in a list of lists

Convert roman numerals to numbers in R

How to combine multiple character columns into a single column in an R data frame

How to show indexes of NAs?

How to add line breaks to plotly hover labels

R: matrix by vector multiplication

How to add multiple columns to a data.frame in one go?

Adjust position and font size of legend title in ggplot2

Fatal error: cannot mkdir R_TempDir

format a Date column in a Data Frame

Does column exist and how to rearrange columns in R data frame

Initialize an empty tibble with column names and 0 rows

convert HTML Character Entity Encoding in R

Learning to understand plyr, ddply

Determining UTM zone (to convert) from longitude/latitude

Reduce size of legend area in barplot

Logical operators (AND, OR) with NA, TRUE and FALSE

as.Date returning NA while converting from 'ddmmmyyyy'

Plot a JPG image using base graphics in R

strsplit on first instance

Add a plot title to ggvis

Error in plot.window(…) : need finite 'xlim' values

Converting geo coordinates from degree to decimal

Plot every column in a data frame as a histogram on one page using ggplot

Difference between r-base and r-recommended packages

Error in install.packages : cannot remove prior installation of package ‘DBI’

How to use superscript with ggplot2

three-way color gradient fill in r

R glmnet as.matrix() error message

Convert latitude and longitude coordinates to country name in R

move axis labels ggplot

R and System calls

How do you combine “Revision Control” with “Workflow” for R?

R and Leaflet: How to arrange label text across multiple lines

R Convert list to lowercase

What are fortunes?

ggplot side by side geom_bar()

How to use facet_grid correctly in ggplot2?

Calculate sum of a list of variables by group

Error installing R package for Linux

How to make dodge in geom_bar agree with dodge in geom_errorbar, geom_point

Fast vector math in Clojure / Incanter

Filter out rows from one data.frame that are present in another data.frame

In R why is factorial(100) displayed differently to prod(1:100)?

Preview a saved PNG in an R device window

Add legend to geom_vline

Control alignment of two side-by-side plots in knitr

predict method for felm from lfe package

R is plotting labels off the page

Joining means on a boxplot with a line (ggplot2)

Faster %in% operator

Copy folders from one directory to another in R

R ggplot barplot; Fill based on two separate variables

Creating tuples from two vectors

gradient breaks in a ggplot stat_bin2d plot

R: How can I make a barplot with labels parallel (horizontal) to bars

Shiny Chart Space Allocation

How to automatically load data in an R package?

What does this mean: unable to find an inherited method for function ‘A’ for signature ‘“B”’

Error in ConfusionMatrix the data and reference factors must have the same number of levels

element-wise concatenation of string vectors

position legend of a stacked bar plot

How to set seed for random simulations with foreach and doMC packages?

How can I remove border lines when using geom_sf?

character(0) warnings when running devtools::load_all(“.”) in RStudio

How do I manipulate/access elements of an instance of “dist” class using core R?

How do you compare the “similarity” between two dendrograms (in R)?

Draw a box around a legend ggplot2

Data frames and is.nan()

Why does it take more time for data.table::fread to read a file when filename is specified differently?

Merge r brings error “'by' must specify uniquely valid columns”

Is it possible to plot the smooth components of a gam fit with ggplot2?

Ignore escape characters (backslashes) in R strings

How to create a faceted line-graph using ggplot?

Annotate values above bars (ggplot faceted)

Recognize PDF table using R

How do you read a password protected excel file into r?

create an expression from a function for data.table to eval

Architect / StatET: Launching R Console was cancelled because R engine failed

R: Write RasterStack and preserve layer names

Update all packages from GitHub

R split on delimiter (split) keep the delimiter (split)

Using a static (prebuilt) PDF vignette in R package

How do you delete the current (but not all) plots in the RStudio plotting device?

How to save Viewer Pane as image through command line?

Is there a way to add chapter bibliographies using bookdown?

R Scale plot elements within PDF of set width and height

Is there a way to declare public and private methods for S4 Reference Classes?

Overlay a map on top of a 3d surface map in r

Boosting ggplot2 performance

why roxygen2 does not automatically update “Imports” in DESCRIPTION file?

How to set memory limit in RStudio (desktop version)?

Making knitr optional

Why is my recursive function so slow in R?

Extract a string of words between two specific words in R

Omit inf from row sum in R

How to sort a data frame by alphabetic order of a character variable in R?

Format numbers with million (M) and billion (B) suffixes

Categorize numeric variable into group/ bins/ breaks

Saving multiple ggplots from ls into one and separate files in R

Count consecutive occurrences of values in a single column

How to set cache=FALSE for a knitr markdown document and override code chunk settings?

Display an axis value in millions in ggplot

Error with inline and Xcode 4.2.1

R: Calculate and interpret odds ratio in logistic regression

Causes of “Error: package '_____' was built before 3.0.0: please re-install it” in R

Easy way of counting precision, recall and F1-score in R

How to access to specify file in subfolder without change working directory In R?

How to remove intercept in R

How to set the row names of a data frame passed on with the pipe %>% operator?

Change default prompt and output line prefix in R?

How to make object created within function usable outside

Checking for identical columns in a data frame in R

ggplot2 make missing value in geom_tile not blank

drawing pyramid plot using R and ggplot2

How to reverse legend (labels and color) so high value starts downstairs?

Collapsing data frame by selecting one row per group

Generating LaTeX output from R data frame

R: What are operators like %in% called and how can I learn about them?

pivot_wider issue “Values in `values_from` are not uniquely identified; output will contain list-cols”

Knitr: R package check error, object 'opts_chunk' not found

R: copy/move one environment to another

Delete columns/rows with more than x% missing

Split the title onto multiple lines?

Checking if string is in uppercase in R

Using %>% operator from dplyr without loading dplyr in R

R grep pattern regex with brackets

Suggestions for speeding up Random Forests

Align axis label on the right with ggplot2

What type of object is an R package?

R: how to total the number of NA in each col of data.frame

Shiny: What is the option setting to display in the console the messages between server and ui

Subset a dataframe by multiple factor levels

How to select some rows with specific rownames from a dataframe?

Is there a python (scipy) function to determine parameters needed to obtain a target power?

Group data and plot multiple lines

Plots without titles/labels in R

Same memory usage of matrices with different size

Multiple ggplots of different sizes

R Download.File Issue with Excel Workbook

Divide each data frame row by vector in R

How to use a template in vim

Error in na.fail.default: missing values in object - but no missing values

Order a matrix by multiple column in r

C# - R interface

Cannot read file with “#” and space using read.table or read.csv in R

How do I access the data frame that has been passed to ggplot()?

Generate series 1,2,1,3,2,1,4,3,2,1,5,4,3,2,1

R ggplot2 center align a multi-line title

Install an R package temporarily, only for the current session

Create URL hyperlink in R Shiny?

merge/combine columns with same name but incomplete data

Plotting multiple time-series in ggplot

Recommendations for black and white color scheme with ggplot2

How Do I connect two coordinates with a line using Leaflet in R

how do i exclude specific variables from a glm in R?

How can I generate a GUID in R?

get execution time in milliseconds in R

Plot a data frame as a table

Dummy variables from a string variable

Using xtable with R and Latex, math mode in column names?

How to calculate time difference with previous row of a data.frame by group

Use outer instead of expand.grid

Convert a month abbreviation to a numeric month, in R

Sparse matrix to a data frame in R

Simple program to call R from Java using Eclipse and Rserve

ToolTip when you mouseover a ggplot on shiny

Is there a dictionary functionality in R

How do I create a continuous density heatmap of 2D scatter data in R?

Explain R tapply description

How can I get a dataframe with columns temporarily removed by name?

Determine function name within that function

Collapse continuous integer runs to strings of ranges

Removing rows from R data frame

How to get R to recognize your working directory as its working directory?

Select Subset of Columns based on Vector R

Revert list structure

ROC curve in R using ROCR package

How do I prevent Rplots.pdf from being generated?

How to put a geom_sf produced map on top of a ggmap produced raster

Why is 365 days equal to 80000 years?

How to get rid of warning messages after installing R?

Kolmogorov-Smirnov test in R

Functional way to reverse cumulative sum?

How to adjust the Font Size of tableGrob

conditional sums for pandas aggregate

Align violin plots with dodged box plots

How to place grobs with annotation_custom() at precise areas of the plot region?

using data.table to flag the first (or last) record in a group

Solving for the inverse of a function in R

Simple working example of ddply() in parallel on Windows

Having trouble setting working directory

Error in gzfile(file, “wb”): cannot open the connection or compressed file

Strategies for repeating large chunk of analysis

package 'stringi' does not work after updating to R3.2.1

Why doesn't “+” operate on characters in R?

Rtools is not being detected from RStudio

Accessing column with df[col] gives: Error 'x' must be atomic for 'sort.list'

dplyr rename error: contains unknown variables

Combine and run multiple R scripts from another script

Faster way to find the first TRUE value in a vector

How to insert a dataframe into a SQL Server table?

sendmailR (Part2): Sending files as mail attachments

Error when trying to install Rmpfr in R related to the header file mpfr.h

Lapply to Add Columns to Each Dataframe in a List

R error in unique.default(x) unique() applies only to vectors

Switch R script from non-interactive to interactive

How can I hide the part of the legend using ggplot2?

dplyr summarise when function return is vector-valued?

Error in Confusion Matrix : the data and reference factors must have the same number of levels

Print values for multiple variables on the same line from within a for-loop

Extract a single dplyr tbl_df row as a vector

Scraping a dynamic ecommerce page with infinite scroll

Sparklines in ggplot2

Add number of observations per group in ggplot2 boxplot

R stacked percentage bar plot with percentage of binary factor and labels (with ggplot)

Is my way of duplicating rows in data.table efficient?

How do I lengthen edges in an igraph network plot (layout=fruchterman.reingold)?

Make a function return silently

Overlay two ggplot2 stat_density2d plots with alpha channels

Why does “^” on a data.frame return a matrix instead of a data.frame like “*” does?

Difference in Python statsmodels OLS and R's lm

How to debug a non-exported function?

Using rvest or httr to log in to non-standard forms on a webpage

Why does R use partial matching?

Output table width in Rmarkdown

R, ggplot - Graphs sharing the same y-axis but with different x-axis scales

qpdf.exe for compactPDF?

Time series forecasting, dealing with known big orders

How can knitr's cached results be used to reproduce the environment in a given chunk?

ggplot2: separate color scale per facet

How to get different Variable Importance for each class in a binary h2o GBM in R?

Probabilities in copula doesn't sum up to 1

Efficient ways to reshape huge data from long to wide format - similar to dcast

How to stop a running query?

Roxygen: how to set a default parameter including backslash ('\') to functions

Group by multiple columns and sum other multiple columns

Median and quartile on violin plots in ggplot2

Create a log sequence across multiple orders of magnitude

How to convert integer number into binary vector?

Select columns of data.table based on regex

Avoiding error when using rename in dplyr and column doesn't exist

Why is caret train taking up so much memory?

filter function in dplyr errors

Mean of a column in a data frame, given the column's name

Plot multiple lines in one graph

What useful R package doesn't currently exist?

Setting the color for an individual data point

Why is apply() method slower than a for loop in R?

R - capturing elements of R output into text files

Change day of the month in a Date to first day (01)

Namespaces without packages

Format date as Year/Quarter

How to extract elements from list of lists

summarizing counts of a factor with dplyr

Extract first word from a column and insert into new column

Replace numbers in data frame column in R?

How to compute weighted mean in R?

Comparing character vectors in R to find unique and/or missing values

Latitude Longitude Coordinates to State Code in R

duplicate vector into matrix r

Equivalent to rowMeans() for min()

R: dplyr - Rename column name by position instead of name

How do I change the color value of just one value in ggplot2's scale_fill_brewer?

dplyr filter with condition on multiple columns

Identifying duplicate columns in a dataframe

move up a frame, debug R environment

Add ID column by group

R: How to filter/subset a sequence of dates

How to create a range of dates in R

Remove all packages that do not come with R

R xlsx package error

How to replace the “.” in column names generated by read.csv() with a single space when exporting?

Reshaping time series data from wide to tall format (for plotting)

Uninstall R from Mac OSX 10.9.2

Merging multiple rasters in R

Minus operation of data frames

R: Import CSV with column names that contain spaces

R: how to label the x-axis of a boxplot

How to turn gpclibPermit() to TRUE

Get weekdays in English in R

Transparency with polygon command

sum cells of certain columns for each row

drop-down checkbox input in shiny

How to have NA's displayed first using arrange()

How can I divide one column of a data frame through another?

R convert string to vector tokenize using “ ”

Interaction Plot in ggplot2

passing parameters to ggplot

Assign intermediate output to temp variable as part of dplyr pipeline

Knit PDf file from RStudio

starting a daily time series in R

Embedding a miniature plot within a plot

How to remove leading “0.” in a numeric R variable

Can you specify different geoms for different facets in a ggplot?

R - Add a new column to a dataframe using matching values of another dataframe

How to sort a character vector according to a specific order?

RODBC Temporary Table Issue when connecting to MS SQL Server

How can a data ellipse be superimposed on a ggplot2 scatterplot?

Find day of year with the lubridate package in R

Remove/collapse consecutive duplicate values in sequence

insert elements in a vector in R

Align plot areas in ggplot

Vectorize a product calculation which depends on previous elements?

File browser in R

attach() inside function

R error “sum not meaningful for factors”

Change the thousands separator in a ggplot

Referencing Row Number in R

How to convert a string in a function into an object?

converting datetime string to POSIXct date/time format in R

How to center the title in R Markdown

How can I create an infix %between% operator?

Two geom_points add a legend

R: xtable and dates

in R, can I stop print(cat(“”)) from returning NULL? and why does cat(“foo”) return foo>

Multiple Lines for Text per Legend Label in ggplot2

Notepad ++ not recognizing R language

How make 2 column layout in R markdown when rendering pdf?

Installing a package offline from GitHub

Time difference in years with lubridate?

Adding columns to a data table

ggplot bar plot with facet-dependent order of categories

finding the index of a max value in R

Strategies for formatting JSON output from R

R markdown: can I insert a pdf to the r markdown file as an image?

Population Variance in r

pass string to facet_grid : ggplot2

Piecewise regression with R: plotting the segments

ggplot2: change order of display of a factor variable on an axis

R: replacing NAs in a data.frame with values in the same position in another dataframe

how to tell if code is executed within a knitr/rmarkdown context?

Common legend for multiple plots in R

R's which() and which.min() Equivalent in Python

How to query axis limits in R?

Specifying formula in R with glm without explicit declaration of each covariate

Require minimum version of R package

What does useMethod mean here?

knitr - exclude chunks from `purl(…)`?

Where to put package vignettes for CRAN submission?

Rank of a matrix in R

Getting a stacked area plot in R

Sort legend in ggplot2

How to convert a spatial dataframe back to normal dataframe?

R gotcha: logical-and operator for combining conditions is & not &&

R dplyr - filter by multiple conditions

Warning message during building an R package: invalid uid value replaced by that for user 'nobody'

R from C — Simplest Possible Helloworld

Finding non-numeric data in an R data frame or vector

join two or more data frames in system R

Scale kable table to fit page width

How to use tidyr::separate when the number of needed variables is unknown

readr : Turn off scientific notation in write_csv

How can I create raster plots with the same colour scale in R

R purrr:::pmap: how to refer to input arguments by name?

Is right-to-left operator associativity in R possible?

dplyr: apply function table() to each column of a data.frame

Adding ellipses to a principal component analysis (PCA) plot

Formatting a date in R without leading zeros

Conditional `echo` (or eval or include) in rmarkdown chunks

Polygons nicely cropping ggplot2/ggmap at different zoom levels

Logfile analysis in R?

Currying functions in R

could not find function inside foreach loop

Is there a way to get a vector with the name of all functions that one could use in R?

Plotting 3-tuple data points in a surface / contour plot using matplotlib

Force ggplot legend to show all categories when no values are present

R RJDBC java.lang.OutOfMemoryError

Reading big data with fixed width

How to download intraday stock market data with R

Warning: Input string not available in this locale

Hide certain columns in a responsive data table using DT package

How to perform join over date ranges using data.table?

Remove extra space beyond xlim and ylim

How to see whether a vector is empty in R

using Unicode 'dingbat-like' glyphs in R graphics, across devices & platforms, especially PDF

Multiple use of the positional `$` operator to update nested arrays

What is the best way to transpose a data.frame in R and to set one of the columns to be the header for the new transposed table?

What does the parameter 'classwt' in RandomForest function in RandomForest package in R stand for?

Read gzipped csv directly from a url in R

Short caption in knitr::kable()

Modify functions in R using body, formals and environment methods

Shiny saving URL state subpages and tabs

Reshaping a data frame with more than one measure variable

'names' attribute must be the same length as the vector

OS-independent way to select directory interactively in R

How to specify (non-R) library path for dynamic library loading in R?

Unable to install.packages(): system call failed: Cannot allocate memory; installation of package had non-zero exit status

Adding a one dataframe to the end of another data.frame in R

Package dependencies when installing from source in R

How do I tell the R interpreter how to use the proxy server?

Find location of current .R file

RODBC queries returning zero rows

How to stop a function in R that is taking too long and give it an alternative?

How can I order a dataframe by the second column in R?

Duplicating (and modifying) discrete axis in ggplot2

Why does foreach %dopar% get slower with each additional node?

Interactive plotting with R raster: values on mouseover

caught segfault - 'memory not mapped' error in R

Better way to filter a data frame with dplyr using OR?

R shiny mainPanel display style and font

listing contents of an R data file without loading

Is there a way of getting “marginal effects” from a `glmer` object

Is it possible to stop executing of R code inside shiny (without stopping the shiny process)?

Parallelized optimization in R

Code folding in RStudio: Creating hierarchy in the code

In R, is it possible to overlay 2 colours in a plot to make a 3rd (e.g. with additive or subtractive colour mixing)

Wrapping shiny modules in R6 classes

Real-time audio analysis with R

Color one point and add an annotation in ggplot2?

How do you clear the R console in OS X (or Ubuntu)

How to export a csv in utf-8 format?

Replace characters using gsub, how to create a function?

Aggregate (count) rows that match a condition, group by unique values

Extracting outputs from lapply to a dataframe

Finding elements that do not overlap between two vectors

Delete a column in a data frame within a list

Cast function argument as a character string?

dplyr count non-NA value in group by

How to convert r data frame to h2o object

R: Remove multiple empty columns of character variables

Extract all numbers from a single string in R

Output error/warning log (txt file) when running R script under command line

Collapse consecutive runs of numbers to a string of ranges

R extract part of string

Creating a Pareto Chart with ggplot2 and R

How to change font size of the correlation coefficient in corrplot?

Collapse text by group in data frame

How to add braces to a graph?

geom_bar define border color with different fill colors

How to implement a cleanup routine in R Shiny?

horizontal dendrogram in R with labels

Clip values between a minimum and maximum allowed value in R

Expand ranges defined by “from” and “to” columns

How can I make the output from tapply() into a data.frame

Unable to change python path in reticulate (R)

Fast replacing values in dataframe in R

How to plot a normal distribution by labeling specific parts of the x-axis?

How to implement R's p.adjust in Python

Create new column with dplyr mutate and substring of existing column

dplyr, lubridate : how to aggregate a dataframe by week?

How to change warning setting?

Boxed geom_text with ggplot2

how to read.jpeg in R 2.15

how to get value when a variable name is passed as a string

How can I determine the current directory name in R?

When importing CSV into R how to generate column with name of the CSV?

knitr displaying digits of an integer without scientific notation

R grep: is there an AND operator?

R: how to rbind two huge data-frames without running out of memory

Error: zipping up workbook failed when trying to write.xlsx

dredge function error - R package MuMln

Mean by factor by level

How to force a y axis to minimum and maximum range in R?

list of word frequencies using R

Remove a particular group of elements in a vector?

Side by side horizontal legends in in ggplot2

In R, how can I access the first element of each level of a factor?

Locate index of rows in a dataframe that have the value of NA

Questions about set.seed() in R

“plot.new has not been called yet” error in rmarkdown (Rstudio 1.0.44)

Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg 1)

Using Stata Variable Labels in R

Modify package function

How to change x-axis tick label names, order and boxplot colour using R ggplot?

How to make a vector using a for loop

How can I remove repeated characters in a string with R?

change time locale for R

R split numeric vector at position

ggplot2 make legend key fill transparent

How to control new variables' names after tidyr's spread?

How to always display 3 decimal places in DataTables in R Shiny?

Rcpp Rcpp.package.skeleton(“mypackage”) “rcpp_hello_world” not available for .Call() for package “mypackage”

Saving plot as pdf and simultaneously display it in the window (x11)

How to remove duplicated rows by a column in an R matrix

Plot over multiple pages

Extract second subelement of every element in a list while ignoring NA's in sapply in R

R subsetting a data frame into multiple data frames based on multiple column values

`as.na` function

Show columns with NAs in a data.frame

create boxplots with transparent colour ggplot2

How to insert an element in the middle of a list?

How to convert time (mm:ss) to decimal form in R

ggplot2: How to use same colors in different plots for same factor

How to replace numeric dates with month names for a column in R

Renumbering rows after ordering in R programme

Adding named item to named list - guaranteed to append to end of list?

“non-stationary seasonal AR part from CSS” error in R

Create all combinations of letter substitution in string

Long Numbers As A Character String

Changing tick intervals when x axis values are dates

replace a list of values by another in R

use dplyr's summarise_each to return one row per function?

Fill region between two loess-smoothed lines in R with ggplot

Combining multiple complex plots as panels in a single figure

R: Convert factor column to multiple boolean columns

Add pch symbol in R plot legend

R graphs: Creating Tufte's horizontal bar lines

Reading text files using read.table

How do I summarise only part of a table?

R: plotting decision tree labels leaves text cut off

Plot percentages on y-axis

plotting ROC in R with ROCR vs pROC

Equation-driven smoothly shaded concentric shapes

Way to “free-hand” draw shapes in shiny?

r markdown - format text in code chunk with new lines

Generate matrix with iid normal random variables using R

How to obtain a position of last non-zero element

Complicated summary function — is it possible to solve with R data.table package?

Plotting Simple Data in R

How to get the cumulative sum by group in R?

How do you code an R function so that it 'knows' to look in 'data' for the variables in other arguments?

Next with Revolution R's foreach package?

Iterate over key/value pair from a list()

How to properly document S4 “[” and “[<-“ methods using roxygen?

In a `facet_wrap`ed grid, center subplots at 0 while keeping `free_x`

ggplot inserting space before degree symbol on axis label

expression + variable value + normal text in plot maintitle

Applying a function to each row of a data.table

R - problem with foreach %dopar% inside function called by optim

Exuberant Ctags with R

How do I modify an existing a sheet in an Excel Workbook using Openxlsx package in R?

Convert date time to a formatted time string

Is it possible to host interactive R Markdown files on Github Pages?

R testthat unit test data and helper function conventions

Emacs ESS version of Clear Console

How do I make my axis ticks face Inwards in ggplot2

Update graph/plot with fixed interval of time

Avoiding the infamous “eval(parse())” construct

ggplot2: color individual words in title to match colors of groups

ggplot2: geom_text resize with the plot and force/fit text within geom_bar

set “space” in facet_wrap like in facet_grid

How do I do a negative / nomatch / inverse search in data.table?

R, deep vs. shallow copies, pass by reference

R - Common title and legend for combined plots

Fixing maps library data for Pacific centred (0°-360° longitude) display

How to align an ordinary ggplot with a faceted one in cowplot?

How to write files with Unix end of lines on R for Windows

In R, dealing with Error: ggplot2 doesn't know how to deal with data of class numeric

How can I do a spatial join with the sf package using st_join()

RStudio not picking the encoding I'm telling it to use when reading a file

Load a dataset into R with data() using a variable instead of the dataset name

Force X axis text on for all facets of a facet_grid plot

How to change the figure caption format in bookdown

clear memory allocated by R session (gc() doesnt help !)

What does “/” mean in R when writing a regression formula in lm()

Run a system command as sudo from R?

Make R's View() open in a new window automatically

How to get geom_smooth() ignore my colour grouping

How can I fix column breaks in an Rmarkdown / ioslides presentation

create a formula in a data.table environment in R

Data Table merge based on date ranges

Repo from RStudio to Github

Use sendmailR with Windows

What is the difference between finish and continue in browser()?

How to join multiple data frames using dplyr?

R + Org-mode: how to avoid naming plot files?

Simplifying a POSIX node with RJSONIO::fromJSON()

Working with knitr using subdirectories

Changing Tor identity in R

How to enforce ggplot's position_dodge on categories with no data?

Alternative function to paste

Repeating a repeated sequence

Sum every nth points

Using dplyr to conditionally replace values in a column

Change colours of particular bars in a bar chart

Measures of association in R — Kendall's tau-b and tau-c

Exclude Blank and NA in R

Labeling Outliers of Boxplots in R

Convert letters to numbers

Count values separated by a comma in a character string

How to setup environment variable R_user to use rpy2 in python

ggplot2: Splitting facet/strip text into two lines

cbind() is changing date formatting

Deleting every n-th row in a dataframe

Replace all NA with FALSE in selected columns in R

How to generate a matrix of combinations

What's wrong with my function to load multiple .csv files into single dataframe in R using rbind?

Replacing commas and dots in R

match.call with default arguments

How to find the difference in value in every two consecutive rows in R?

How to fill NAs with LOCF by factors in data frame, split by country

Calculate the number of weekdays between 2 dates in R

Joining aggregated values back to the original data frame

Add column sum to table

Colorize Clusters in Dendogram with ggplot2

How to display the frequency at the top of each factor in a barplot in R

Add named vector to a list

Define size for .gif created by gganimate - change dimension / resolution

Adding a column of means by group to original data

More efficient R / Sweave / TeXShop work-flow?

How to insert plain picture (jpeg / png) from chunk with knitr

dplyr “Select” - Error: found duplicated column name

plyr or dplyr in Python

Add missing value in column with value from row above

Numbers as column names of data frames

How to change multiple Date formats in same column?

R logistic regression area under curve

setting upper and lower limits in rnorm

Complicated reshaping

How do I add the mean value to a histogram in R?

R: How to replace . in a string?

show source code for function in R

How does dplyr’s between work?

Convert ggplot object to plotly in shiny application

R: Convert hours:minutes:seconds

How to perform random forest/cross validation in R

Size of labels for x-axis and y-axis ggplot in R

How to replace NA with mean by group / subset?

Converting rows into columns and columns into rows using R

compute all pairwise differences within a vector in R

change color of only one bar in ggplot

Getting a map with points, using ggmap and ggplot2

Colorbar from custom colorRampPalette

Extract vectors from strsplit list without using a loop

Knitr ignoring fig.pos?

Convert week number to date

Creating a summary statistical table from a data frame

How to assign values to dynamic names variables

Best way to use R in Ruby

Recode categorical factor with N categories into N binary columns

How to merge all elements of list in R?

Sample from vector of varying length (including 1)

How to use cast on a data frame?

R: read.csv adding sub-script “X” in header

read.csv vs. read.table

ggplot 2 facet_grid “free_y” but forcing Y axis to be rounded to nearest whole number

How can I plot my R Squared value on my scatterplot using R?

dplyr: Generate row number/row position in group_by

How to fix OutOfMemoryError (Java): GC overhead limit exceeded in r?

Force mapply to return a list?

How to reorder the items in a legend?

Preserve proportion of graphs using grid.arrange

Merge data frames and overwrite values

Setting hex bins in ggplot2 to same size

How to draw a line or add a text outside of the plot area in R?

do.call in combination with “::”

Strategies for reading in CSV files in pieces?

Importing wikipedia tables in R

How to edit and debug R library sources

How do you create a gradient of colors for a discrete variable in ggplot2?

ggplot2: geom_text() with facet_grid()?

How to capture R text+image output into one file (html, doc, pdf etc)?

Output a vector in R in the same format used for inputting it into R

How to get index in a loop in R

How to set unique row and column names of a matrix when its dimension is unknown?

ggplot group by one categorical variable and color by a second one

Match values in data frame with values in another data frame and replace former with a corresponding pattern from the other data frame

In R, how can I check if two variable names reference the same underlying object?

Left justify text from multi-line facet labels

diff operation within a group, after a dplyr::group_by()

How to make all interactions before using glmnet

ggplot2: Different legend symbols for points and lines

How to use testthat expect_error() correctly?

LDA with topicmodels, how can I see which topics different documents belong to?

How do I get all the output from script I am running in RStudio

In R, is it possible to save the current workspace without quitting?

knitr: getting a parse_all error in R when converting Rmd file into HTML

Inserting a page break within a code chunk in rmarkdown (converting to pdf)

Dplyr - Mean for multiple columns

how to convert date and time from character to datetime type

Is it possible to use non-imported packages in a package vignette?

get filename and path of `source`d file

Warning when defining factor: duplicated levels in factors are deprecated

Box plot with min, max, average and standard deviation

Pivot on data.table similar to rehape melt function

How to export proper TSV?

Combining Bar and Line chart (double axis) in ggplot2

How to quickly export data from R to SQL Server

R package xtable, how to create a latextable with multiple rows and columns from R

Print the current random seed so that I can enter it with set.seed() later

R-regex: match strings not beginning with a pattern

Capture both exit status and output from a system call in R

How To Create Vector of Vector In R

which.max ties method in R

why does knitr caching fail for data.table `:=`?

R 2.14 - detect packages without namespace

Names of R's available packages

Append empty row to a dataframe

Write R data as csv directly to s3

R: use min() within dplyr::mutate()

Venn Diagram with Item labels

Print character string without indices in R

Why is `unlist(lapply)` faster than `sapply`?

Display the x-axis on ggplot as month only in R

Legends in barplot not appearing properly

Automatically create formulas for all possible linear models

arrange() not working on grouped data frame

R how to change one of the level to NA

Reduce cell width and font size of table using pandoc.table()

stat_contour with data labels on lines

How do I handle multiple kinds of missingness in R?

Using summarise with weighted mean from dplyr in R

Read Excel file from a URL using the readxl package

Regression tables in Markdown format (for flexible use in R Markdown v2)

How can I put a transformed scale on the right side of a ggplot2?

I get error “Error in nnet.default(x, y, w, …) : too many (77031) weights” while training neural networks

how to add layers in ggplot using a for-loop

Join R data.tables where key values are not exactly equal--combine rows with closest times

Reorder factor levels by day of the week in R

Wrapper to FOR loops with progress bar

Using R cut function on dates

Send a text message from R

How can I reorder the rows of a matrix, data.frame or vector according to another one

How to add ggproto objects together and save for later without call to ggplot()?

Get first value that matches condition (loop too slow)

How to stop running shiny app by closing the browser window?

Run VBA script from R

Update subset of data.table based on join

Using annotate to add different annotations to different facets

Using Next in a Control Flow

How do you sink input and output to a text file in R?

What is the R assignment operator := for?

Functions inside aes

Real cube root of a negative number

Cartesian Product using data.table package

asymmetric color distribution in scale_gradient2?

Arrange ggplot facets in the shape of the US

Colour for R code chunk in listings package

Plotting bar charts on map using ggplot2?

Adding a line break to code blocks in R Markdown

geom_smooth in ggplot2 not working/showing up

Remove the rows that have non-numeric characters in one column in R

How do I calculate the probability for a given quantile in R?

How to change current Plot Window Size (in R)

Non standard evaluation from another function in R

A function that returns TRUE on NA, NULL, NaN in R?

data.table: using setkey with a column name variable

Is there a package for object-relational mapping in R?

Permute all unique enumerations of a vector in R

Adding a footnote / thanks to Rmarkdown title slide

How can I force cv.glmnet not to drop one specific variable?

Type parameter of the predict() function

stat_contour not able to generate contour lines

Natural way to represent hash tables/dictionaries/maps in R

Find and break on repeated runs

Fix typography in axis labels

How to delete a row from a data.frame without losing the attributes

How can I make my vertical labels fit within my plotting window?

How achieve identical facet sizes and scales in several multi-facet ggplot2 graphics?

Adding multiple shadows/rectangles to ggplot2 graph

Why does facet_grid work, but not facet_wrap?

specify dplyr column names

Using “…” and “replicate”

Fastest way to extract date from date time in R

Calculate days since last event in R

Sourcing an R script from github, for global session use, from within a wrapper function?

Accessing Excel file from Sharepoint with R

Installing R on RHEL 6

R idiom for switch/case

Sending in Column Name to ddply from Function

ggplot2 geom_smooth, extended model for method=lm

Do not open RStudio internal browser after knitting

NAs are not allowed in subscripted assignments

Reactive object bindings in a non-shiny context

ggplot2 multiple scales/legends per aesthetic, revisited

Defunct as of rlang 0.3.0 and mutate_impl

R - How to make a click on webpage using rvest or rcurl

Performing dplyr mutate on subset of columns

findInterval() with right-closed intervals

Detecting geographic clusters

How to avoid date formatted values getting converted to numeric when assigned to a matrix or data frame?

Including an image using roxygen documentation

How to show only part of the plot area of polar ggplot with facet?

R: optimization based on historical data

R: add calibrated axes to PCA biplot in ggplot2

deparse(substitute(x)) in lapply?

gradient shaded confidence interval

Using renderDataTable within renderUi in Shiny

Replace NA with Zero in dplyr without using list()

Consecutive/Rolling sums in a vector in R

Generate a list of primes up to a certain number

Extract string between /

data.table alternative for dplyr case_when

How to number/label data-table by group-number from group_by?

ggplot, facet, piechart: placing text in the middle of pie chart slices

Remove NA/NaN/Inf in a matrix

Is there a way to convert mm:ss.00 to seconds.00?

Remove specific rows from a data frame

ggplot replace count with percentage in geom_bar

Extract string before “|”

How to find common rows between two dataframe in R?

Functions available for Tufte boxplots in R?

In R, What is the difference between df[“x”] and df$x

How does predict.lm() compute confidence interval and prediction interval?

RStudio suddenly stopped showing plots in the plot pane

How to extract everything until first occurrence of pattern

Fill in data frame with values from rows above

How to rename selected columns using dplyr with new column names as strings

Convert and save distance matrix to a specific format

How to create base R plot 'type = b' equivalent in ggplot2?

seq() for POSIXct

Use filter in dplyr conditional on an if statement in R

Three dimensional array to list

remove data greater than 95th percentile in data frame

How do I combine aes() and aes_string() options

lib unspecified & Error in loadNamespace

Using 'rvest' to extract links

Position ggplot text in each corner

Fast linear regression by group

How do I use the lubridate package to calculate the number of months between two date vectors where one of the vectors has NA values?

Regex return file name, remove path and file extension

Using nnet for prediction, am i doing it right?

R Shiny: user authentication for a single app.R

Transposing in dplyr

Hollow histogram or binning for geom_step

How to change the resolution of a raster layer in R

Adding prefix or suffix to most data.frame variable names in piped R workflow

Sort data frame column by factor

Make bold text in HTML output R shiny

How to find Previous Sunday in R

Using legend with stat_function in ggplot2

Critical t values in R

how to reduce space gap between multiple graphs in R

R remove non-alphanumeric symbols from a string

apply over matrix by column - any way to get column name?

Have lubridate subtraction return only a numeric value

Adding stat_smooth in to only 1 facet in ggplot2

Get current time in milliseconds

R Scatter Plot: symbol color represents number of overlapping points

Put multiple data frames into list (smart way)

Idiomatic R code for partitioning a vector by an index and performing an operation on that partition

Subset a data frame using OR when the column contains a factor

reading csv files over ssl with R

R: How to split a data frame into training, validation, and test sets?

Controlling table width in Shiny dataTableOutput

Increase plot size (width) in ggplot2

Clipping raster using shapefile in R, but keeping the geometry of the shapefile

How can I turn an R data frame into a simple, unstyled html table?

Calculate row-wise proportions

What does the integer while setting the seed mean?

Get Map with specified boundary coordinates

Summing lots of Vectors; row-wise or elementwise, but ignoring NA values

R- plot numbers instead of points

Indicating the statistically significant difference in bar graph USING R

ggplot centered names on a map

Extract date elements from POSIXlt and put into data frame in R

“Error in plot.new() : figure margins too large”

How to change name of factor levels?

do.call(rbind, list) for uneven number of column

Use ls() or objects() to get objects of class data.frame

How to convert variable with mixed date formats to one format?

R ggplot transparency - alpha values conditional on other variable

Plot two Graphs on Same Chart R, ggplot2 par(mfrow())

Multiple plots using loops in R

R Shiny: Removing ggplot2 background to make it transparent

how to implement F#'s forward pipe operator in R?

changing font size in R DataTables (DT)

shiny fluidrow column white space

How to add shaded confidence intervals to line plot with specified values

Logistic regression - defining reference level in R

Closest date in a vector to a given date

how to call python script from R with arguments

Summing across rows of a data.table for specific columns

Randomly sample a percentage of rows within a data frame

ggplot2: Put multi-variable facet_wrap labels on one line

ggplot2 line plot order

Reading 40 GB csv file into R using bigmemory

How should I split and retain elements using strsplit?

How to create a facet in ggplot, except with different variables

dplyr::select() with some variables that may not exist in the data frame?

Reshape multiple values at once

Subsetting a matrix by row.names

ACF Plot with ggplot2: Setting width of geom_bar

How to select data that have complete cases of a certain column?

Matching up two vectors in R

Fastest way to find *the index* of the second (third…) highest/lowest value in vector or column

R Shiny: Handle Action Buttons in Data Table

How to manipulate NULL elements in a nested list?

Override rmarkdown theme in order to change html page width

dplyr summarise multiple columns using t.test

How to find the largest N elements in a list in R?

Change the color of the axis labels

Calling library() in R with a variable as the argument

Static Variables in R

in dplyr select with a drop does not work

How to save a data frame in a txt or excel file separated by columns

Excluding columns from a dataframe based on column sums

calling R script from java

Select multiple rows conditioning on ID in R

Using the Tufte-Latex class in Sweave

How to change the units of difftime after computing the values, and not using units=“xxx” when performing the calculations

Sum of antidiagonal of a matrix

ggplot2: Define plot layout with grid.arrange() as argument of do.call()

Removing attributes of columns in data.frames on multilevel lists in R

Side by Side histograms in the Same Graph in R?

Select column 2 to last column in R

Using column numbers not names in lm()