[ESS] ESS, install.packages() in R, and Windows

Henric Nilsson henric.nilsson at statisticon.se
Mon Dec 19 16:32:19 CET 2005


On Må, 2005-12-19, 16:11, A.J. Rossini skrev:

> This sounds like a library loading issue -- does it happen with Rterm
> outside of ESS?

No.

> If so, it's an R bug.  Otherwise, perhaps we should
> just "library(tcltk")" on starting up ESS/R on Microsoft as
> initialization code.   (or "windows()").
>
> Are you sure that tcltk isn't needed?  Aren't those GUI windows tcltk
> based, or are they merely non-tk Microsoft windows?

My guess is that they're "non-tk Microsoft windows". From an rterm.exe
session:

> install.packages()
--- Please select a CRAN mirror for use in this session ---

(In ESS, the process hangs here and the window that usually pops up with
the mirror sites is nowhere to be seen.)

I select the first mirror, and next the package listing pops up in a
window. I select the first package:

trying URL
'http://cran.au.r-project.org/bin/windows/contrib/2.2/aaMI_1.0-1.zip'
Content type 'application/zip' length 34412 bytes
opened URL
downloaded 33Kb

package 'aaMI' successfully unpacked and MD5 sums checked

The downloaded packages are in
        C:\Documents and Settings\Administratör\Lokala
inställningar\Temp\Rtmp4BxYob\downloaded_packages
updating HTML package descriptions

> search()
[1] ".GlobalEnv"        "package:methods"   "package:stats"
[4] "package:graphics"  "package:grDevices" "package:utils"
[7] "package:datasets"  "Autoloads"         "package:base"

No "package:tcltk" to be seen.


Henric




More information about the ESS-help mailing list