{"id":5720,"date":"2013-12-28T05:06:41","date_gmt":"2013-12-27T18:06:41","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=5720"},"modified":"2013-12-28T05:06:41","modified_gmt":"2013-12-27T18:06:41","slug":"r-tcltk-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/r-tcltk-primer-tutorial\/","title":{"rendered":"R Tcl\/Tk Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/R\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"R Tcl\/Tk Primer Tutorial   (try twirling round bottom of image for a synopsis ... 'do the twirl now')\" src=\"http:\/\/www.rjmprogramming.com.au\/R\/R_TclTk_HelloWorld-99of.jpg\" title=\"R Tcl\/Tk Primer Tutorial \" id='imgrtfb' onmouseover=\"var xqw=this.src; if (xqw.indexOf('99of.') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/R\/R_TclTk_HelloWorld-1of.jpg'; } else if (xqw.indexOf('51of.') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/R\/R_TclTk_HelloWorld-61of.jpg'; } else if (xqw.indexOf('61of.') != -1) { this.src = 'http:\/\/www.rjmprogramming.com.au\/R\/R_TclTk_HelloWorld-99of.jpg'; }  else { this.src = 'http:\/\/www.rjmprogramming.com.au\/R\/R_TclTk_HelloWorld-51of.jpg'; }\"   \/><\/a><p class=\"wp-caption-text\">R Tcl\/Tk Primer Tutorial  (try twirling round bottom of image for a synopsis ... 'do the twirl now')<\/p><\/div>\n<p>Have you heard of R?<\/p>\n<blockquote><p>R is a free software programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians and data miners for developing statistical software[2][3] and data analysis.[3] Polls and surveys of data miners are showing R&#8217;s popularity has increased substantially in recent years.<\/p><\/blockquote>\n<p>Check <span style=\"color:green;\">&#8730;<\/span> (we hope)<\/p>\n<p>We use it with <a target=_blank title='Tcl\/Tk' href='http:\/\/www.tcl.tk\/'>Tcl\/Tk<\/a> today in showing you a Hello World scenario.<\/p>\n<p>R is a programming language growing in popularity, and unlike <a target=_blank title='D' href='http:\/\/en.wikipedia.org\/wiki\/D_%28programming_language%29'>D<\/a> following <a target=_blank title='C' href='http:\/\/en.wikipedia.org\/wiki\/C_%28programming_language%29'>C<\/a> in historical context, <a target=_blank title='R (as per quote above)' href='http:\/\/en.wikipedia.org\/wiki\/R_%28programming_language%29'>R<\/a> follows <a target=_blank title='S' href='http:\/\/en.wikipedia.org\/wiki\/S_%28programming_language%29'>S<\/a> in historical context &#8230; go figure!<\/p>\n<p>In this primer  <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/R\/'>tutorial<\/a> you can see Tcl\/Tk being used by R to display a Tk window with a tkbutton and tktext.<\/p>\n<p>Useful tutorials (thanks!) helping with this tutorial were<\/p>\n<ul>\n<li><a target=_blank title='Useful tutorial 1' href='http:\/\/cran.r-project.org\/bin\/macosx\/'>R for Mac OS X<\/a><\/li>\n<li><a target=_blank title='Useful tutorial 2' href='http:\/\/www.sciviews.org\/_rgui\/tcltk\/'>R Tcl\/Tk coding examples<\/a><\/li>\n<li><a target=_blank title='Useful tutorial 3' href='http:\/\/www.sciviews.org\/_rgui\/tcltk\/OKtoplevel.html'>R Tcl\/Tk &#8211; Toplevel Window<\/a>\n<li><a target=_blank title='Useful tutorial 4' href='http:\/\/en.wikipedia.org\/wiki\/R_%28programming_language%29'>R (programming language) &#8211; Wikipedia<\/a> (source of quote above)<\/li>\n<\/ul>\n<p>Link to R programming source code you could rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/R\/hello.r_GETME' title='hello.r'>hello.r<\/a><\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d5720' onclick='var dv=document.getElementById(\"d5720\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Tcl\/Tk\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d5720' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Have you heard of R? R is a free software programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians and data miners for developing statistical software[2][3] and data analysis.[3] Polls and &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/r-tcltk-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,33,37],"tags":[176,287,558,997,1023,1082,1166,1245,1246,1319],"class_list":["post-5720","post","type-post","status-publish","format-standard","hentry","category-elearning","category-software","category-tutorials","tag-c","tag-d","tag-hello-world","tag-programming","tag-r","tag-s","tag-software-2","tag-tcl","tag-tcltk","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/5720"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=5720"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/5720\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=5720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=5720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=5720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}