I have basically two questions.
How do I locate the default
Rprofile
which is running? I have not setup aRprofile
yet, so I am not sure where it is running from.I am trying to install a few packages using the command (after doing a SUDO in the main terminal).
install.packages("RODBC","/home/rama/R/i486-pc-linux-gnu-library/2.9")
and I get back an error which says:
ERROR: failed to lock directory ‘/home/rama/R/i486-pc-linux-gnu-library/2.9’ for modifying Try removing ‘/home/rama/R/i486-pc-linux-gnu-library/2.9/00LOCK’
The downloaded packages are in ‘/tmp/RtmpkzDMVU/downloaded_packages’ Warning message: In install.packages("RODBC", "/home/rama/R/i486-pc-linux-gnu-library/2.9") : installation of package 'RODBC' had non-zero exit status