Another approach might be to make the path to the file an object and then call the object. I find this approach handy as most of my errors seem to be typos or issues with the file path.
data1 <- "~/Desktop/Big Data and Marketing Intelligence/Semana 1/src/dat/transacciones.csv"
read.csv(data1, header = TRUE, sep = “;”, dec = “,”, stringsAsFactors = FALSE)
str(data1)
You could also try out the readr package, which has the read_csv function to read in CSV files without the need to include stringsAsFactors = FALSE, and with some other nice data scrutiny bells and whistles.
Sorry @IgorAzkune, it is never fun when you cannot get your data into R. I have made an attempt to replicate your example on my Mac with no issues, so I am not sure why you are getting the error. If it were me, I would try and debug by simplifying the path (e.g.move the file at least temporarily) and/or seeing if you can access a different CSV from the same location and so on.