
{"id":7433,"date":"2012-06-29T17:01:37","date_gmt":"2012-06-29T17:01:37","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7433"},"modified":"2012-06-29T17:01:37","modified_gmt":"2012-06-29T17:01:37","slug":"r-reading-tabular-data-files","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/06\/29\/r-reading-tabular-data-files\/","title":{"rendered":"R &#8211;  reading tabular data files"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n&gt; dfrm  print(dfrm\ndfrm\n&gt; print(dfrm)\n    V1      V2\n1 Name Jeffrin\n2  Age      35\n3  Sex    Male\n&gt; dfrm  print(dfrm)\n            V1\n1 Name-Jeffrin\n2       Age-35\n3     Sex-Male\n&gt; dfrm  print(dfrm)\n            V1\n1 Name-Jeffrin\n2       Age-35\n3     Sex-Male\n&gt; class(dfrm$V1)\n[1] \"factor\"\n&gt; class(dfrm$V1)\n[1] \"factor\"\n&gt; class(dfrm$V2)\n[1] \"NULL\"\n&gt; class(dfrm$V3)\n[1] \"NULL\"\n&gt;\n\n<\/pre>\n<p><\/p>\n<pre>\n$ 4.2.20 6 506---&gt; cat first.txt\nName-Jeffrin\nAge-35\nSex-Male\n$ 4.2.20 7 507---&gt;\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session &gt; dfrm print(dfrm dfrm &gt; print(dfrm) V1 V2 1 Name Jeffrin 2 Age 35 3 Sex Male &gt; dfrm print(dfrm) V1 1 Name-Jeffrin 2 Age-35 3 Sex-Male &gt; dfrm print(dfrm) V1 1 Name-Jeffrin 2 Age-35 3 Sex-Male &gt; class(dfrm$V1) [1] &#8220;factor&#8221; &gt; class(dfrm$V1) [1] &#8220;factor&#8221; &gt; class(dfrm$V2) [1] &#8220;NULL&#8221; &gt; class(dfrm$V3) [1] &#8220;NULL&#8221; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/06\/29\/r-reading-tabular-data-files\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;R &#8211;  reading tabular data files&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7433"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=7433"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7433\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}