Error while opening file in Quatro while rendering. Please help #6426
-
DescriptionHi, I am new to Quatro, and have probably a very dumb question, but here we are. When rendering my first Quatro documnet I get a messagge: Error while opening file, and then this: 22% (unnamed-chunk-1)Quitting from lines 20-24 (DSS-Validation-Results-Quarto.rmarkdown) Error in read_sav("onlydss.sav") : could not find function "read_sav" Calls: .main ... withVisible -> eval_with_user_handlers -> eval -> eval Execution halted. Would appreciate any help I can get. Thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Welcome to Quarto! The issue is not related to Quarto, but to your R code:
As for regular R script, you need to either load the R package from which you are using Note that, not sharing actual code makes helping you difficult. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```
The end.
```` |
Beta Was this translation helpful? Give feedback.
Welcome to Quarto!
The issue is not related to Quarto, but to your R code:
As for regular R script, you need to either load the R package from which you are using
read_sav()
or prefix the function with the name of the R packagepkg_name::read_sav()
.Note that, not sharing actual code makes helping you difficult.
Sharing a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository can help you help yourself and can help others to help you (here and everywhere).
You can share a Quarto document using the following syntax, i.e., using more backticks than you ha…