I have a big latitude longitude information from the UTM-zone 33 north.
I tried the following commands to convert this geographical information to UTM coordinates (my data set object is initially called S3km):
library(rgdal)
UTM33N<-"+proj=utm+zone=33+north"
UTM33N<-paste(UTM33N,"+ellps=WGS84",sep="")
UTM33N<-paste(UTM33N,"+datum=WGS84",sep="")
UTM33N<-paste(UTM33N,"+units=m+no_defs",sep="")
coord.UTM33N<-project(as.matrix(S3km[,c("Longitude","Latitude")]),UTM33N)
I got the following error message:
Error in project(as.matrix(S3km[,c("Longitude","Latitude")]),UTM33N):
no arguments in initialization list.
Does anyone know what is the problem? I have the newest R-version downloaded (i.e. R 2.15.2) and rgdal
-package is also freshly downloaded.