LMSouq
moodle-core Open

Is it possible to use data frame in r-exams?

AK
Akram
1 month ago
3 views
Problem Description
I would like to paste the data-frame from the R environment to the latex part (question or solution part) when creating exercises in r-exams. Later the exercises will be imported into Moodle. Is that possible in r-exams? We saw it is possible when the object is matrix object via `$\Sexpr{toLatex(matrix_obj)}$`. But a similar way does not seem to work with the data-frames. Thank you!

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base