Displaying 1 result from an estimated 1 matches for "r_dfile".
Did you mean:
rdfile
2011 Oct 17
3
Importing all observations and variables from csv file into dataframe
...rsion) of data as a “.csv” file. However, the file still appears in column format when I open it. Does that happen when you save a an Excel file in .csv format? I have used the function file.choose() to pull in the file into R. When I use the summary command I get:
summary("C:\\Documents\\R_dfiles\\H_N_T.csv",header=TRUE,as.is=TRUE)
Length Class Mode
1 character character
But the data table actually has five columns and 1000 rows (example of first two lines):
OBJECTID X Y elev HB_NHB
1 265712.1 90770.42 7.6372 0
When I look at the .csv file, I see...