#!/usr/bin/Rscript
# -*- coding: utf-8 -*-
################################ Description ###################################
# Title: Tests de code pour trouver des lignes vides
# Created the 2015-01-03
# by Joris Muller <joris.muller@jom.link>
# Licence: GPLv3 <http://www.gnu.org/licenses/>
################################################################################
# Voir si openxlsx peut ouvrir des fichiers avec des lignes manquantes
library(openxlsx)
fichier <- "dumbcode/data/resultats.xlsx"
donnees <- read.xlsx(fichier, colNames = FALSE, skipEmptyRows = FALSE)
head(donnees)
str(donnees)
# L'import brut semble bien fonctionner
# Cependant a sauté les colonnes vides
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.