Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

15 results for “from:Johann Petrak”

Hashes in R? Multivariate random numbers? Cholesky decomposition?
Johann Petrak · May 18, 2001 · r-help

Are there hashes in R? Or a package that implements hashes? I am also looking for multivariate gaussian random numbers. That brings me to: is there cholesky decomposition of a matrix? Johann -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci...

dribble for R?
Johann Petrak · Mar 5, 2002 · r-help

Is there something like the LISP function dribble in R? This would log all the output to a file but still show it on the terminal too. sink just diverts the output, but I dont see a way to do...

list to data frame by rows ...
Johann Petrak · May 9, 2001 · r-help

Ugh, newbie question ... : I have a list of vectors of equal size, like list(c(1,2,3),c(4,5,6)) and want to convert this into a data frame row-wise: 1 1 4 2 2 5 3...

reading in ASCII files
Johann Petrak · Sep 24, 2001 · r-help

I wonder if there is a way to read in CSV files so that - certain fields within each record (line) are ignored, i.e. not converted to columns in the output data frame - factors/levels are created automatically: often, the...

Accessing just the value of an object but not the attributes
Johann Petrak · Oct 2, 2001 · r-help

I have the feeling that this is a dumb question but oh well ... When I have an object x with several attributes, y <- x will make a copy of x with all the attributes included. What if I just want...

binary coding of NA, Nan etc.
Johann Petrak · Sep 28, 2001 · r-help

I wonder which binary codings to use for the different "special" values used in R. I want to create binary coded files of double, int, and string values that should get read into R using readBin. Now, what is the...

Avoiding deep copies
Johann Petrak · Oct 2, 2001 · r-help

Is it correct that there is no way of avoiding deep copying of data structures? Or asked from a different perspective, is it true that there are no pointers? :) (not that I am a fan of pointer, they just let...

reading in ASCII files
Johann Petrak · Oct 1, 2001 · r-help

Mark Myatt wrote: > Johann Petrak <johann at ai.univie.ac.at> writes: > >>- factors/levels are created automatically: often, the possible >> labels are known in advance and could immediately be >> converted. This would save a lot of memory and time for...

Accessing just the value of an object but not the attributes
Johann Petrak · Oct 2, 2001 · r-help

I see the role of as.vector(). But even if as.vector() needs to keep its attribute-dropping side-effect for compatibility reasons, wouldn't a dropattr() still be a good idea? For instance, I can assign attributes to closures...

non-interactive R usage...
Johann Petrak · Oct 5, 2001 · r-help

Chris Milkosky wrote: > Does R give you the capability to run a script (read as non-interactive) that would perform a statistical task, and then send output > to a file? For example: read a set of data from a file...

R-0.64.2 ssize_t not defined in src/unix/sock.h
Johann Petrak · Jul 16, 1999 · r-devel

I though I should let you all know of this: Trying to build R-0.62.2 on a SunOS xxxx 4.1.4 2 sun4m machine using gcc (gcc version egcs-2.91.57 19980901 (egcs-1.1 release...

list to data frame by rows ...
Johann Petrak · May 15, 2001 · r-help

Thanks to all who helped on this! Of course I messed up even my first help question on R and asked the wrong question :) >From list(c(1,2,3),c(4,5,6)) I wanted a data frame with...

list to data frame by rows ...
Johann Petrak · May 18, 2001 · r-help

Peter Dalgaard BSA wrote: > > > [...] > > > > cl <- 1:2 > > > > names(cl) <- c("a","b") > > > > as.data.frame(lapply(cl,function(i)sapply(result,"[[",i))) > > > a b > > > x x 2 > > > y y 4 > > > > [...] > Umm, did I come across as intended there? I'm...

list to data frame by rows ...
Johann Petrak · May 18, 2001 · r-help

I am not yet shutting up on this :) Thanks for the suggestions ... problem is that the code was given as an illustration, in reality do4split would do some complicated magic calculations that yield several interesting results of mixed type. Peter...

list to data frame by rows ...
Johann Petrak · May 17, 2001 · r-help

I still dont get the "feel" of R, maybe I am thinking to complicated/LISP-damaged ... I start with a dataframe like this: df<-data.frame(a=c("x","x","y","y"),b=c(1,2,3,4)) df a...

Can't find what you're looking for? Try searching with Google .