Your CSV might be encoded in UTF-16. This isn’t uncommon when working with some Windows-based tools.
You can try loading a UTF-16 CSV like this:
read.csv("mycsv.csv", ..., fileEncoding="UTF-16LE")
More Related Contents:
- Several questions on ggplot2 [closed]
- Error in if/while (condition) {: missing Value where TRUE/FALSE needed
- Interpreting “condition has length > 1” warning from `if` function
- How to change legend title in ggplot
- Explicitly calling return in a function or not
- Importing Excel files into R, xlsx or xls
- Remove part of a string
- How to use objects from global environment in Rstudio Markdown
- Reading multiple files and calculating mean based on user input
- Converting a data frame to xts
- Interpolate NA values in a data frame with na.approx
- ggplot2 heatmaps: using different gradients for categories
- RcppArmadillo pass user-defined function
- Different legends and fill colours for facetted ggplot?
- Make Frequency Histogram for Factor Variables
- How to change type of target column when doing := by group in a data.table in R?
- Randomly insert NAs into dataframe proportionaly
- Can dplyr join on multiple columns or composite key?
- R color scatter plot points based on values
- What is the difference between = and == in R?
- Remove all punctuation except apostrophes in R
- How to make variable bar widths in ggplot2 not overlap or gap
- R: Select values from data table in range
- How to upgrade R in linux?
- How to group by two columns in R
- How do I close unused connections after read_html in R
- different colors for each bar in stacked bar graph – base graphics
- consolidating data frames in R
- How to calculate adjacency matrices in R
- Removing Unused Factors from a Facet in ggplot2