[R] normalizePath

Duncan Murdoch murdoch.duncan at gmail.com
Wed Sep 14 15:19:09 CEST 2011

On 14/09/2011 9:06 AM, boyang zhe wrote:
> Hi,
> I update R from 2.10 to 2.13.
> Then I find soma problems when I start R.
> Warning infos as below:
> #####
> Warning message:
> In normalizePath(c(new, .Library.site, .Library), "/") :
>    path[1]="": No such file or directory
> R version 2.13.1 (2011-07-08)
> Copyright (C) 2011 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: x86_64-pc-linux-gnu (64-bit)
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>    Natural language support but running in an English locale
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
> #####
> Why it generate those infos about normalizePath and how to remove it?

I would guess you have something in an Rprofile or Rprofile.site file 
that is causing the error.  See ?Startup for the rules on where R looks 
for those files, and the other things that happen during startup that 
might be causing this.

Duncan Murdoch

More information about the R-help mailing list