<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>L.A.M.N.K &#187; Econometrics</title>
	<atom:link href="http://www.lamnk.com/blog/category/econometrics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lamnk.com/blog</link>
	<description>Free your mind ... and your ass will follow</description>
	<lastBuildDate>Thu, 26 Aug 2010 12:52:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Import Excel .xls files into R</title>
		<link>http://www.lamnk.com/blog/econometrics/import-excel-xls-files-into-r/</link>
		<comments>http://www.lamnk.com/blog/econometrics/import-excel-xls-files-into-r/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 16:11:45 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Econometrics]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[xls]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=173</guid>
		<description><![CDATA[What is R ? R is a programming language and software environment for statistical computing and graphics. It is developed by statisticians around the world and is free software, released under the GNU General Public License. In order to import .xls file into R, we must convert the file to csv first. One way to [...]


Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/wordpress-blank-screen-of-death/' rel='bookmark' title='Permanent Link: WordPress Blank Screen of Death'>WordPress Blank Screen of Death</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>What is R ? R is a programming language and software environment for statistical computing and graphics. It is developed by<br />
statisticians around the world and is free software, released under the GNU General Public License.</p>
<p>In order to import .xls file into R, we must convert the file to csv first. One way to this is to open xls files in a speadsheet application and then export to csv format. Another way is to use a small convert program, handily available on &#8230; Google. An example: <a href="http://search.cpan.org/~ken/xls2csv-1.06/script/xls2csv">xls2csv</a>:</p>
<blockquote><p><code>xls2csv -x dataset.xls -c dataset.csv</code></p></blockquote>
<p>After converting to csv, import data with</p>
<blockquote><p><code>> dataset1 <- read.csv(file = "~/dataset.csv")</code></p></blockquote>


<p>Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/wordpress-blank-screen-of-death/' rel='bookmark' title='Permanent Link: WordPress Blank Screen of Death'>WordPress Blank Screen of Death</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/econometrics/import-excel-xls-files-into-r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
