Bugs: Browse | Submit New | Admin

[#6680] as.data.frame

Date:
2006-11-15 06:39
Priority:
3
Submitted By:
Alex Gutteridge (alexgutteridge)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
as.data.frame

Detailed description
irb(main):036:0> r.as_data_frame({'x' => [1,2,3], 'row.names' => ['a','b','c']})=> {"c(1,
2, 3)"=>[1, 2, 3]}
irb(main):037:0> r.as_data_frame({'x' => [1,2,3], 'row_names' => ['a','b','c']})TypeError: can't modify frozen
string
        from /usr/local/lib/ruby/site_ruby/1.8/rsruby.rb:254:in `gsub!'
        from /usr/local/lib/ruby/site_ruby/1.8/rsruby.rb:254:in `convert_method_name'
        from /usr/local/lib/ruby/site_ruby/1.8/rsruby.rb:218:in `method_missing'        from (irb):37
        from :0
Need to go over 'as.data.frame' to make sure it returns what it should.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
resolution_idNone2006-12-14 07:58alexgutteridge