<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#330000">
hi<br>
<br>
you can try<br>
<br>
read_csv("myfile.csv"," ") //the second argument is a space between
quotes<br>
<br>
read_cvs has a second optional argument, as stated in documentation,
try: help read_csv<br>
<br>
best regards <br>
<br>
Le 29/04/2011 11:39, R Sippe a écrit :
<blockquote cite="mid:SNT107-DS130756AF12D8D39E728BB2DF9A0@phx.gbl"
type="cite">
<div dir="ltr">
<div style="font-family: 'Calibri'; color: rgb(0, 0, 0);
font-size: 12pt;">
<div>Dear Sir/Madam,</div>
<div> </div>
<div>I am new to Scilab and I want to use Scilab to analyze
data contained in csv files.</div>
<div>When I use read_csv(myfile.csv) it only returns the first
row of the data.</div>
<div> </div>
<div>Opening the file in notepad shows that each row of data
is separated by a space instead of a return.</div>
<div>However these csv files are outputs of a program and I
don’t want to change the format manually for each csv file.</div>
<div> </div>
<div>What is the best way to deal with this problem?</div>
<div> </div>
<div>Greets,</div>
<div> </div>
<div>Robin</div>
</div>
</div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<style>
<!--
p
{margin:0pt;
color:teal;
font-family:"Cambria Math"
font-size:12.0pt;
}
-->
</style>
<p><b>Adrien Vogt-Schilb</b></p>
<p>Research Fellow</p>
<p><a a="" href="mailto:vogt@centre-cired.fr"
style="text-decoration: none; color: teal;">vogt@centre-cired.fr</a></p>
<p>Tel: (+33) 1 43 94 73 96</p>
<p>Fax: (+33) 1 43 94 73 70</p>
<table style="border: medium none; margin-left: 1pt; margin-top:
4pt;" cellspacing="0">
<tbody>
<tr>
<td style="padding: 0pt;">
<p><img src="cid:part1.01000307.04060904@centre-cired.fr"
alt="CIRED" width="54"></p>
</td>
<td style="padding: 0pt 7pt;" valign="middle">
<p style="font-size: 10pt;">45 bis, Av de la Belle
Gabrielle</p>
<p style="font-size: 10pt;">F-94736 Nogent-sur-Marne</p>
<p style="font-size: 10pt;"><a
href="http://www.centre-cired.fr/" style="color:
teal;">http://www.centre-cired.fr/</a></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
</div>
</body>
</html>