I'm using ESS 5.10 in Emacs 23.1.1 on Ubuntu Meerkat with R version 2.11.1.
The R process in ESS is not using the same .libPaths() as R started in a
terminal window. I read some posts from years ago and have tried the
following:

1. Included a .Renviron file with: R_LIBS=/home/mike/dev/R/libs/2.11.1 (my
local package library)
2. Tried running .libPaths() in ESS.
> .libPaths()
[1] "/usr/local/lib/R/site-library" "/usr/lib/R/site-library"
[3] "/usr/lib/R/library"            "/usr/lib64/R/library"
> .libPaths(c("/home/mike/dev/R/libs/2.11.1",.libPaths()))
> .libPaths()
[1] "/usr/local/lib/R/site-library" "/usr/lib/R/site-library"
[3] "/usr/lib/R/library"            "/usr/lib64/R/library"
>

I don't know  why .libPaths() is  the same before/after adding my local lib
dir. When I start R from a terminal the lib path is set correctly.

Thanks

	[[alternative HTML version deleted]]

