Skip to content
Prev 31205 / 398506 Next

Unable to create directory?

On Thu, 24 Apr 2003, Robert Lundqvist wrote:

            
Just guessing, but I think the problem is with using '~' to mean
your home directory. The shell normally interprets the '~', but
I don't think the shell is doing anything here. I suspect R is
trying to create a directory with the literal name '~/lib/R'.

Replace '~' with the full path of your home directory, and make sure that
the 'lib' part already exists before you do the install.package.
(ie do "mkdir ~/lib" first if it doesn't exist).

Luke