similar to: eval parent.frame() twice

Displaying 20 results from an estimated 200 matches similar to: "eval parent.frame() twice"

2009 Aug 10
1
multicore mclapply hangs
When I execute mclapply it creates the needed processes, but these processes never begin computing anything, they just wait indefinitely. I recently upgraded to version 2.9.1, which might have caused the problem. -- Med venlig hilsen Rune Schjellerup Philosof Ph.d.-studerende, Statistik, IST, SDU Telefon: 6550 3607 E-mail: rphilosof at health.sdu.dk Adresse: J.B. Winsl?wsvej 9, 5000 Odense
2009 Dec 07
2
outputting functions in lapply
How come the k is 3 in all of this output? I expected it to be equal to r. > tmp3 <- lapply(1:3, function(k) function(r) print(paste(r, "<- r | k ->", k))) > for (i in 1:3) { tmp3[[i]](i) } [1] "1 <- r | k -> 3" [1] "2 <- r | k -> 3" [1] "3 <- r | k -> 3" -- Med venlig hilsen Rune Schjellerup Philosof Ph.d-stipendiat,
2010 Mar 12
1
Creating named lists
I often find myself making lists similar to this list(var1=var1, var2=var2) It doesn't seem list has an option, to make it use the name of the variable as name in the list. Is there another function that does this? -- Med venlig hilsen Rune Schjellerup Philosof Ph.d-stipendiat, Forskningsenheden for Biostatistik Telefon: 6550 3607 E-mail: rphilosof at health.sdu.dk Adresse: J.B.
2009 Jan 08
1
NAs are not allowed in subscripted assignments
Browse[1]> j <- c(1,2,NA) Browse[1]> j[j==1][-1] [1] NA Browse[1]> j[j==1][-2] [1] 1 Browse[1]> j[j==1][-2] <- 2 Error during wrapup: NAs are not allowed in subscripted assignments As far as I can see, I have no NA in the lhs (not after the second subscript anyway). Besides, I have a single value on the rhs, so it should be allowed to have NAs in the lhs, according to
2009 Sep 04
1
Redblack tree data structure
I need to use a red-black tree, which package provides that data structure? -- Best regards Rune Schjellerup Philosof Ph.d-stipendiat, Forskningsenheden for Biostatistik Telefon: 6550 3607 E-mail: rphilosof at health.sdu.dk Adresse: J.B. Winsl?wsvej 9, 5000 Odense C SYDDANSK UNIVERSITET _______________________________________________________________ * Campusvej 55 * 5230 * Odense M * 6550
2005 Nov 07
3
R thread safe
Dear R-dev, I would like to accelerate my R computation by using parallel OpenMP compilers (e.g from Pathscale) on a 2-processor AMD server and I would like to know whether R is a tread safe library. The main kernel of the OpenMP parallelization is a C SEXP function that performs the computational routine in parallel with: ******************* SEXP example(SEXP list, SEXP expr, SEXP rho) {
2013 Feb 09
3
help on plotting series with different x-axis values on a graph with one x-axis
Hi, I have run into this problem a couple of times now and hope you can help! If I want to plot mulitiple series with differing x-axis values (however, all in the same range) in 1 plot with one common axis R obstruses the plots. E.g. if I plot water content against time and I start with the sampler at 5 cm depth, it plots that one right. But the next depth, 15 cm, is measured at slightly
2007 Mar 23
2
concatenate 2 data.frames
Dear all, I would like to know how can I concatenate 2 data.frames into a single one. Both data frames have the same number of columns and the same class type in each correspondent column. So what I want is to have a new data.frame where I have first the values from one data.frame and then the values from a second data.frame would came after in this new data.frame. Thanks in advance. Med
2007 Mar 30
1
Model comparison
Dear all, I would like to know if I can compare by a significance test 2 models with different kind of parameters. Perhaps I am wrong but I think that we can only compare 2 models if one is a sub model of the other. Med venlig hilsen / Regards João Fadista Ph.d. studerende / Ph.d. student AARHUS UNIVERSITET / UNIVERSITY OF AARHUS Det Jordbrugsvidenskabelige Fakultet / Faculty of
2004 Jul 22
0
chgrp not consistent on AD groups
I have just set up 3.0.4 as AD memberserver on SuSE9.1 and try to set some access to a folder. getent group and getent passwd works fine, but "chgrp 'NAT-SDU%someADgroup' /data" fails with "chgrp: invalid group name 'NAT-SDU%someADgroup'". Strangely enough "chgrp 'NAT-SDU%some-otherADgroup' /data" works just fine. "chown
2003 Jul 04
0
Minor probs after upgrade to 3.0.0beta2
Firstly, I am running beta2 as AD member. Auth through Winbind. Upgrading from beta1 to beta2 using RPM on RH 9 I noticed that Winbind will not start and smb will not stop using Init scripts. Seems to me RH9 /etc/init.d/winbind need the "winbind uid" parameter ? Here is the /var/log/samba/log.winbind output. [2003/07/04 13:54:52, 1] nsswitch/winbindd.c:main(811) winbindd version
2006 Dec 09
0
Survfit plots in trellis graphics
Dear all, is there a way to produce survfit plots in a trellis environment? I am trying this: print(Ecdf(~time | size*type, groups=alg,data=B,subscripts=TRUE, panel=function(x,groups,subscripts) { t <- survfit(Surv(time[subscripts],event[subscripts])~groups[subscripts],data=B,conf.type="none")
2011 Dec 05
1
Toggle cASE
Hello R-help list,   I am looking for way to toggle the case of the characters like a flip-flop; that is from ''Hello'' to "hELLO" or vice versa.   I know that there are a number of functions like casefold, tolower, toupper, etc. but these functions change the case in an uniform way.   Thanks in advance,   Antonio Rivero Ostoic         Antonio Rivero Ostoic PhD Student,
2009 Nov 10
1
swapless pvm
What is the best practice in creating PVm domU''s - with or without swap? >From the admin point of view, especially in HA environment it is temptating not to have a seperate swap partition. Could it be performance issue if swapping to swap-file insted of swap-partition? What about pure swapless- no swapfile, no swap-partition? Any expirence out there? regards Longina -- --
2008 Jul 17
0
bonding+vlan+ bridging old vifs
Hi again, Bonding seems to work with mode =4. I have a strange problem now - can''t get rid of old virtual interfaces which were created on the first start up of xend. Even if I boot machine with xend disabled, I still have old stuff coming up: veth0-veth5, and vif0.0-vif0.3. I would like to configure all networkig manualy first - how can I remove those interfaces, where are they
2006 Dec 13
1
Passing arguments to panels in trellis plots
Dear all, I am trying to produce survfit plots in a trellis environment and I would like the plots to be logarithmic. I am trying this: print(Ecdf(~time | size*type, groups=alg,data=B,subscripts=TRUE, panel=function(x,groups,subscripts) { t <- survfit(Surv(time[subscripts],event[subscripts])~groups[subscripts],data=B)
2004 Jul 06
4
not updating changed local files
rsync version 2.4.6 protocol version 24 gin@rhysling:~> rsync -avv ~/share/cvs-xemacs-head/XEmacs/xemacsweb ~/share/public_html/xemacsweb building file list ... done ... xemacsweb/About/XEmacsServices.content is uptodate ... gin@rhysling:~> ls -l {~/share/cvs-xemacs-head/XEmacs/xemacsweb,~/share/public_html/xemacsweb}/About/XEmacsServices.content -rw-r--r-- 1 gin sdu
2012 Feb 03
3
replicate rows
Hello, I have a matrix of 17 rows and 20 columns. I want to replicate this matrix 20 times, but I only want to replicate the rows. How do I do that? Kind regards / Met vriendelijke groet / Med venlig hilsen, Dr. Gijs Schumacher Postdoctoral Researcher Department of Political Science and Public Management, University of Southern Denmark & Department of Political Science, VU University
2006 Aug 04
2
plotting picture data
Hi R users I have a dataset which represents points that are market by patients as the source of pain. Basically the patients indicates by a cross on a chest pictures where he/she thinks is the source of pain. The data was then digitalized by divinding the chest into small squares and each square was give value 1 if it was the center 2 if it was touched by the markings and 3 if it was not
2011 Jun 08
1
R command window
Hello. I'm a visually impaired statistician, working at the National Institute of Public Health in Denmark. I would like to use R for some analysis and have succesfully installed version 2.13.0 on my Windows XP labtop. I then would like to run R interactively but unfortunately the textfont of the command line in the R window is very hard for me to read. I use a special program called