Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HI All,
- im currently facing one problem in which im trying to import txt file
- into R dataset but im getting all columns as one (as only one column) im want to see
- as seperated as dataframe (rows and columns) here is my code
- DS<-read.table(file="stock.txt",sep = "\t",header=TRUE,quote="\"")
- head(stock)
- quarter..stock..date..open..high..low..close..volume..percent_change_price..percent_change_volume_over_last_wk..previous_weeks_volume..next_weeks_open..next_weeks_close..percent_change_next_weeks_price..days_to_next_dividend..percent_return_next_dividend
- 1 1,AA,2/4/2011,$16.18,$17.39,$16.18,$17.14,154387761,5.93325,1.987451735,151379173,$17.33,$17.37,0.230814,97,0.175029
- 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement