search for: benilton

Displaying 20 results from an estimated 65 matches for "benilton".

Did you mean: venilton
2003 Jul 10
2
Administrative Share
Hi everybody, I've been looking for information on "how to create administrative shares", but I didn't find... Can you help me on this matter? Regards, -- Benilton Carvalho DE / IMECC / UNICAMP Red Hat Linux i18n Team
2006 Nov 29
1
tests for NULL objects
Hi Everyone, After searching the subject and not being successful, I was wondering if any you could explain me the idea behind the following fact: all(NULL == 2) ## TRUE any(NULL == 2) ## FALSE Thanks a lot, Benilton -- Benilton Carvalho PhD Candidate Department of Biostatistics Johns Hopkins University
2007 May 11
4
names of objects in .rda
Hi everyone, sorry if this was discussed before (and in this situation, could you please point me to the discussion in the archive? My search didn't seem to be effective). Is there a way of getting the names of objects in a .rda file without having to load it? Thank you very much, benilton -- PhD Candidate Department of Biostatistics Bloomberg School of Public Health Johns Hopkins University
2012 Mar 26
2
read.csv and field containing single quotes
...files is something I'm not in a position to interfere with, are there (preferably, "all in R") suggestions on how to handle such task? For the moment, I'm using my poor man's solution (below), but any tricks that would simplify this task would be great. Thank you very much, benilton parser <- function(fname, header=TRUE, stringsAsFactors=FALSE){ txt <- readLines(fname) txt <- gsub("^\"|\"$", "", txt) txt <- strsplit(txt, "\",\"") txt <- do.call(rbind, lapply(txt, function(x) gsub("\"&q...
2007 Jan 19
1
Suggestion on how to improve efficiency when using MASS:::hubers on high-dimensional arrays
...ls", but using MASS:hubers(). Ideally the final result would be an array [N x D x 3 x 2]. The following toy example demonstrates what I want to do, and I'd like to improve the performance when working on my case, where S=400 and N > 200000 Thank you very much for any suggestion. benilton ## begin toy example set.seed(1) N <- 100 S <- 5 D <- 2 outcome <- array(rnorm(N*S*D), dim=c(N, S, D)) classes <- matrix(sample(c(1:3, NA), N*S, rep=T), ncol=S) results <- array(NA, dim=c(N, D, 3, 2)) library(MASS) myHubers <- function(x) if (length(x)>1) as.numeric(h...
2003 Jul 10
2
DIAGNOSIS.TXT
...lem that I cannot log in from my NT4 box I noticed that: - Test 8 from DIAGNOSIS.TXT fails: from the NT machine I try: "net view \\server" and I have: "System error 5 has occurred. Access denied" I don't know how to handle this... Could you please help me? Regards, -- Benilton Carvalho DE / IMECC / UNICAMP Red Hat Linux i18n Team
2012 Feb 18
4
assigning NULL to a list element
...d(tmp0, c(d=NULL)) ## list with a/b/c only Given that I could use tmp0$a <- NULL to remove 'a', I seem to understand why appending NULL returns me the original list... But how should I proceed to actually have d=NULL (just like I have 'b' in tmp0 above)? Thank you very much, benilton
2007 Jun 06
2
name of the variable that will contain the result of a function
...ism that I can use to "learn" about the variable where foo(arg1) is going to be stored? For example: x <- foo(arg1) so, inside foo() I'd like to be able to get the string "x". if, foo(arg1) was used insted, I'd like to get NA. thank you very much, b -- Benilton Carvalho PhD Candidate Department of Biostatistics Bloomberg School of Public Health Johns Hopkins University bcarvalh at jhsph.edu
1998 Sep 15
7
Samba and NIS
Dear All, I am attempting to set up Samba 1.9.18p8 on a Sun E450 running Solaris 2.6. The Sun is configured as a NIS master serving a number of other Unix machines. It is our primary development platform acting as a NIS client and also has auto mounted home directories for users. Samba has been built using GCC 2.8.1 with the following options set: FLAGSM = -DSUNOS5 -DSHADOW_PWD -DAUTOMOUNT
2006 Nov 14
2
Problem with file size
...d object.size on each of the objects in each environment, and this is what I got: For Session 1: index1: 16204864 index2: 16204864 priors: 3336 params: 74353584 For Session 2: index1: 1049096 index2: 1049096 priors: 3336 params: 81829104 Is this increase from 23MB to 8.4GB expected to happen? Benilton sessionInfo() on both sessions is identical: > sessionInfo() R version 2.4.0 (2006-10-03) x86_64-unknown-linux-gnu locale: LC_CTYPE=en_US.iso885915;LC_NUMERIC=C;LC_TIME=en_US.iso885915;LC_COLLATE =en_US.iso885915;LC_MONETARY=en_US.iso885915;LC_MESSAGES=en_US.iso885915 ;LC_PAPER=en_US.iso88...
2006 Nov 14
2
Problem with file size
...d object.size on each of the objects in each environment, and this is what I got: For Session 1: index1: 16204864 index2: 16204864 priors: 3336 params: 74353584 For Session 2: index1: 1049096 index2: 1049096 priors: 3336 params: 81829104 Is this increase from 23MB to 8.4GB expected to happen? Benilton sessionInfo() on both sessions is identical: > sessionInfo() R version 2.4.0 (2006-10-03) x86_64-unknown-linux-gnu locale: LC_CTYPE=en_US.iso885915;LC_NUMERIC=C;LC_TIME=en_US.iso885915;LC_COLLATE =en_US.iso885915;LC_MONETARY=en_US.iso885915;LC_MESSAGES=en_US.iso885915 ;LC_PAPER=en_US.iso88...
2007 Jun 06
6
p-value from GEE
Hi to all, I found in the R-help archive how to calculate the p-value for a gee result: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/74150.html but there are two questions (I am afraid they are basic questions ...) 1. why is the result multiplicated with 2 2. how could I decide between lower.tail =TRUE and FALSE: example:
2007 Jun 12
1
Build Windows pkgs from source - online
...Not long ago, there was a discussion about building Windows packages from the source code and someone posted a link to a website to which we could submit the source and get the Windows version a while later. Could someone point me to that website or to where I can find such info? Thanks, -benilton
2012 Mar 09
1
extracting the i-th row of a matrix in a list of lists
...y(1:10, function(i) replicate(4, list(matrix(rnorm(100), nc=sample(c(2, 4, 5, 10), 1))))) what would be the value of J below? lapply(lapply(x1, '[[', 3), '[', i=2, j=J) or should I really stick with: lapply(lapply(x1, '[[', 3), function(x) x[2,]) ? Thank you very much, benilton
2011 Mar 01
1
changes in recent R-devel revisions?
...sses?, already loading ?oligoClasses? I don't see anything obvious in the name space that would indicate cyclic dependency and I wonder: a) if there were changes that were meant to affect this; b) what is the recommended strategy to solve this issue. Thank you very much for any suggestion, benilton
2012 Jun 05
1
length-0 list as dimnames
...umentation for dimnames(), it states that if value is a list "its components are either 'NULL' or a character vector with positive length of the appropriate dimension of x". Should dimnames() return an error on the example above? Thank you very much for your attention and time, benilton
2012 Mar 11
2
Efficient access to elements of a list of lists
...ind+lapply combo above? On this example, the combo takes roughly 20s on my machine... but on the data I'm working with, it takes more than 1 minute... And given that I need to repeat the task several times, the cumul. amount of time is significant for me. Thank you for any suggestion/comment, benilton
2012 Jul 07
1
creating a '[' method for an S4 class
...;[' and I wonder if someone could point me to the right direction: 1) Call the S4 object "obj" 2) Assume dim(obj) = c(10, 4, 2) 3) Suppose someone calls: obj[1:3,] , which is a mistake, given dim(obj); how do I detect such situations? Thank you very much for your attention and time, benilton
2008 Jan 01
4
access data inside package
Dear all, Happy new year! I posted a very similar question a few days ago, but probably too cluttered. Here is a tidy, minimal version: I want to make a package, with a data.frame d and a function f given below. Now, the function f needs to use the data.frame d. I could (and that's what I've done temporarily) make a local duplicate of this data.frame in the function definition,
2007 Jan 28
3
Inverse fuction of ecdf
Hi Everyone, I want to generate some random numbers according to some empirical distribution. Therefore I am looking for the inverse of an empirical cumulative distribution function. I haven't found any in R. Can anyone give a pointer? Thanks, Geoffrey _______________________________________________________=0A= =0A= =0A= The information in this email or in any file attached