资源描述:
《[Exploring.Everyday.Things.with.R.and.Ruby(2012.6)].Sau.Sheong.Chang.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ExploringEverydayThingswithRandRubySauSheongChangExploringEverydayThingswithRandRubybySauSheongChangCopyright©2012SauSheongChang.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducationa
2、l,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editors:AndyOramandMikeHendricksonProofreader:KielVanHornProductionEditor:KristenBor
3、gIndexer:AngelaHowardCopyeditor:RachelMonaghanCoverDesigner:KarenMontgomeryInteriorDesigner:DavidFutatoIllustrator:RobertRomanoJuly2012:FirstEditionRevisionHistoryfortheFirstEdition:2012-06-26FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449315153forreleasedetails.NutshellHandbook,
4、theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.ExploringEverydayThingswithRandRuby,theimageofahoodedseal,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Whe
5、rethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinfor
6、mationcontainedherein.ISBN:978-1-449-31515-3[LSI]TableofContentsPreface.......................................................................vii1.TheHatandtheWhip........................................................1Ruby1WhyRuby2InstallingRuby3RunningRuby4RequiringExternalLibraries5BasicRuby7E
7、verythingIsanObject13Shoes19WhatIsShoes?19ARainbowofShoes20InstallingShoes20ProgrammingShoes21Wrap-up252.IntotheMatrix.............................................................27IntroducingR27UsingR28TheRConso