cat("\014")
is the code to send CTRL+L to the console, and therefore will clear the screen.
Far better than just sending a whole lot of returns.
More Related Contents:
- Extract month and year from a zoo::yearmon object
- How do I combine two data-frames based on two columns? [duplicate]
- Unique on a dataframe with only selected columns
- Subsetting R data frame results in mysterious NA rows
- Finding percentage in a sub-group using group_by and summarise
- Count NAs per row in dataframe [duplicate]
- How to install development version of R packages github repository
- Read a UTF-8 text file with BOM
- How to GeoCode a simple address using Data Science Toolbox
- R Shiny REST API communication
- ggplot – Multiple legends arrangement
- calculating mean for every n values from a vector
- Extract string before “|” [duplicate]
- How do I copy and paste data into R from the clipboard?
- How to install a package from a download zip file
- How `poly()` generates orthogonal polynomials? How to understand the “coefs” returned?
- Loading many files at once?
- R – Group by variable and then assign a unique ID [duplicate]
- How I can select rows from a dataframe that do not match?
- Remove facet_wrap labels completely
- R: sample() command subject to a constraint
- R command line passing a filename to script in arguments (Windows)
- Calculate percentage of each category in each group in R [duplicate]
- The perils of aligning plots in ggplot
- How to create a new variable in a data.frame based on a condition?
- Using R to read out excel-colorinfo
- Existing function for seeing if a row exists in a data frame?
- how to plot ellipse given a general equation in R?
- What does the %% operator mean in R? [closed]
- Interpolating timeseries