similar to: about loops

Displaying 20 results from an estimated 800 matches similar to: "about loops"

2010 Jan 20
3
question on runif
Hello! I have a question on uniform distribution. I want to plot n, say 20, points, uniformly distributed, in a circle, with radius=0.1 and center,say, (0.4, 0.8) I do not know how~ Thank you for your time. Yours Wolfgang Amadeus [[alternative HTML version deleted]]
2005 Apr 06
2
Precision
How precise is R numerically? For example I wrote the following function for calculating the volume of the ball inscribed in the unit cube in m dimensions. In order to see what happens in 40 dimensions, I created an output of 24 digits. But how many are precise? Thanks Josef Eschgf?ller Ferrara --------------------------------------- Vol = function (m) {if (m<=1) 1 else Vol(m-2)*pi/(m+m)}
2010 Jan 19
3
Help ~
Dear Helper: Thank you very much for your time on this question. It is a little long and complicated. Generate a clustered pattern in [0; 1]2 as follows: (a) Generate n, say 20, independent cluster centers (which can be called parents) that are distributed i.i.d. uniformly in the unit square; (b) then m,say 100, daughters are assigned i.i.d. uniformly to these parents and such that each
2004 May 23
1
A (maybe)_ easy solution to global login script for group checking
Hello While searching the archives and googling for : -login script to map drives according to group membership I saw lots of complicated solutions (on-the-fly scripts, group directories) etc. but the following works very well for me: I downloade dthe ifmember.exe from the microsoft website, and stuck it in the netlogon directory (not the scripts directory)
2007 Oct 29
2
Changing size of lattice plot?
Hi I am having a bit of difficulty with changing the canvas size on a trellis/lattice plot. I am plotting two "cubes" of 3-dimensional random numbers, as follows: library(gsl) library(lattice) q <- qrng_alloc(type="sobol", 3) npoints <- 200 rs <- qrng_get(q,npoints) # Plot the normal variates in a 3-dim cube p1 <- cloud(rnorm(npoints) ~ rnorm(npoints) +
2013 Apr 30
1
Trabajar con un argumento opcional como escalar o vector.
Estimada Lista, Deseo aplicar una función a cada fila de un data frame con un argumento opcional. En la función orginal, el argumento opcional debería poder ser escalar o vector. Necesito definir una función 'aplicaratodasfilas' que llama a otra función 'atomica' que no admite vectores y que requiere también argumentos opcionales. Pongo un ejemplo: # Se aplica a cada fila.
2007 Mar 28
1
How to place a call to a Google Talk user?
I am trying to "dial" a GTalk, ie @gmail.com, address. I inscribed this address in jabber.conf on the buddy= line. Upon executing the Dial application, I hear only a brief brief ring, then nothing. What might be the trouble? As the Dial application starts trying, the JABBER chatter on the console includes some "INCOMING" entries that name IP addresses. The one with
2011 Dec 15
3
From Distance Matrix to 2D coordinates
Dear All, I am struggling with the following problem: I am given a NxN symmetric matrix P ( P[i,i]=0, i=1...N and P[i,j]>0 for i!=j) which stands for the relative distances of N points. I would like use it to get the coordinates of the N points in a 2D plane. Of course, the solution is not unique (given one solution, I can translate or rotate all the points by the same amount and generate
2003 Feb 08
3
Bug moving file over link?
Can someone explain to me what is happening here: ~ $ touch foo ~ $ ln foo bar ~ $ ls foo bar bar foo ~ $ mv foo bar ~ $ ls foo bar bar foo I try to move a file over a hard linked copy of itself and the move fails, but there is no error. Is this the intended behavior? -- Ben Escoto
2002 Jun 19
4
drawing ellipses
Hello again, First I want to thank all the people who answered my question about line width in graphs. I promise I will learn the 'par' help page by heart for the end of the month ! I now want to trace some ellipses to emphasize groups of data. I found how to trace circles with 'symbols()', but no ellipse. I'm planning on writing my own function based on
2007 Dec 09
1
[LLVMdev] LLVM for static code analysis
Hi, Apart from the Calysto project ( http://www.cs.ubc.ca/~babic/index_calysto.htm), is there any other static code analysis tool based of the LLVM framework ? Calysto may be great but it seems that the source is not available (yet?). I was quite excited by Oink/Elsa few years ago but the project is almost dead even if the C++ parser is far from being complete. It seems to me that everything is
2007 Jul 24
1
crimtab related question
Dear all, the dataset documented under ?crimtab was also used in: @article{TreloarAE1934, title = {The adequacy of "{S}tudent's" criterion of deviations in small sample means}, author = {Treloar, A.E. and Wilder, M.A.}, journal = {The Annals of Mathematical Statistics}, volume = {5}, pages = {324-341}, year = {1934} } The following is
2006 May 19
1
trouble with plotrix package
Hello list, I wrote a simple program to plot data on polar axes, taking advantage of the plotrix package and its function radial.plot. The basic plot works fine, but I am having difficulties with the formatting. There are three problems, but I thought I would attack them one at a time. Here is the first: If my data set contains values with all vector lengths between 0 and 100 (and various
2012 Sep 02
1
Environment when NextMethod is used
I'm running into some hard-to-understand behavior with the evaluation environment when NextMethod is used. I'm using square-bracket indexing into objects, and the evaluation environment of the expression inside the square brackets seems to change depending on what kind of comparison operators are used. This behavior happens when the following conditions are met (this is what I've
1998 Dec 01
2
read.table
Sorry to all bothering you with a trivial question: I am using R (rw0630 for Win32) and am simply unable to read-in the *.txt data. I've tried to copy the file (prum.txt) to different directories of rw0630 but get uniformly the answer "object "prum.txt" not found". Which is the default directory for read.table() ?? Thanks! Z. Skala ++++++++++++++++++++++ Zdenek Skala
2010 Nov 11
3
Evaluation puzzle
The survexp function can fail when called from another function. The "why" of this has me baffled, however. Here is a simple test case, using a very stripped down version of survexp: survexp.test <- function(formula, data, weights, subset, na.action, rmap, times, cohort=TRUE, conditional=FALSE, ratetable=survexp.us, scale=1, npoints, se.fit,
2009 Mar 28
4
Wineasio in Mono = No Stereo
Hello all, I can't get stereo with wineasio, even the new verison of wineasio which I have compiled > 1.7.4. when I open an app with wine, I do see the connections in Qjack connections, but It is not in stereo Ardour can verify this, and both left and right connection are connected from wine to jack, I have googled for this answer to no aval and I have asked numerious times on IRC in
2017 Oct 02
2
Should we switch to --hash-style=both by default in LLD ?
> Le 3 oct. 2017 à 00:09, Rui Ueyama <ruiu at google.com> a écrit : > > I read through the binutils mailing list thread, but I couldn't find the exact reason why making --hash-style=gnu default except MIPS wasn't a good idea.Do you mind if I ask you to explain it again for me? > > Since lld is a new linker, we could make a bit more radical change than GNU ld can do,
2001 Sep 06
2
file.copy() problems on WinNT (PR#1085)
For some files, file.copy() doesn't copy these files correctly. Here you will find a file (Bitmap, 769Kb) to reproduce the problem: http://www.statistik.uni-dortmund.de/leute/ligges/R/test1.bmp Using file.copy("c:/test1.bmp", "c:/test2.bmp", overwrite = TRUE) produces a second file with the size of ~1.4 Mb: http://www.statistik.uni-dortmund.de/leute/ligges/R/test2.bmp
2008 Mar 31
3
nut with hal on Fedora 8
I bought a new CyberPower CP850AVRLCD ups, connected it to a usb port and I'm trying to use it with hal. I installed [root at phoenix ~]# rpm -q nut nut-client nut-2.2.0-6.1.fc8 nut-client-2.2.0-6.1.fc8 lsusb sees it: [root at phoenix docs]# lsusb Bus 001 Device 001: ID 0000:0000 Bus 005 Device 002: ID 0c45:1050 Microdia Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000