[R] clip a raster according to a shape file in R.

2017-05-02 Thread M.M saifuddin
I have a grid data which has values of a variable (e.g: Temperature). My data has 6069 data points where each data point refers to different latitude and longitude. I want to transform this data to a raster file so that I can clip it according to a shapefile that has much smaller boundaries than

[R] help on readBin in R

2017-04-16 Thread M.M saifuddin
I need to view the attached binary file. but can not read it, instead am getting very weird( i think garbage) numbers. The values are Temperature data so it should be somewhat in between 250 to 500. Can any altruist view it and give me the R code to view it. I am attaching the file. Please