Hi,<div><br></div><div>you are on the wrong help-list. This list is meant for problems regarding the data.table package, which is just one R package: 
<a href="http://datatable.r-forge.r-project.org/">http://datatable.r-forge.r-project.org/</a> </div><div><br></div><div>So where you actually want to post is the R help-list: 
<a href="https://stat.ethz.ch/mailman/listinfo/r-help">https://stat.ethz.ch/mailman/listinfo/r-help</a> </div><div><br></div><div>Having said that, before you post your problem there I would play a little bit more with the read-functions in R. From your input, it looks as if you have a CSV-file in European format. So try read.csv2(&quot;file.csv&quot;) for a start. If that doesn&#39;t work, repost your problem to the R-help list and do provide as many information as possible (does any of your cells contain special characters? does any column contain a semicolon in the names? etc.)</div>

<div><br></div><div>HTH</div><div><br></div><div>Christoph<br><div><br><div class="gmail_quote">On Thu, Jan 19, 2012 at 3:20 PM, aaurouss <span dir="ltr">&lt;<a href="mailto:antoine.aurousseau@gmail.com">antoine.aurousseau@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hello,<br>
<br>
Here&#39;s my problem :<br>
<br>
I have a csv file which I have to read with read.table() function (or<br>
read.csv). The file has about 60000 lines whose data are written this way:<br>
character;character;character;character<br>
<br>
14/10/2010 13:10;0;49;0;49;<br>
<br>
14/10/2010 13:20;0;49;0;49;<br>
<br>
14/10/2010 13:30;0;49;0;49;<br>
<br>
14/10/2010 13:40;0;48;0;48;<br>
<br>
14/10/2010 13:50;0;46;0;46;<br>
<br>
<br>
I tried to use the function this way:    read.csv(&quot;file.csv&quot;,sep =<br>
&quot;;&quot;,colClasses = &quot;character&quot;, fill=&quot;TRUE&quot;,<a href="http://as.is" target="_blank">as.is</a>=TRUE,h=FALSE).<br>
<br>
Here&#39;s what I get as an error:<br>
Error in fill &amp;&amp; length(col.names) &gt; cols :<br>
  type &#39;x&#39; incorrect in &#39;x &amp;&amp; y&#39;<br>
<br>
I can&#39;t find any set of options with any of the read functions that work.<br>
<br>
Any ideas ?<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://r.789695.n4.nabble.com/problem-with-reading-a-csv-file-with-read-table-tp4310126p4310126.html" target="_blank">http://r.789695.n4.nabble.com/problem-with-reading-a-csv-file-with-read-table-tp4310126p4310126.html</a><br>


Sent from the datatable-help mailing list archive at Nabble.com.<br>
_______________________________________________<br>
datatable-help mailing list<br>
<a href="mailto:datatable-help@lists.r-forge.r-project.org">datatable-help@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>--------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>

<br>Christoph Jäckel (Dipl.-Kfm.)<br><br>--------------------------------------------------------------------------------------------------------------------------------------------------------------------<br><br>Research Assistant<br>

<br>Chair for Financial Management and Capital Markets | Lehrstuhl für Finanzmanagement und Kapitalmärkte<br><br>TUM School of Management | Technische Universität München<br><br>Arcisstr. 21 | D-80333 München | Germany<br>

<br>Mailto: <a href="mailto:christoph.jaeckel@wi.tum.de" target="_blank">christoph.jaeckel@wi.tum.de</a> | Web: <a href="http://www.fm.wi.tum.de" target="_blank">www.fm.wi.tum.de</a><br><br>Phone: +49 89 289 25487 | Fax: +49 89 289 25488<br>

<br> <br><br>Head of Chair:<br><br>Univ.-Prof. Dr. Christoph Kaserer<br><br>----------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>

<br>E-Mail Disclaimer<br><br>Der Inhalt dieser E-Mail ist vertraulich und ausschliesslich<br>fuer den bezeichneten Adressaten bestimmt. Wenn Sie nicht<br>der vorgesehene Adressat dieser E-Mail oder dessen Vertreter<br>sein sollten, so beachten Sie bitte, dass jede Form der<br>

Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder<br>Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir<br>bitten Sie, sich in diesem Fall mit dem Absender der E-Mail<br>in Verbindung zu setzen.<br><br>The information contained in this email is confidential. It is<br>

intended solely for the addressee. Access to this email by<br>anyone else is unauthorized if you are not the intended<br>recipient, any form of disclosure, reproduction, distribution<br>or any action taken or refrained from in reliance on it, is<br>

prohibited and may be unlawful. Please notify the sender<br>immediately.<br>----------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>


</div></div>