[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading .csv files
From: |
John W. Eaton |
Subject: |
Re: Loading .csv files |
Date: |
Mon, 16 May 2005 22:25:37 -0400 |
On 16-May-2005, Søren Hauberg wrote:
| Couldn't one simply do something like this
|
| if (exists(datapath))
| use datapath
| else
| use loadpath
| endif
Yes, this would seem to be a reasonable thing to do. To make it work,
DATAPATH would need to be undefined initially. But a user cannot
currently create a built-in variable at the command line, so there
could be some difficulty in making this work properly given the
current implementation.
In any case, I have no plans to work on this feature, or making
Octave's load and fopen functions search the LOADPATH if the file is
not found in the current directory. Patches are welcome if someone
else would like to look at it.
jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Loading .csv files, SITI HAJAR A BAKAR, 2005/05/16
- Re: Loading .csv files, SITI HAJAR A BAKAR, 2005/05/16
- Re: Loading .csv files, John W. Eaton, 2005/05/16
- Re: Loading .csv files, Mike Miller, 2005/05/16
- Re: Loading .csv files, John W. Eaton, 2005/05/16
- Re: Loading .csv files, Mike Miller, 2005/05/16
- Re: Loading .csv files, John W. Eaton, 2005/05/16
- Re: Loading .csv files, Søren Hauberg, 2005/05/16
- Re: Loading .csv files,
John W. Eaton <=
Re: Loading .csv files, SITI HAJAR A BAKAR, 2005/05/16