Issues connecting to files

Dear Mr/Miss

When I ran Knits, I have a error

“Error in file(con, "w") : cannot open the connection

Calls: -> -> write_utf8 -> writeLines -> file

In addition: Warning messages:

1: In normalizePath(path.expand(path), winslash, mustWork) :

path[1]="A-practive-Rmarkdown.Rmd": The filename, directory name, or volume label syntax is incorrect

2: In normalizePath(path.expand(path), winslash, mustWork) :

path[1]="C:/Users/phucu/OneDrive/Ta`i liê?u/R": The filename, directory name, or volume label syntax is incorrect

3: In normalizePath(path.expand(path), winslash, mustWork) :

path[1]="C:/Users/phucu/OneDrive/Ta`i liê?u/R": The filename, directory name, or volume label syntax is incorrect

4: In file(con, "w") :

cannot open file 'C:/Users/phucu/OneDrive/Ta`i liê?u/R/A-practive-Rmarkdown.knit.md': Invalid argument

Execution halted”

Can you help me to repair this error, please

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.