Questions tagged [r-exams]

Questions related to the computer-based generation of exams (e.g., for classical written exams or e-learning platforms like Moodle) in particular with the R package "exams".

256 questions
2
votes
1 answer

Ho to hide the exam ID on the title page of a NOPS exam?

I'm using exams2nops() from R/exams to prepare multiple variants of an exam (as part of an open-book-exam). I'd like to obscure the variant/group of exam a test-taker is assigned to (in order to prevent "team work" during the open book exam: "Hey…
Sebastian Sauer
  • 1,555
  • 15
  • 24
2
votes
2 answers

Creation of especialized \Sexpr function version

I'm using the exams package to generate some exams (engineering). My source files are in Rnw format so the underlying engine is Sweave. In R side, I'm using units package (to check dimensionality correctness) and I've created a function (called…
jamarier
  • 87
  • 7
2
votes
2 answers

Introduction page for exams2nops (r-exams)

I would like to use your excellent r-exams package to create a paper and pencil exam with automatic grading. I have used exams2nops in the past for a series of schoice and mchoice questions. However, I now need to have an exam with an introduction…
JPMD
  • 644
  • 1
  • 7
  • 19
2
votes
1 answer

R/exams: implement only six boxes for the registration number

I am working with with the exams2nops function of the R/exams package. Since the student's registration number of my university includes only six numbers, I tried to adjust the reglength option (usually minimum 7) in the exams2nops function as well…
Ted
  • 45
  • 3
2
votes
2 answers

Is exams2canvas compatible with Canvas New Quiz format?

I'm using the R-exams package to create Canvas quizzes, and can successfully import the zip file of quizzes exported from R via exams2canvas() as "Classic Quizzes" into Canvas. However, when I import them as "New Quizzes", whilst the import states…
2
votes
1 answer

R/exams: prevent page breaks between two paragraphs in exams2nops

I am currently working with the R/exams package, specifically creating exams using the exams2nops function and the order of the questions is randomized. Everything works fine except for one detail: The samepage = TRUE option only prevents page…
Ted
  • 45
  • 3
2
votes
1 answer

R-exam mchoice: Error in moodlePercent(frac) : Percentage not in list of moodle fractions

I have an mchoice question in file 32_est_summary.Rmd in this public repo. (I don't share the code here since it is a bit large and stack over flow policies don't allow me to publish the question with all the code) The question renders without…
Nicolas Molano
  • 693
  • 4
  • 15
2
votes
1 answer

r exams controlling the points for incorrect answers

I was checking some examples of single choice and multiple choice for example swisscapital.Rmd and switzerland.Rmd. When running exams2moodle() and checking some parameters I found that incorrect answers are penalized with negative points (
Nicolas Molano
  • 693
  • 4
  • 15
2
votes
1 answer

is it possible to view a question with a browser before importing it to Moodle?

I have created a XML file using R-exams out of just a single exercise to be imported to Moodle. I would like to view it before uploading it in the Moodle question bank. I tried to open it with Firefox and I can see some code but not the output and a…
user12703198
  • 423
  • 3
  • 11
2
votes
1 answer

Is it possible to export exercises from R/exams to Moodle without listing the options with (a,b,c,d)?

Is it possible to export exercises from R/exams to Moodle without listing the options with (a,b,c,d)? In the image bellow the options with the bullets (a,b,c,d): Is it possible to define any option in the exams2moodle function that explicitly…
Sinval
  • 1,315
  • 1
  • 16
  • 25
2
votes
1 answer

penalty for incorrect options in R/exams exams2moodle()

not sure if this is related to this new development, but when I use the new dev version of exams2moodle() the %100% to identify the correct option is replaced by =... For example, I now get {1:MULTICHOICE_VS:Amostragem aleatória simples~=Amostragem…
JPMD
  • 644
  • 1
  • 7
  • 19
2
votes
1 answer

How to intercalate questions with the response options in a cloze item (Moodle)?

Is it possible to intercalate questions with the response options in a cloze item (Moodle)? Example: From this: to this: question 1. options (question 1) question 2. options (question 2) and so on...
Sinval
  • 1,315
  • 1
  • 16
  • 25
2
votes
1 answer

Generate Moodle exercises with images using the exams package

I am using the exams package, I want to generate some Moodle exercises with it which incorporate some images. Although using this code in a *rmd file: ```{r, echo = FALSE, results =…
Sinval
  • 1,315
  • 1
  • 16
  • 25
2
votes
2 answers

Cloze with numerical and multiple-choice items

I am using Moodle to make my subjects exams. I would like to mix a numerical cloze question, with a single-choice or a multiple-choice question. And each question should have different percentages on the final mark of the question, for example:…
tesis.pfc
  • 35
  • 4
2
votes
1 answer

sh permission denied in exams2pdf

I use R/exams to generate a PDF exam like this: exams2pdf("swisscapital") However, this results in the following error: Loading required namespace: tinytex sh: : Permission denied Doing the same with exams2html() works well. What is the problem…
uzsolt
  • 5,832
  • 2
  • 20
  • 32