larmarange / analyse-R

Introduction à l'analyse d'enquêtes avec R et RStudio
https://larmarange.github.io/analyse-R/
53 stars 40 forks source link

analyse-R/visualiser-ses-donnees #131

Closed utterances-bot closed 2 years ago

utterances-bot commented 2 years ago

Visualiser ses données

http://larmarange.github.io/analyse-R/visualiser-ses-donnees.html

jomusenga commented 2 years ago

Salut, j'aimerai appliquer cet exemple: install.packages('dataMaid') library(dataMaid) makeCodebook(hdv2003)

pour pouvoir générer la présentation du data frame "hdv2003" en format PDF mais ca me génère le message d'erreur suivant: Error in dataMaid::makeDataReport(data = hdv2003, reportTitle = "Codebook for hdv2003", : The file name(s) to be used by dataMaid, codebook_hdv2003.Rmd, is(are) already in use. We recommend trying one of the following solutions:

Si vous pouvez m'orienter

larmarange commented 2 years ago

Vous avez essayez tout simplement makeCodebook(hdv2003, replace = TRUE), comme indiqué dans le message d'erreur ?

jomusenga commented 2 years ago

oui, donc quand j'exécute le code, j'ai le message d'erreur suivant:

Error in dataMaid::makeDataReport(data = hdv2003, reportTitle = "Codebook for hdv2003", : The file name(s) to be used by dataMaid, codebook_hdv2003.Rmd, is(are) already in use. We recommend trying one of the following solutions:

rename your dataMaid output file using the "file" option Add a volume number to your file name using the "vol" option check that you do not want to keep the original file and if so, use makeDataReport() with argument replace = TRUE

jomusenga commented 2 years ago

voici le code que j'ai utilisé: install.packages('dataMaid') library(dataMaid) makeCodebook(hdv2003)

jomusenga commented 2 years ago

oui, donc quand j'exécute le code, j'ai le message d'erreur suivant:

Error in dataMaid::makeDataReport(data = hdv2003, reportTitle = "Codebook for hdv2003", : The file name(s) to be used by dataMaid, codebook_hdv2003.Rmd, is(are) already in use. We recommend trying one of the following solutions:

rename your dataMaid output file using the "file" option Add a volume number to your file name using the "vol" option check that you do not want to keep the original file and if so, use makeDataReport() with argument replace = TRUE

jomusenga commented 2 years ago

voici le code que j'ai utilisé: install.packages('dataMaid') library(dataMaid) makeCodebook(hdv2003

larmarange commented 2 years ago

Comme je vous l'ai déjà dit précédemment, et comme indiqué dans le message d'erreur, vous devez préciser l'option replace = TRUE.

library(dataMaid)
library(questionr)
data(hdv2003)
makeCodebook(hdv2003, replace = TRUE)