初识R

install.packages("XML")


Q()

help(solve)

?solve

help.start()  


install.packages('RCurl')

  • error

checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/usr/local/lib/R/site-library/RCurl’


The downloaded source packages are in
‘/tmp/RtmpZ0yrgf/downloaded_packages’
Warning message:
In install.packages("RCurl") :
  installation of package ‘RCurl’ had non-zero exit status

  • do 
    apt-get install libcurl4-openssl-dev
  • OK

installing to /usr/local/lib/R/site-library/RCurl/libs
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded


* DONE (RCurl)


The downloaded source packages are in
‘/tmp/RtmpZ0yrgf/downloaded_packages’

你可能感兴趣的:(初识R)