Try
rownames(Ordersample2) <- 1:10
or more generally
rownames(Ordersample2) <- NULL
More Related Contents:
- Calculate the mean of one column from several CSV files
- Reset par to the default values at startup
- “replace” function examples
- Plot a heart in R [duplicate]
- Implementation of standard recycling rules
- removing all the space between two ggplots combined with grid.arrange
- element-wise concatenation of string vectors [duplicate]
- Source script to separate environment in R, not the global environment
- Annotate values above bars (ggplot faceted)
- Avoid Scientific notation in cut function in R
- R: replacing NAs in a data.frame with values in the same position in another dataframe
- How do I best simulate an arbitrary univariate random variate using its probability function?
- how to download and display an image from an URL in R?
- How do I create a new column based on multiple conditions from multiple columns?
- Get name of dataframe passed through pipe in R
- Add a new column between other dataframe columns [duplicate]
- Rcpp warning: “directory not found for option ‘-L/usr/local/Cellar/gfortran/4.8.2/gfortran'”
- Index unique values in data.table
- Finding where two linear fits intersect in R
- R dplyr join on range of dates [duplicate]
- Move NAs to the end of each column in a data frame
- Extend an irregular sequence and add zeros to missing values
- Find matching strings between two vectors in R
- resetting cumsum if value goes to negative in r
- Convert roman numerals to numbers in R
- Generating Multiple Plots in ggplot by Factor
- How to manually change text color of ggplot2 legend in R?
- Too few periods for decompose() [closed]
- In R, what does a negative index do?
- Extract characters that differ between two strings