Friday, December 5, 2014

Install Packages in R

1. Use command

 > install.packages("KernSmooth")  
 trying URL 'http://cran.rstudio.com/bin/macosx/mavericks/contrib/3.1/KernSmooth_2.23-13.tgz'  
 Content type 'application/x-gzip' length 90611 bytes (88 Kb)  
 opened URL  
 ==================================================  
 downloaded 88 Kb  
 The downloaded binary packages are in  
      /var/folders/_s/n4303w0908s0vds7yhl10t8c0000gq/T//RtmpJTnLfh/downloaded_packages  
 > library(KernSmooth)  
 KernSmooth 2.23 loaded  
 Copyright M. P. Wand 1997-2009  

2. Use RStudio menu



Post a Comment