When using R language, an error may appear: unable to set the working directory
At this time, you can manually switch in rstudio:
Workspace window, files → three dots, click; The folder window will appear. At this time, manually switch to the working directory you want to go to:
Click the setting icon and select “set as working directory” to set the working directory:
At this time, the working directory is detected and the switching is successful
getwd()
[1] ".../Documents/R/Data"
Read More:
- R Language: How to Solve featureplot function Error
- [Solved] R Language Error: Error in RStudioGD() : Shadow graphics device error: r error 4 (R code execution error)
- R language: How to Solve DMwR Install Error
- [Solved] R Language Error: duplicate ‘row.names’ are not allowed
- R Language Error: variable does not have limits defined by datadist
- [Solved] R Language Error: Discrete value supplied to continuous scale
- R language learning problem solving error in output $nodeid: $operator is invalid for atomic vectors
- [Solved] R Language Error: Error in file(out, “wt“) : cannot open the connection
- Error: could not find function … in R [How to Solve]
- MOTR compiling error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_R
- C++ Use of deleted function error
- [Solved] Error ‘false‘ undeclared (first use in this function)
- Taro Use React Hooks Error: TypeError: Object(…) is not a function
- [How to Fix]Type error: must use keyword argument for key function
- Type error: must use keyword argument for key function
- QT solves error: use of deleted function and is private within this context
- [Solved] Vscode Katex Error: ParseError: KaTeX Parse Error: Can‘t Use Function ‘$‘ In Math Mode At Position …
- [Solved] Tensorflow2.0 Error: Function call stack:distributed_function
- Go Language Error: main redeclared in this block [How to Solve]
- C Language error: two or more data types in declaration specifiers