The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Dear all,
I'm trying to set up a digital exam in canvas. I created the exam using R-exams, which allows me to easily randomise questions to make cheating less easy. On their website they mention that it should be possible to import exams in canvas, but I do not really understand how. Has anyone used R-exams together with canvas? Specifically I am wondering:
- can I import an R-exam file into canvas and convert it directly into a quiz?
- Can I make this quiz different for different students?
Thanks!
Solved! Go to Solution.
I haven't used R/exams, but I'm pulling the workflow from several pages on their website and here in the Canvas Community.
The first page I found was this page R/exams @ useR! 2019. About 80% of the way down there is a command about how to generate the file you need to import into Canvas. Realize this is their example and will need modified for your case.
set.seed(2019-07-09)
exams2canvas(elearn_exam[1:5], n = 3, name = "useR-2019", dir = "output", edir = "exercises", duration = 15)
Here is the full documentation for the exams2canvas command.
Under the Details section, it says
exams2canvas is a convenience interface to exams2qti12 for generating QTI 1.2 with some small tweaks for Canvas (https://www.instructure.com/canvas/).
Now that we know that the file is a QTI 1.2 file, we can import into Canvas.
For legacy quizzes, follow the instructions in this lesson from the Canvas Instructor Guide: https://community.canvaslms.com/docs/DOC-12683-4152724198
Unfortunately, as I write this, I'm getting an Unauthorized error on that page. Canvas is in the process of deprecating legacy Quizzes, so I hope the error is only temporary, maybe while someone is editing it? Here are the steps until the page comes back
For New Quizzes, follow the instructions in this lesson: https://community.canvaslms.com/docs/DOC-15064-4152780901
I haven't used R/exams, but I'm pulling the workflow from several pages on their website and here in the Canvas Community.
The first page I found was this page R/exams @ useR! 2019. About 80% of the way down there is a command about how to generate the file you need to import into Canvas. Realize this is their example and will need modified for your case.
set.seed(2019-07-09)
exams2canvas(elearn_exam[1:5], n = 3, name = "useR-2019", dir = "output", edir = "exercises", duration = 15)
Here is the full documentation for the exams2canvas command.
Under the Details section, it says
exams2canvas is a convenience interface to exams2qti12 for generating QTI 1.2 with some small tweaks for Canvas (https://www.instructure.com/canvas/).
Now that we know that the file is a QTI 1.2 file, we can import into Canvas.
For legacy quizzes, follow the instructions in this lesson from the Canvas Instructor Guide: https://community.canvaslms.com/docs/DOC-12683-4152724198
Unfortunately, as I write this, I'm getting an Unauthorized error on that page. Canvas is in the process of deprecating legacy Quizzes, so I hope the error is only temporary, maybe while someone is editing it? Here are the steps until the page comes back
For New Quizzes, follow the instructions in this lesson: https://community.canvaslms.com/docs/DOC-15064-4152780901
Dear @James ,
Thank you for this extremely helpful response with numerous links! I am going to try this out.
Best,
Dieuwke
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.