Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 1c43a563 rédigé par Simon CHEVOLLEAU's avatar Simon CHEVOLLEAU :computer:
Parcourir les fichiers

Now verify is file exists

parent 679cb6ac
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -5,6 +5,9 @@ readTable <- function(dataName, sepUser = '\t', rnames = TRUE, header = TRUE, nT
#' @description WRAPPER : Read a text file using threading with data.table package
#' and convert it to a dataframe and speicify rownames
if (!(file.exists(dataName))){
stop(paste0(dataName, ' doesn\'t exist'))
}
require(data.table)
setDTthreads(threads=1)
dat <- as.data.frame(data.table::fread(dataName, sep = sepUser, header = header, nThread = nThread,dec = dec))
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter