bugGNU Octave - Bugs: bug #46248, csvread, dlmread, csvwrite,...

 
 

bug #46248: csvread, dlmread, csvwrite, dlmwrite should specify that only num values are usable

Submitted by:  Francesco Potortì <pot>
Submitted on:  Mon 19 Oct 2015 12:03:04 PM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedAssigned to: Philip Nienhuis <philipnienhuis>
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 26 Feb 2016 07:49:18 PM UTC, comment #5:

I updated the documentation on the default branch (http://hg.savannah.gnu.org/hgweb/octave/rev/1bb9a34011d1). There have been so many changes that it is now quite difficult to apply things to stable. Closing report.

Rik <rik5>
Project Administrator
Sat 12 Dec 2015 03:49:02 PM UTC, comment #4:

Hmmm, my patch got out-of-date due to Rikś changes in the 2015 Code Sprint.

New cs attached.

(file #35709)

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.
Sat 12 Dec 2015 03:22:10 PM UTC, comment #3:

Here's a cs against the dev version

(file #35706)

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.
Mon 19 Oct 2015 03:35:11 PM UTC, comment #2:

The documentation for csvread and csvwrite are in the m-files io/csvread.m and io/csvwrite.m. dlmwrite is in the file io/dlmwrite.m. However, dlmread is is the C++ file libinterp/corefcn/dlmread.cc.

It should be pretty easy to prepare a changeset that just touches the help text. I can review if you submit it to this bug report.

Rik <rik5>
Project Administrator
Mon 19 Oct 2015 03:28:10 PM UTC, comment #1:

Good idea, Matlab also states this explicitly.

IMO it would be nice if csv2cell() and cell2csv() from the io package were moved to core Octave. These functions can process mixed cell arrays.

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.
Mon 19 Oct 2015 12:03:04 PM UTC, original submission:

While this is inferable from the fact that data are contained in a matrix, it would be certainly helpful if the docs of csvread, dlmread, csvwrite, dlmwrite specified in their first line that they can only manage numeric data.

Also, the docs for csvread and dlmread should suggest the use of textread and textscan as alternatives, especially when string data are involved.

The sentence "Octave can also read and write matrices text files such as comma separated lists." looks wrong: probably "such" should be removed.

At the start of this section an overview of the available functions should be written, with suggestions on which to use in what cases.

Francesco Potortì <pot>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by pot (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 26 Feb 2016 07:49:18 PM UTCrik5StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Sat 12 Dec 2015 03:49:02 PM UTCphilipnienhuisAttached File-=>Added delimIO_clarification2.cs, #35709
    Sat 12 Dec 2015 03:22:10 PM UTCphilipnienhuisAttached File-=>Added delimIO_clarification.cs, #35706
      StatusNone=>Patch Submitted
      Assigned toNone=>philipnienhuis
      Operating SystemGNU/Linux=>Any
    Mon 19 Oct 2015 03:35:11 PM UTCrik5Item GroupFeature Request=>Documentation

    Back to the top


    Powered by Savane 3.1-cleanup1