title: Raster Projection to UTM to Lat-Lon in R
body: <p>I am a beginner in R. I have a <code>rasterlayer</code> and I want to change its coordinate reference system (from UTM to lan-lot). I have used the following code:</p>
  
  <pre><code>r &lt;-projectRaster(from = tiff,
     crs=crs("+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0"))
  </code></pre>
  
  <p>(Here tiff is the <code>rasterlayer</code> to be reprojected)</p>
  
  <p>But  I am getting an error</p>
  
  <blockquote>
    <p>"Error: cannot allocate vector of size 439.0 Mb"</p>
  </blockquote>
  
  <p>Someone, please provide a solution</p>