google-code-export / r-orange

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

Problem with loading of packages (at startup and with RODBC) #470

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use Red-R 1.85alpha on Windows 7 64

>What steps will reproduce the problem?
1.Open Red-R application
2.There is error messages in the output window about the load of Red-R packages.

  REDRCORE:INFO : Loading repository of packages.
  REDRCORE:ERROR : Exception occurred in C:\Program Files (x86)\Red-R\Red-R-1.85alpha\libraries\base\widgets\dataEntry.py: invalid syntax (dataEntry.py, line 69)
  REDRCORE:ERROR : Exception occurred in C:\Program Files (x86)\Red-R\Red-R-1.85alpha\libraries\base\widgets\RVarSeparator.py: invalid syntax (RVarSeparator.py, line 20)
  REDRCORE:ERROR : Exception occurred in C:\Program Files (x86)\Red-R\Red-R-1.85alpha\libraries\stats\widgets\RedRattributes.py: No module named RVariable
  REDRCORE:INFO : Finished loading repository of packages.
  REDRCORE:INFO : Loading repository of packages.
  REDRCORE:ERROR : Exception occurred in C:\Program Files (x86)\Red-R\Red-R-1.85alpha\libraries\base\widgets\dataEntry.py: invalid syntax (dataEntry.py, line 69)
  REDRCORE:ERROR : Exception occurred in C:\Program Files (x86)\Red-R\Red-R-1.85alpha\libraries\base\widgets\RVarSeparator.py: invalid syntax (RVarSeparator.py, line 20)
  REDRCORE:ERROR : Exception occurred in C:\Program Files (x86)\Red-R\Red-R-1.85alpha\libraries\stats\widgets\RedRattributes.py: No module named RVariable
  REDRCORE:INFO : Finished loading repository of packages.
  REDRCORE:INFO : Make a new tab called General.

3.Open template I've created (I put the file in attachement)
4.The application ask me "You are missing some key files for this widget. 
RODBC. Would you like to download it?". Note: it ask me this question every 
time I open this template, even if I answered yes previously.
5.An error appeared in the output window

  R:INFO : Installing library RODBC.
  R:CRITICAL : Error occured in the R session. The orriginal query was install.packages("RODBC"). The error is Error in install.packages("RODBC") : unable to install packages .
  REDRCORE:ERROR : 

  ############################################################
  Unhandled exception of type RuntimeError occured at 2011-01-28 12:55:16.611000:
  Traceback:
    File: RSession.pyc, line 200 in require_librarys
      File: RSession.pyc, line 81 in Rcommand
        RuntimeError: Error in install.packages("RODBC") : unable to install packages Orriginal Query was: install.packages("RODBC") 
  ############################################################

  R:CRITICAL : Library load failed
  REDRCORE:INFO : Make a new tab called General.

>What is the expected output? What do you see instead?
That all package load correctly without errors and that the application upload 
templates only on templates update

Original issue reported on code.google.com by lavoie.r...@gmail.com on 28 Jan 2011 at 6:02

Attachments:

GoogleCodeExporter commented 9 years ago
This is a current issue with the libraries function.  Don't know if RODBC works 
on win 64.  should test and exclude if platform.archetecture != '32bit'

Original comment by kylecovi...@gmail.com on 28 Jan 2011 at 7:38

GoogleCodeExporter commented 9 years ago
Issue 468 has been merged into this issue.

Original comment by kylecovi...@gmail.com on 28 Jan 2011 at 7:40

GoogleCodeExporter commented 9 years ago
excel problem fixed on 32bit windows,

don't know about the library error.

Original comment by kylecovi...@gmail.com on 31 Jan 2011 at 1:00

GoogleCodeExporter commented 9 years ago
Issue 469 has been merged into this issue.

Original comment by kylecovi...@gmail.com on 31 Jan 2011 at 1:01

GoogleCodeExporter commented 9 years ago

Original comment by anup.parikh on 4 Feb 2011 at 4:33

GoogleCodeExporter commented 9 years ago
I have a 64bit machine and does not have issues using the RODBC package that 
come with the Red-R installer.
Can you navigate to your red-r install directory. 
check if R/library/RODBC exists? 

Open R/bin/Rgui.exe

If RODBC exists type
> require(RODBC)

does it load?

If RODBC does not exist:
> install.packages("RODBC") 

Does it install? 

Original comment by anup.parikh on 4 Feb 2011 at 4:42

GoogleCodeExporter commented 9 years ago

Original comment by anup.parikh on 9 Feb 2011 at 10:54