no data loaded file magic number

Hello,
I have problem in loading csv file in Rstudio,
How can i solve it ?
I got this message :

Error in load("C:/Users/n.bahedi/Desktop/VAR3.csv") :
bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file ‘VAR3.csv’ has magic number 'produ'
Use of save versions prior to 2 is deprecated

load() is to be used with .rda files, not .csv files. Use read.csv() instead.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.