CSV to HTML translation: Difference between revisions

Content added Content deleted
(Shared a Simple R implementation)
Line 4,504: Line 4,504:


Using base R functions only, this is a very basic implementation and produces a simple HTML table
Using base R functions only, this is a very basic implementation and produces a simple HTML table
<lang R>File <- "~/test.csv"
<lang rsplus>File <- "~/test.csv"
Opened <- readLines(con = File)
Opened <- readLines(con = File)
Size <- length(Opened)
Size <- length(Opened)
Line 4,532: Line 4,532:
<tr><td>Brians mother</td><td>I'm his mother; that's who!</td></tr>
<tr><td>Brians mother</td><td>I'm his mother; that's who!</td></tr>
<tr><td>The multitude</td><td>Behold his mother! Behold his mother!</td></tr></table></lang>
<tr><td>The multitude</td><td>Behold his mother! Behold his mother!</td></tr></table></lang>

=={{header|Racket}}==
=={{header|Racket}}==