User Tools

Site Tools


r:input_output

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
r:input_output [2019/09/19 12:28] – [Fixed-Width Records] hkimscilr:input_output [2019/09/20 10:29] – [Reading from CSV Files] hkimscil
Line 166: Line 166:
  
 <code>> tbl <- read.csv("filename") <code>> tbl <- read.csv("filename")
 +> tbl <- read.csv("http://commres.net/wiki/_export/code/r/input_output?codeblock=24")
 > tbl</code> > tbl</code>
  
-<code>> tbl <- read.csv("filename", header=FALSE)+<code>> tbl <- read.csv("http://commres.net/wiki/_export/code/r/input_output?codeblock=24", header=FALSE)
 > tbl</code> > tbl</code>
  
-<code>> tbl <- read.csv("filename", header=FALSE, sep="\t")+<code>> tbl <- read.csv("http://commres.net/wiki/_export/code/r/input_output?codeblock=24", header=FALSE, sep="\t")
 > tbl</code> > tbl</code>
  
r/input_output.txt · Last modified: 2019/09/20 10:32 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki