I'm upgrading from one version of Ubiubta (14) to 17. On 14, I had a directory structure as follows: R/--i686-pc-linux-gnu-library
Ubuntu Installation
4 messages · R Vince, Dirk Eddelbuettel
I'm upgrading from one version of Ubiubta (14) to 17.
On 14, I had a directory structure as follows:
/home/rvince/R/--i686-pc-linux-gnu-library
--Packages (which contains all my packages )
--Work (which contains all my scripts)
So when I invoke a commnd like:
R CMD BATCH /home/rvince/R/Work/ES50update.R R/Work/outfile.txt
it runs my script (ES50Update.R) properly.
I;ve moved the entire directory /home/rvince/R/ and all under it unto the
new Ubuntu install in my home directory again.
I've installed R-Base in Ububtu
When I invole the same command in the new Ubuntu install, my outfile.txt
shows the following. Clearly I've got something installed imporperly or
improperly configured:
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.
require(quantmod)
Loading required package: quantmod Warning message: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ?quantmod?
library(plan)
Error in library(plan) : there is no package called ?plan? Execution halted Thanks for looking at this. Ralph Vince
On Thu, Mar 17, 2016 at 4:02 PM, R Vince <rvince99 at gmail.com> wrote:
I'm upgrading from one version of Ubiubta (14) to 17. On 14, I had a directory structure as follows: R/--i686-pc-linux-gnu-library
My apologies to the group -- I understand this is for finance-related questions only, not system ones. Sorry.
On Thu, Mar 17, 2016 at 4:07 PM, R Vince <rvince99 at gmail.com> wrote:
I'm upgrading from one version of Ubiubta (14) to 17.
On 14, I had a directory structure as follows:
/home/rvince/R/--i686-pc-linux-gnu-library
--Packages (which contains all my packages )
--Work (which contains all my scripts)
So when I invoke a commnd like:
R CMD BATCH /home/rvince/R/Work/ES50update.R R/Work/outfile.txt
it runs my script (ES50Update.R) properly.
I;ve moved the entire directory /home/rvince/R/ and all under it unto the
new Ubuntu install in my home directory again.
I've installed R-Base in Ububtu
When I invole the same command in the new Ubuntu install, my outfile.txt
shows the following. Clearly I've got something installed imporperly or
improperly configured:
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.
require(quantmod)
Loading required package: quantmod Warning message: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ?quantmod?
library(plan)
Error in library(plan) : there is no package called ?plan? Execution halted Thanks for looking at this. Ralph Vince On Thu, Mar 17, 2016 at 4:02 PM, R Vince <rvince99 at gmail.com> wrote:
I'm upgrading from one version of Ubiubta (14) to 17. On 14, I had a directory structure as follows: R/--i686-pc-linux-gnu-library
Ralph,
On 17 March 2016 at 16:02, R Vince wrote:
| I'm upgrading from one version of Ubiubta (14) to 17. | | On 14, I had a directory structure as follows: | | R/--i686-pc-linux-gnu-library I religiously turn off R_LIBS_USER in /etc/R/Renviron to avoid that [1]. I recommended to everybody who cares to listen to do the same. If you do that, your path becomes R> .libPaths() [1] "/usr/local/lib/R/site-library" "/usr/lib/R/site-library" "/usr/lib/R/library" R> and all local installations go into the first of those three directories and survive upgrades. Hth, Dirk [1] And for a while had this globally turned in the official Debian and hence Ubuntu package but then the regexp broke. | | [[alternative HTML version deleted]] | | _______________________________________________ | R-SIG-Finance at r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-sig-finance | -- Subscriber-posting only. If you want to post, subscribe first. | -- Also note that this is not the r-help list where general R questions should go.
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org