similar to: Lexical Scoping: eval(expr,envir=)

Displaying 20 results from an estimated 7000 matches similar to: "Lexical Scoping: eval(expr,envir=)"

2004 Sep 22
1
S4 methods and polymorophism
Hello R Power Users, There is a rather large introduction you may skip to go directly to my question about S4 classes. I am working on some toy code to help me get in through S4 classes. Doing this homework, I have some questions about S4 classes. I have carefully read available help and some additional material such as Robert Gentleman's slides and special attention to "Programming
2003 Dec 18
3
Summaries
Hello UseRs: Excuses for my english. I have a dataset with 65000 records and I'd like to make a summary where I can view all the values (with the number of times that it repeats) that there are each column of my dataset. I tried with summary( ), str( ), but nothing gives me the result that I am loking for. Thank you very much.
2005 Feb 15
2
special symobol / character
Hi all, Is it possible to add a permil (or per mille) symbol to an R plot (I couldn't find this symbol under demo(Hershey) or the plotmath information). In some ascii tables it is symbol no. 137. cheers, Matt. [[alternative HTML version deleted]]
2004 Nov 09
2
do.call invoking a function with multiple arguments
Hi users, I am not sure to understand the help page about do.call. -- do.call(what, args) args: a _list_ of arguments to the function call. The 'names' attribute of 'args' gives the argument names. -- If we take the following sample data: > (tab=as.data.frame(table(factor(1:10)))) Var1 Freq 1 1 1 2 2 1 3 3 1 4 4 1 5 5
2004 Jun 04
1
[Wish]: Add "..." argument to library function
Hello, I would find it very usefull to have the ability to load packages with options. Consider for example the SciViews package Philippe and me are working on. When loading on Windows, it automatically loads the associated GUI executable. It should be convenient to have an option not to load the exe but still have an access to the R functions of the package. For that, I think a simple change
2004 Apr 27
5
parsing a data file
Hi, I need to parse a data file (output of a measuring device) of the following format: BEGIN RECORD [first record data] RECORD [second record data] RECORD [third record data] END Line breaks can (and do ;-() occur anywhere. White space behaves very much like TeX, eg it is not important whether there are one or more spaces or linebreaks as long as there is one of them. It is a text file, not
2005 Jan 14
1
S3/S4 classes performance comparison
Hi R-devel, If you did read my survey on Rhelp about reporting, you may have seen that I am implementing a way to handle outputs for R (mainly target output destinations: xHTML and TeX). In fact: I does have something that works for basic objects, entirely done with S4 classes, with the results visible at: http://www.stat.ucl.ac.be/ROMA/sample.htm http://www.stat.ucl.ac.be/ROMA/sample.pdf To
2004 Nov 29
3
Differences between "$" and "[["
Hi, If I define the following list: > (l<-list("text-align"="right")) $"text-align" [1] "right" I know that I can't use l$text-align, as the parser will find a '-' operation. If I want (need) to use special names, as "text-align", I have to enclose it between "". So I can use: l$"text-align" or
2005 Jan 12
1
[survey] R for Reporting - the R Output MAnager (ROMA) project
Hi R UseRs, I am interested in providing Reporting abilities to R and have initiated a project called R Output MAnager (ROMA). My starting point was my R2HTML package which provides (rough) HTML exportations. I began with trying to mimic it for LaTeX but fastly did realize that it was a bad idea. Thus, I started again from scratch a new package and did spend a lot of time reading about this
2003 Feb 07
2
My remark on libraries
Hi R community, These days, I am writing some functions to work with 2-ways frequency tables ; you know all this tuff about measures of association: Chisq and derived (phi, cramer's v), tau b, tau c, somer's d and so on. So I consider all those functions could be gathered in a single R file, as they are coherent and dealing with the same problem / objective (analysis of crosstables).
2005 Jun 07
1
htlm3D made4
Hi, I would like to know if people have found the package made4 to load! I would like the .zip If you have the @ on internet to load it please give me it! Thanks a lot, Sabine --------------------------------- [[alternative HTML version deleted]]
2004 May 27
2
manipulating elements of a vector
Dear R users; I would like to convert a series of vectors to matrices in the following way; (2,1,1) to a matrix 1 0 0 1 0 0 0 1 0 0 0 1 The idea is that the column sum of the matrix should be equal to the elements of the vector. Thanks. Vumani
2005 Feb 08
2
rename object
Dear list, I would like to rename an object as follows: SimLUall <- matrix(c(0,1,0,0, 1,0,0,0, 0,0,1,0, 0,0,0,1),nrow=4, ncol=4) j <- 2 SimLUall2 <- SimLUall and j The value of j should be assigned automatically to SimLUall. How can I achieve this? Regards, Ulrich
2005 Apr 04
1
Object item extraction
Hello I am able to extract partial regression coefficients from a fitted model object "model", i.e. model <- lm(var.sel.gkm, weights = count.gkm, data = DATA) summary(model) write.table(model$coef, file = "C:/coef_CO_gkm.txt", row.names = TRUE, col.names = TRUE) I was wondering if anyone could advise me how to extract other object items such as std. error, t-values
2005 May 20
1
attached file with syntax error
oops, I forgot to attach the example txt file with the syntax error, so I will do it here, can anyone see what the error is with bryansAtLineLevel? -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: r.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050520/c55da2f4/r.txt
2005 Feb 18
3
Hosting a R Graph Gallery?
Dear R users, Following some of the recent questions and discussions about the R plotting abilities, it occurred to me again that it would be very valuable to have an R graph gallery. Eric Lecoutre made a very nice example in: http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf It would be very useful to many beginners, but probably also advanced users of R, to have an
2005 Jun 02
1
DEM calculation
Hello R-World, i am trying to calculate data for a DEM (Digital Elavation Model) which i also want to plot in R. i have the coordinates for the lower left corner which look something like this: x<-42,2 y<-50,5 besides i have the cellsize of the grid, which is: z<-1,1 what i do is to calculate the corrdinates of the cells to the right and top, what i can do by specifying the number of
2002 Jun 20
1
Argument visible of addTaskCallback
Hello, I have a question about addTaskCallback It is said that the argument visible allows to know wether the result of the top-level evaluation was printed or not. Nevertheless, in the following example, I encountered a problem, as it seems not all printed objects are visible... Could someone tell me where is the tip? TIA
2004 Jun 23
1
converting apply output
Hi - platform powerpc-apple-darwin6.8 status major 1 minor 9.0 year 2004 I am trying to deal with the output of apply(). As indicated, when each call to 'FUN' returns a vector of length 'n', then 'apply' returns an array of dimension 'c(n, dim(X)[MARGIN])'. However, I would like this to be a list in the same format as is produced when 'FUN'
2004 Dec 01
1
split() and paste() a vector to get a multi line string
How can I get a multi line string from a vector of string tokens in an easy manner (e.g. for the use as xlab of a plot)? I have e.g.: > tokens <- letters[1:5] [1] "a" "b" "c" "d" "e" I search: [1] "a, b, c\nd, e" I tried: > nlines <- 2 > ntokens.line <- ceiling(length(tokens) / nlines) > token.list <-