MatthewASimonson / r-orange

Automatically exported from code.google.com/p/r-orange
Other
0 stars 0 forks source link

Libraries not installing #504

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Working on Pier-Anne's computer.

Attempting to install the RSvgDevice package from R and keep getting the 
following error.

R:DEBUG : as.vector(installed.packages(lib.loc="C:/Program 
Files/Red-R/R/R-2.11.1/library")[,1])
['base', 'boot', 'class', 'cluster', 'codetools', 'datasets', 'foreign', 
'graphics', 'grDevices', 'grid', 'KernSmooth', 'lattice', 'MASS', 'Matrix', 
'methods', 'mgcv', 'nlme', 'nnet', 'plyr', 'reshape', 'RODBC', 'rpart', 
'spatial', 'splines', 'stats', 'stats4', 'survival', 'tcltk', 'tools', 'utils']
R:DEBUG : .libPaths()
['C:/Program Files/Red-R/R/R-2.11.1/library'] library paths
R:DEBUG : local({r <- getOption("repos"); r["CRAN"] <- 
"http://cran.r-project.org"; options(repos=r)})
R:INFO : Installing library RSvgDevice.
R:DEBUG : setRepositories(ind=1:7)
R:DEBUG : install.packages("RSvgDevice")
R:DEBUG : 
##################################
Error occured in the R session.
Error in install.packages("RSvgDevice") : unable to install packages 
The original query:
install.packages("RSvgDevice")
##################################

REDRCORE:CRITICAL : Library load failed

############################################################
Unhandled exception of type RuntimeError occured at 2011-04-20 21:44:20.168000:
Traceback:
  File: RSession.py, line 251 in require_librarys
    File: RSession.py, line 120 in Rcommand
      RuntimeError: Error in install.packages("RSvgDevice") : unable to install packages Original Query was: install.packages("RSvgDevice") 
############################################################

Original issue reported on code.google.com by kylecovi...@gmail.com on 21 Apr 2011 at 2:48

GoogleCodeExporter commented 9 years ago
Get the error for any call to install packages

R:DEBUG : 
##################################
Error occured in the R session.
Error in install.packages("Cairo") : unable to install packages 
The original query:
capture.output(eval(parse(text = "install.packages(\"Cairo\")")))
##################################

R:DEBUG : capture.output(eval(parse(text = "install.packages()")))
R:DEBUG : 
##################################
Error occured in the R session.
Error in install.packages() : unable to install packages 
The original query:
capture.output(eval(parse(text = "install.packages()")))
##################################

I can't figure this one out

Original comment by kylecovi...@gmail.com on 21 Apr 2011 at 2:54

GoogleCodeExporter commented 9 years ago
can you install packages with standalone R 2.11?

Original comment by anup.parikh on 21 Apr 2011 at 2:57

GoogleCodeExporter commented 9 years ago
It still happens when I manually set the repositories in rExecutor

 local({r <- getOption("repos"); r["CRAN"] <- "http://cran.sixsigmaonline.org/"; options(repos=r)})
setRepositories(ind=1:7)
install.packages('RSvgDevice')

I can do it with the standalone R, I'll test again.

Original comment by kylecovi...@gmail.com on 21 Apr 2011 at 3:02

GoogleCodeExporter commented 9 years ago
it theoretically installs but is not useable

> require(RSvgDevice)
Loading required package: RSvgDevice
> devSVG('test.svg')
Error in devSVG("test.svg") : unable to start device SVG
> ?devSVG
starting httpd help server ... done
> devSVG()
Error in devSVG() : unable to start device SVG

Original comment by kylecovi...@gmail.com on 21 Apr 2011 at 3:06

GoogleCodeExporter commented 9 years ago
I tried to install multiple packages at the same time. ran into a bunch of R 
session is locked errors. and hard crashed R. Almost crashed the whole computer.

after restarting red-r, trying to install any packages fails 

REDRCORE:CRITICAL : Library load failed

############################################################
Unhandled exception of type RuntimeError occured at 2011-04-20 21:44:20.168000:
Traceback:
  File: RSession.py, line 251 in require_librarys
    File: RSession.py, line 120 in Rcommand
      RuntimeError: Error in install.packages("ftc") : unable to install packages Original Query was: install.packages("ftc") 
############################################################

Original comment by anup.parikh on 1 May 2011 at 2:05

GoogleCodeExporter commented 9 years ago
was a permissions issue on 1.85b installer

Original comment by anup.parikh on 2 May 2011 at 12:17