r 1653

  1. How to make a great R reproducible example? aka MCVE (Minimal, Complete, and Verifiable Example)
  2. How to sort a dataframe by column(s)?
  3. Grouping functions (tapply, by, aggregate) and the *apply family
  4. How to join (merge) data frames (inner, outer, left, right)?
  5. Drop data frame columns by name
  6. How can we make xkcd style graphs?
  7. Remove rows with NAs (missing values) in data.frame
  8. data.table vs dplyr: can one do something well the other can't or does poorly?
  9. Assignment operators in R: '=' and '<-'
  10. How do I replace NA values with zeros in an R dataframe?
  11. What statistics should a programmer (or computer scientist) know?
  12. Tricks to manage the available memory in an R session
  13. Plot two graphs in same plot in R
  14. Quickly reading very large tables as dataframes in R
  15. Rotating and spacing axis labels in ggplot2
  16. How to convert a factor to an integer\numeric without a loss of information?
  17. Drop factor levels in a subsetted data frame
  18. What is the difference between require() and library()?
  19. How can I view the source code for a function?
  20. The difference between [] and [[]] notations for accessing the elements of a list or dataframe
  21. R function for testing if a vector contains a given element
  22. How to unload a package without restarting R?
  23. R list to data frame
  24. Cluster analysis in R: determine the optimal number of clusters
  25. Why is `[` better than `subset`?
  26. How should I deal with “package 'xxx' is not available (for R version x.y.z)” warning?
  27. Create an empty data.frame
  28. Run R script from command line
  29. How to properly document S4 class slots using Roxygen2?
  30. How do I install an R package from source?
  31. How to trim leading and trailing whitespace in R?
  32. How to Correctly Use Lists in R?
  33. Counting the number of elements with the values of x in a vector
  34. Is there a built-in function for finding the mode?
  35. How can 2 strings be concatenated?
  36. How to find the length of a string in R?
  37. Tools for making latex tables in R
  38. How can I read command line parameters from an R script?
  39. Expert R users, what's in your .Rprofile?
  40. Convert data.frame columns from factors to characters
  41. Check existence of directory and create if doesn't exist
  42. Changing column names of a data frame
  43. How to set limits for axes in ggplot2 R plots?
  44. How to find out which package version is loaded in R?
  45. Extracting specific columns from a data frame
  46. Write lines of text to a file in R
  47. How to save a plot as image on the disk?
  48. Function to Clear the Console in R
  49. Adding leading zeros using R
  50. Side-by-side plots with ggplot2