Code Sample |
> library(foreign) Error in library(foreign) : There is no package called 'foreign' |
Code Sample |
> library() Packages in library '/opt/R/lib/R/library': base The R Base Package datasets The R Datasets Package grDevices The R Graphics Devices and Support for Colours and Fonts graphics The R Graphics Package grid The Grid Graphics Package methods Formal Methods and Classes splines Regression Spline Functions and Classes stats The R Stats Package stats4 Statistical functions using S4 classes tcltk Tcl/Tk Interface tools Tools for Package Development utils The R Utils Package (END) |
Code Sample |
x = 1:20 x y = 3*x^2 plot(x,y) rr = c(1,2,3,3,3,5) mean(rr) mode(rr) demo(graphics) q() |