HI, Try: x1 <- (1:100)^2 A.K. Hi I am newbie of using R. Please help me create vector x(1^2, 2^2, 3^2,....,100^2) in R. Thanks you I am looking forward to see your reply soon, Best wish Andrew,