资源描述:
《R语言快速参考手册 - R in a nutshell - a desktop quick reference.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、RINANUTSHELLRINANUTSHELLJosephAdlerBeijing•Cambridge•Farnham•Köln•Sebastopol•Taipei•TokyoRinaNutshellbyJosephAdlerCopyright©2010JosephAdler.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybep
2、urchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinfor-mation,contactourcorporate/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.com.Editor:MikeLoukidesCoverDesigner:KarenMontgomeryPro
3、ductionEditor:SumitaMukherjiInteriorDesigner:DavidFutatoProductionServices:NewgenNorthIllustrator:RobertRomanoAmerica,Inc.PrintingHistory:December2009:FirstEdition.NutshellHandbook,theNutshellHandbooklogo,andtheO’Reillylogoareregisteredtrade-marksofO’ReillyMedia,Inc.RinaNutshell,theimage
4、ofaharpyeagle,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrademarkclaim,thedesignationshavebeenprintedincap
5、sorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.TMThisbookusesRepKover™,adurableandflexiblelay-flatbinding.ISBN:978-0-596-80170-0[M]126
6、0894633TableofContentsPreface.............................................................xvPartI.RBasics1.GettingandInstallingR..........................................3RVersions3GettingandInstallingInteractiveRBinaries3Windows4MacOSX5LinuxandUnixSystems52.TheRUserInterface............
7、.................................7TheRGraphicalUserInterface7Windows8MacOSX8LinuxandUnix8TheRConsole11Command-LineEditing13BatchMode13UsingRInsideMicrosoftExcel14OtherWaystoRunR153.AShortRTutorial..............................................17BasicOperationsinR17Function