y <- rnorm(mean=0,sd=2,n=100)A few procedures can produce summary"statistics, 5-points summary, stem-and-leaf plot and histograms.
summary(y)
fivenum(y)
stem(y)
hist(y)
x <- seq(-3,3, by=.2)For other common pdf's and pmf's, you are referred to probability distributions section (p 34--36) on An introduction to R is available online in Rgui window or at Reference Desk.
y<- dnorm(x,mean=0,sd=1)
plot(x,y)