Setting working directory for download in R
Hi,
I want to set working directory for download data from GEO datasets, I typed
setwd("C:\Users\yang\Documents\Downloads\New folder")
but error as below
Error: '\U' used without hex digits in character string starting ""C:\U"
in which part I did wrong please?
• 7,276 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hi Sarah, may I propose that you spend a bit more time to figure out what is going on before you post. Also, as much as we like to help, I have to remind you that we are a bioinformatics related site, and cannot deal with general programming or R-on-windows problems. I understand that learning something new can be frustrating at times but a lot of things need to be figured out by yourself, or googled, if possible. Then you would find this immediately: http://stackoverflow.com/questions/8425409/file-path-issues-in-r-using-windows-hex-digits-in-character-string-error
I am sorry for having to close a lot of your questions, I hope you understand why.
It is OK Michael, you are right
I have already an account in stackoverflow but really I did not get any help there and whichever I learn is from biostar. Anyway sorry
Most of the time, there might be a solution to your problem already, so you almost never need to make a new question. The approach is easy: take the error message:
Identify the invariant portion: used without hex digits in character string starting
Search using your preferred web search engine -> profit.
Thank you Michael,
I was typing
setwd("C:\Users\yang\Documents\Downloads\New folder")but when I replaced\with/, codes worked.Hello sarah!
We believe that this post does not fit the main topic of this site.
not a bioinformatics question
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!