Dear All,
I have a file the sample of which is attached. I was trying to read the
data and put it in a data frame. For example in this file, I have 1998 snow
depth data and each block of data belongs to one month.Each data point
belongs to a given latitude and longitude (which is in another
Here is an example of how you might do it:
# read in all the data so you can break it apart.
# it looks like there is head and then 17 lines of data
data_in -
readLines(C:\\Users\\jh52822\\Downloads\\analysis_mly_avg_1998.txt)
indx - 1L # start at the first line
all_data - NULL
while
2 matches
Mail list logo