[R] Inputting Co-ordinates

Louise Cox l.cox at geography.bbk.ac.uk
Wed May 8 17:53:24 CEST 2002


Hello

I am trying to input some co-ordinate sets into R of the form x,y by using
lists.  The command I am using is:

p1 <- list(x=c(3445,563,646), y=c(234,567,456))

However the actual co-ordinate sets that I am trying to input have 305
points each and I think that the program will not accept a command that is
as long as necessary.  Is this so?  If this is the case can you tell me how
to read the points in as a table but so that I can call on them as being p1,
later in the program?

Many Thanks
Louise

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list