similar to: assigning to list element within target environment

Displaying 20 results from an estimated 1000 matches similar to: "assigning to list element within target environment"

2010 Oct 07
2
long double, C, fortran
I'm using .Call() to call C code from R under Windows (on an Intel Core 2 duo). The C code involves some very small numbers, and I think I'm losing precision using doubles. I thought I might use long doubles to see if I can get that precision back. I have a few questions: 1. Does this affect the portability to other OSs or processors? 2. I'm returning the results in a matrix. Will
2009 Apr 09
4
problems with integrate ... arguments
Hi everyone, I saw this problem dealt with here: http://markmail.org/search/list:r-project?q=integrate#query:list%3Ar-project%20integrate+page:1+mid:qczmyzr676pgmaaw+state:results but no one answered that request that I can tell. I'm having the same problem. I'm having problems passing arguments to functions that I'd like to integrate. I could swear this worked in the past, but I
2008 Aug 25
1
aov, lme, multcomp
I am doing an analysis and would like to use lme() and the multcomp package to do multiple comparisons. My design is a within subjects design with three crossed fixed factors (every participant sees every combination of three fixed factors A,B,C). Of course, I can use aov() to analyze this with an error term (leaving out the obvious bits): y ~ A*B*C+Error(Subject/(A*B*C)) I'd also like
2013 Jan 27
2
Loops
Dear Contributors, I am asking help on the way how to solve a problem related to loops for that I always get confused with. I would like to perform the following procedure in a compact way. Consider that p is a matrix composed of 100 rows and three columns. I need to calculate the sum over some rows of each column separately, as follows: fa1<-(colSums(p[1:25,])) fa2<-(colSums(p[26:50,]))
2008 Aug 26
1
environments
Hi there, I try to understand the usage of environments but I'm not sure if I get it. I wrote a test script like this: testenv <- new.env(environment()) myfun <- function(x) { print(testvar) testenv$testvar_2 <- 20 } environment(myfun) <- testenv testenv$testvar <- 10 myfun("hello") ls(envir = testenv) Now, I was wondering if there is any way to create new
2018 Apr 19
0
Question
Hi, I think he's talking about how much a statistical estimator is influenced by extreme datapoints, e.g. https://en.m.wikipedia.org/wiki/Robust_statistics#Breakdown_point Olivier -- Olivier Crouzet Assistant Professor @LLING UMR6310 - Universit? de Nantes / CNRS Guest Scientist @UMCG - University Medical Center Groningen / RijksUniversiteit Groningen > Le 19 avr. 2018 ? 11:00,
2004 Feb 08
3
Re: klibc - setenv broken
Kay Sievers wrote: > Hi, > this simple program compiled with klibc: > > #include <stdio.h> > int main(int argc, char* argv[]) > { > setenv("TESTENV", "happy", 1); > printf("TESTENV='%s'\n", getenv("TESTENV")); > } > > prints: > > ./env > TESTENV='(null)' > >
2017 Oct 31
0
Scatterplot3d :: Rotating x tick labels by x degrees
Hi Alex, this should be related to the "las" argument of "par()" but actually it does not seem to be parametered in scatterplot3d. Searching the net for "scatterplot3d las" provides a link to: https://stackoverflow.com/questions/25458652/specifying-the-orientation-of-the-axes-labels-in-scatterplot3d You may try the solution that is provided in this link or consider
2012 Aug 06
1
more efficient way to parallel
Dear All, Suppose I have a program as below: Outside is a loop for simulation (with random generated data), inside there are several sapply()'s (10~100) over the data and something else, but these sapply's have to be sequential. And each sapply do not involve very intensive calculation (a few seconds only). So the outside loop takes minutes to finish one iteration. I guess the better way
2017 Oct 31
1
Scatterplot3d :: Rotating x tick labels by x degrees
> On Oct 31, 2017, at 8:55 AM, Olivier Crouzet <olivier.crouzet at univ-nantes.fr> wrote: > > Hi Alex, > > this should be related to the "las" argument of "par()" but > actually it does not seem to be parametered in scatterplot3d. > Searching the net for "scatterplot3d las" provides a link to: > >
2017 Nov 01
0
Scatterplot3d :: Rotating x tick labels by x degrees
Hello, David, don?t worry about answering this question or any of my inquiries in the future. Not looking for code servants. Definitely not an expert at using the scatter plot 3D library. That being said, I plan on researching rgl as was recommended so kindly on a previous response to my question. Regards, Alex On Oct 31, 2017, at 4:13 PM, David Winsemius <dwinsemius at
2013 Oct 30
1
Configuring SPECIAL-USE Dovecot 2.0.9
Hi All, I'm trying to configure Dovecot 2.0.9 to support Outlook 2013. As I understand it, I need to configure XLIST. I have added imap_capability = +XLIST to 20-imap.conf When I try to query the IMAP folders I get an error "An IMAP command Failed". Looking at the logs I get XLIST Command not found. I can only assume that I'm missing something in the
2005 Feb 12
3
data.frame into list by columns; merge and row.names
Hi a) I want to make a list out of a data.frame, where each element of the list is a column of the data.frame. I looked in the archives and saw a lot of postings but surprsingly none elucidated me. I also tried the split, aggregate help files and counldn't see any easy way to do this. I wouldn't be surprised if it's there, but I really didn't see it. I solved the problem
2004 Oct 01
1
cumsum over a list or an array
Hello list, my question is related to svd of a matrix: b=matrix(rnorm(50),10,5) mysvd=svd(b) I would like to compute each xi where xi = di* ui %*% t(vi). I do it by : xlist=sapply(1:ncol(b), function(x1,y) y$d[x1]*y$u[,x1]%*%t(y$v[,x1]),y=mysvd,simplify=F) # result is a list xarray=array(sapply(1:ncol(b), function(x1,y) y$d[x1]*y$u[,x1]%*%t(y$v[,x1]),y=mysvd),c(nrow(b),ncol(b),ncol(b))) #
2019 Nov 14
2
Filesystem does not support posix ACLs
Thanks a lot for the reference how to make the regtest. One last question please, if understand this correctly, the --use-ntvfs isnot available by default when installing the Debian package, so I need to compile samba with --with-ntvfs-fileserver to make the option available? On 11/14/19 8:52 AM, Andrew Bartlett wrote: > On Thu, 2019-11-14 at 07:30 +0000, Ghassan Elrayah wrote: >> Hi,
2013 May 08
1
Xlist in userdb, Foldernames with whitespace?
Hello, i use dovecot 2.1.7 and exported all my XLIST FolderSettings to userdb Whole Story is here: http://dovecot.org/list/dovecot/2013-March/089209.html This is all successful, but there is one problem left. I use lines like this to realize individual XLIST Foldernames in usedb: namespace/inbox/mailbox=Sent namespace/inbox/mailbox/Sent/name=Sent namespace/inbox/mailbox/Sent/auto=subscribe
2004 Aug 24
2
bug or no?
The following code prints [1] 2, as it should temp<-function(ab,...){ print(ab) } temp(2,s=3) However, this code prints [1] 3: temp<-function(sb,...){ print(sb) } temp(2,s=3) It should still print [1] 2. It appears that if a variable in ... begins with the same letter as another variable, the value in the variable in ... overwrites the value in the variable with the same first letter. I
2004 Aug 24
2
function bug (PR#7199)
output of R.version platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 9.1 year 2004 month 06 day 21 language R The following code prints [1] 2, as it should temp<-function(ab,...){ print(ab) } temp(2,s=3) However, this code prints [1] 3: temp<-function(sb,...){ print(sb) } temp(2,s=3) It should still print [1] 2.
2019 Apr 07
1
selftest, help with a single test
Hi, Yes, you're right, the problems are due to the selftest environment failing to start up. In this case, you could just reproduce the same problem with: SELFTEST_TESTENV=s4member:local make testenv There may be some package dependencies you're missing in order to get selftest to run correctly. In a earlier message it looked like you were missing the python DNS package (python-dnspython
2019 Nov 15
1
Filesystem does not support posix ACLs
Hi again, it seems that the configure option (--with-ntvfs-fileserer, --enable-developer) are not available on samba-4.11.2. I get the following error: + --enable-developer --with-ntvfs-fileserver --sysconfdir=/etc/samba/ --mandir=/usr/share/man/ --sbindir=/usr/sbin/ --bindir=/usr/bin/ --without-systemd --with-statedir=/var/lib/samba --with-cachedir=/var/cache/samba