Entering edit mode
cao zongfu
▴
50
@cao-zongfu-4344
Last seen 10.1 years ago
Dear prof.,Hi
When I used dir.create() to creat a directory on Win7, I found
the
created directory not in my specified path, It always in
"C:\Users\123\Documents", and "123" is my username. I want to know how
to
creat a directory in my specified path on Win7?
In addition, I also found that installed packages are in
"C:\Users\123\Documents\R\win-library\2.13", not in the R installed
path of
"C:\Program Files\R\R-2.13.0\library".But it does not affected the
normal
use of R packages.
R session are as follows,
> GEO<- "GSM189662"
> baseDir= "D:/project/geodownload"
>
> try(dir.create(GEO))
> storedir <- file.path(baseDir, GEO)
> storedir
[1] "D:/project/geodownload/GSM189662"
I checked the directory GSM189662, it does not in
the "D:/project/geodownload/", but in "C:\Users\123\Documents". Would
you
please help me?
Zongfu Cao
BeiGene(Beijing), China
--
Zongfu Cao
*BeiGene(Beijing) Co.,Ltd*
No.30 Science Park Road
Zhong-Guan-Cun Life Science Park
Changping District, Beijing P.R.China
Postal Code: 102206
[[alternative HTML version deleted]]