[R] R on LinuxPPC

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sun Nov 7 22:12:16 CET 1999


cstrato at EUnet.at writes:

> > Hi,
> 
> Currently,  I am working with S-Plus on Win95, but I have now installed R
> on my PowerBook G3.
> 
> Now I have the following questions:
> 1, How can I see large tables?
> When the table is  a matrix, I can use "data.entry(ma)", however, when the
> table is a "data.frame"
> this seems not work.
> 
> 2, How can I scroll to the end of the table in this "data.entry" window?
> (e.g. with 10,000 rows)
> The keys <fn>-page up/down and <fn>-end don´t work (although they do work
> when I am using
> e.g. the midnight commander mc)

(This really has nothing to do with the PPC architecture, the problem
exists on all X11 platforms, but not on Windows because it isn't
implemented there...)

The data.entry function is a very old one and hasn't been updated for
a long while. Apparently most people don't use it much. As long as
data are purely numeric, it does sort of work, also for data frames
although it has an annoying habit of turning them into lists (fixable
with class(object)<-"data.frame"), but as soon as factors are
involved, everything comes to a halt.

It also contains a couple of pretty nasty bugs, and is very limited in
basic useability aspects (as you note, there's no "go to end" command,
and there's also no way of shuffling rows/columns around, inserting
things in the middle, etc.)

Don't be too surprised if this gets changed substantially in the future.

> 3, How can I see which functions I have defined in R?

ls()... If you really want only the functions, try something like:

functions<-  
function (...) 
{
    names <- eval.parent(substitute(ls(...)))
    prnt <- parent.frame()
    fcts <- sapply(names, function(s) is.function(get(s, envir = prnt)))
    names[fcts]
}


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list