im a newbie and im trying to get to work with Rstudio for my thesis and i can not import my .csv file to R. i tried this code but it didnt work
dok<-read.csv("data_preprocessing_test1a.csv" , header = TRUE, stringsAsFactors = TRUE, sep = ",", fileEncoding = "UTF-16LE", dec = ".")
and the following error
Warning messages: 1: In read.table(file = file, header = header, sep = sep, quote = quote, : invalid input found on input connection 'data_preprocessing_test1a.csv' 2: In read.table(file = file, header = header, sep = sep, quote = quote, : incomplete final line found by readTableHeader on 'data_preprocessing_test1a.csv'
i hope everybody can help, thank you in advance!