It worked fine for me without using much memory. Take a look at you
statements and you will see that you are missing a comma on the dimensions:
> n <- 58000
> max_out <- data.frame(Lat=runif(n), Long=runif(n), Model=sample(1:12, n
,TRUE),
+ Obs=sample(1:12, n, TRUE))
> str(max_out)
'data.fram
Dear R Users,
I have a data frame of 4 columns and ~58000 rows, the top of which looks like
this:
> head(max_out)
Latitude Longitude Model Obs
1-0.25-49.25 4 4
2-0.25-50.25 4 5
3-0.25-50.75 4 4
4-0.25-51.25 311
5-0.25-5
2 matches
Mail list logo