[BioC] some problem of dir.create()
Martin Morgan
mtmorgan at fhcrc.org
Sun Jul 10 12:13:53 CEST 2011
On 07/09/2011 04:49 PM, cao zongfu wrote:
> 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"
dir.create(storedir)
Martin
> 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
>
>
>
>
--
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109
Location: M1-B861
Telephone: 206 667-2793
More information about the Bioconductor
mailing list