search for: mycsv

Displaying 2 results from an estimated 2 matches for "mycsv".

Did you mean: mycov
2008 Aug 22
1
How to handle "~" character after csv importation
...ot;~". Following the following import call, the character seems to be replaced by dots in the column names of my data frame. Plus, I cannot query names(mydata) to find the column index which header should contain "~" or "." > mydata <- data.frame(read.table("mycsv.csv", sep = ",", header = TRUE, na.strings = ".", as.is = TRUE)) > mydata P1 P2 P3 P1.P2 P1.P3 P2.P3 A B C 1 1 2 3 4 5 6 7 8 9 > names(mydata) [1] "P1" "P2" "P3" "P1.P2" "P1.P3" "P2.P3...
2006 Feb 13
2
Help reading csv data in a dynamic arrays w/ loops... =)
Hi guys, I''m workin on a little ruby on rails application and I''m having a little trouble doing something that SHOULD be pretty easy, especially in rails... So you guys can know what I''m looking for, I included a block of PHP code that does the job, and the block of ruby code that''s failing me :P. Thanks ahead of time to anyone who can help me out with