simple_R_script_fail.txt

Log of simple R script processed by SEXTANTE - Irucka Embry, 2015-05-08 06:49 PM

Download (3.09 KB)

 
1
Algorithm [Unnamed algorithm] starting...
2
R execution commands
3
options("repos"="http://cran.at.r-project.org/")
4
tryCatch(find.package("data.table"), error=function(e) install.packages("data.table", dependencies=TRUE))
5
tryCatch(find.package("reshape2"), error=function(e) install.packages("reshape2", dependencies=TRUE))
6
tryCatch(find.package("openxlsx"), error=function(e) install.packages("openxlsx", dependencies=TRUE))
7
tryCatch(find.package("ggplot2"), error=function(e) install.packages("ggplot2", dependencies=TRUE))
8
tryCatch(find.package("scales"), error=function(e) install.packages("scales", dependencies=TRUE))
9
tryCatch(find.package("grid"), error=function(e) install.packages("grid", dependencies=TRUE))
10
tryCatch(find.package("gridExtra"), error=function(e) install.packages("gridExtra", dependencies=TRUE))
11
tryCatch(find.package("rgdal"), error=function(e) install.packages("rgdal", dependencies=TRUE))
12
tryCatch(find.package("compiler"), error=function(e) install.packages("compiler", dependencies=TRUE))
13
tryCatch(find.package("rgdal"), error=function(e) install.packages("rgdal", dependencies=TRUE))
14
tryCatch(find.package("raster"), error=function(e) install.packages("raster", dependencies=TRUE))
15
library("raster")
16
library("rgdal")
17
# remove all objects to free up the memory (RAM)
18
rm(list=ls()) # removes all list objects
19
options(error = utils::recover, scipen = 10) # for debugging purposes & to avoid scientific notation
20
library(data.table)
21
library(reshape2)
22
library(openxlsx)
23
library(ggplot2)
24
library(scales)
25
library(grid)
26
library(gridExtra)
27
library(rgdal)
28
library(compiler)
29
enableJIT(3) # enables just-in-time (JIT) compilation with argument 3. see ?enableJIT for more information
30

    
31
# Source 4 begins
32
ogrInfo("states2k/", "states2k")
33
USstates 
34
summary(USstates)
35
plot(USstates)
36
# Source 4 ends
37
R execution console output
38

    
39
R version 3.2.0 (2015-04-16) -- "Full of Ingredients"
40
Copyright (C) 2015 The R Foundation for Statistical Computing
41
Platform: x86_64-pc-linux-gnu (64-bit)
42

    
43
R is free software and comes with ABSOLUTELY NO WARRANTY.
44
You are welcome to redistribute it under certain conditions.
45
Type 'license()' or 'licence()' for distribution details.
46

    
47
Natural language support but running in an English locale
48

    
49
R is a collaborative project with many contributors.
50
Type 'contributors()' for more information and
51
'citation()' on how to cite R or R packages in publications.
52

    
53
Type 'demo()' for some demos, 'help()' for on-line help, or
54
'help.start()' for an HTML browser interface to help.
55
Type 'q()' to quit R.
56

    
57
options("repos"="http://cran.at.r-project.org/")
58
tryCatch(find.package("data.table"), error=function(e) install.packages("data.table", dependencies=TRUE))
59
Installing package into ‘/usr/local/lib/R/site-library’
60
(as ‘lib’ is unspecified)
61
Warning in install.packages("data.table", dependencies = TRUE) :
62
'lib = "/usr/local/lib/R/site-library"' is not writable
63
Error in install.packages("data.table", dependencies = TRUE) :
64
unable to install packages
65
Calls: tryCatch ... tryCatchList -> tryCatchOne -> -> install.packages
66
Execution halted
67
Converting outputs
68
Loading resulting layers
69
Algorithm [Unnamed algorithm] finished