I have a .csv file generated by R on a Mac. I'd like to import the dataset into SAS in Windows XP. Note that there are many missing values in my .csv file (NA's). How could I import the dataset into SAS without them? I'd like SAS to change all NA's automatically to ".", but it is often difficult even to get Mac-generated .csv files into SAS 9.3 at all.
I tried "write.dbf()" from the foreign library and I generated a .dbf file but unfortunately, SAS DBMS does not know .dbf.
TERMSTR=CR
to your INFILE statement. – BellevueBob