csvToList: The inverse of the listToCsv() function Takes a csv of...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/csvTransform.R

Description

The inverse of the listToCsv() function Takes a csv of serialized objects created by the listToCSV function and turns it into a proper R list.

Usage

1
csvToList(inFileName)

Arguments

inFileName

String pointing to the full path of the input CSV.

Value

Returns a list object. Or an error. Hopefully a list.

Author(s)

James "JD" Long

See Also

listToCsv()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
myList <- NULL
  set.seed(1)
  for (i in 1:10){
    a <- c(rnorm(999), NA)
    myList[[i]] <- a
  }

  require(caTools)
  listToCsv(myList, "tst.csv")
  all.equal(myList,  csvToList("tst.csv" ))

zachmayer/segue2 documentation built on May 4, 2019, 9:07 p.m.