r r 3,231

  1. How to make a great R reproducible 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. Remove rows with NAs (missing values) in data.frame
  7. How can we make xkcd style graphs?
  8. data.table vs dplyr: can one do something well the other can't or does poorly?
  9. What are the differences between “=” and “<-” in R?
  10. How do I replace NA values with zeros in an R dataframe?
  11. How to convert a factor to integer\numeric without loss of information?
  12. Rotating and spacing axis labels in ggplot2
  13. What statistics should a programmer (or computer scientist) know?
  14. Tricks to manage the available memory in an R session
  15. Plot two graphs in same plot in R
  16. Quickly reading very large tables as dataframes in R
  17. What is the difference between require() and library()?
  18. Drop factor levels in a subsetted data frame
  19. The difference between [] and [[]] notations for accessing the elements of a list or dataframe
  20. How can I view the source code for a function?
  21. test 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. How should I deal with “package 'xxx' is not available (for R version x.y.z)” warning?
  26. Why is `[` better than `subset`?
  27. Create an empty data.frame
  28. Run R script from command line
  29. Counting the number of elements with the values of x in a vector
  30. Is there a built-in function for finding the mode?
  31. How to trim leading and trailing whitespace in R?
  32. How to properly document S4 class slots using Roxygen2?
  33. How do I install an R package from source?
  34. How can 2 strings be concatenated?
  35. How to Correctly Use Lists in R?
  36. How to find the length of a string in R?
  37. Changing column names of a data frame
  38. Check existence of directory and create if doesn't exist


  39. How to set limits for axes in ggplot2 R plots?
  40. How to find out which package version is loaded in R?
  41. Tools for making latex tables in R
  42. Convert data.frame columns from factors to characters
  43. How can I read command line parameters from an R script?
  44. Extracting specific columns from a data frame
  45. Write lines of text to a file in R
  46. Expert R users, what's in your .Rprofile?
  47. How to save a plot as image on the disk?
  48. Function to clear the console in R and RStudio
  49. Adding leading zeros using R
  50. Side-by-side plots with ggplot2