You have to escape the \
since it is itself an escape character.
read.table('C:\\xxx\\classes\\R_Prog\\specdata\\data.csv') head(data) }
More Related Contents:
- Finding ALL duplicate rows, including “elements with smaller subscripts”
- Position geom_text on dodged barplot
- How to assign from a function which returns more than one value?
- Converting year and month (“yyyy-mm” format) to a date?
- Save multiple ggplots using a for loop
- Plotting contours on an irregular grid
- How to merge color, line style and shape legends in ggplot
- Horizontal/Vertical Line in plotly
- How to change the default time zone in R?
- Adding a new column to each element in a list of tables or data frames
- Controlling the order of points in ggplot2?
- Plotting bar charts on map using ggplot2?
- Why am I getting X. in my column names when reading a data frame?
- Can I replace NAs when joining two data frames with dplyr?
- Cumulative sum until maximum reached, then repeat from zero in the next row
- remove all line breaks (enter symbols) from the string using R
- Consolidate duplicate rows
- Error in loadNamespace(name) : there is no package called ‘Rcpp’
- RStudio not picking the encoding I’m telling it to use when reading a file
- Is there a dictionary functionality in R
- R: lm() result differs when using `weights` argument and when using manually reweighted data
- Set the plot title to wrap around and shrink the text to fit the plot
- Converting unit abbreviations to numbers
- How to update a package in R?
- R: eval(parse(…)) is often suboptimal
- “replace” function examples
- removing all the space between two ggplots combined with grid.arrange
- 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'”
- Finding where two linear fits intersect in R