similar to: question regarding names() value assignment

Displaying 20 results from an estimated 4000 matches similar to: "question regarding names() value assignment"

1999 Jun 23
4
does a factorial function exist
I've looked through the documentation with R-0.64.1 and have been unable to find a high-level function for evaluation of factorials (i.e., n!, not factorial designs). Is there such a function? It is trivial to code, so everyone could write their own, but it also would be worthwhile as a standard tool. I'm guessing I am just overlooking it.
1999 Jan 19
1
r-help[Q]: use of `expression' in annotation
Dear r-helpers, I have some multiplot figures that I would like to annotate. To each plot frame I would like to add the associated correlation coefficients. To do so, I believe I need to understand the usage of `expression' better. The following is a good start. petstring <- expression(paste(r[rho*p],"=" )) mtext(petstring, line=0.3, adj=0.1, cex=0.8) My question is,
1999 Feb 18
1
[Q] use of expression() in plot() vs. hist()
In plot() I can get greek symbols into text items without trouble. However, some of the same commands don't work as I would expect with hist(). See the example below. > plot(1:10, 2:11, xlab=expression(paste("scaled", rho))) ---- works as expected, ie. prints the greek rho > hist(c(0,0,0,0,4,5,6,6,6,8), xlab=expression(paste("scaled", rho))) Error: Object
1999 Apr 21
1
source("filename") vs. input from command-line
R-helpers, When I source("tmp.r") a file from within R, the code executes without error. When I launch with 'R --no-save --no-restore < tmp.r', the code sometimes appears to cause some type of buffer overflow and nothing gets executed. tmp.r contains: myData<-c(1,0, ... long vector of numbers) followed by a new line character and then some code to operate on myData. It
1998 Nov 20
4
R-0.63 for MsWindows
New files (at CRAN/binaries/ms-windows/win-32-devel ; available at least at Vienna; in a couple of days on every mirrors) - rw0630b.zip: binary distribution; it should run under Win3.1/Win32, Win95, Win98 and WinNT; - rw0630h.zip: `stardard help' files (the ones you see after help(topic) or ?topic); it also includes the help examples (the one needed by
1998 Nov 20
4
R-0.63 for MsWindows
New files (at CRAN/binaries/ms-windows/win-32-devel ; available at least at Vienna; in a couple of days on every mirrors) - rw0630b.zip: binary distribution; it should run under Win3.1/Win32, Win95, Win98 and WinNT; - rw0630h.zip: `stardard help' files (the ones you see after help(topic) or ?topic); it also includes the help examples (the one needed by
2006 Apr 17
0
difference of means as response?
Dear R users, I am looking for some advice on the proper construction of a mixed model in R, using the difference in means as the response and treating within-means residuals as a random effect. I have a dataframe (my own, a snippet of which is given below) that is composed of observations of pollen viability in flowers along tree branches. Flowers (1 to 3 per position) were collected from
1999 Jun 09
1
R correct g77 flags for Linux/Alpha (PR#208)
Hello, I was trying to compile R-base-0.64.1 on Linux/Alpha (RedHat 6.0). It compiled but it couldn't pass the make check (choked with tests/Examples/modreg-Ex.R). I used gdb, and it turned out that the src/library/modreg/src/sinerp.f was the problem. else if(j.eq.nk)then c1 = 0d0 c2 = 0d0 c3 = 0d0 endif > p1ip(1,j) = 0d0-
2011 Mar 18
1
[Announce] Samba 3.5.7, 3.4.12 and 3.3.15 Security Re leases Available
When I upgrade a major revision (3.4.x -> 3.5.x ), I always get a listing from "testparm -v" before and after the upgrade to make sure that a parameter (that I didn't specify in the config) didn't change it's default setting. ---------------------------------------------- Tony Hoover, Network Administrator KSU - Salina, College of Technology and Aviation (785) 826-2660
2007 Dec 13
0
New version of MBESS released
Hello useRs, MBESS (Methods for the Behavioral, Educational, and Social Sciences) has recently been released and should be on all of the mirrors by now (with binaries for Mac and Windows: http://cran.r-project.org/src/contrib/Descriptions/MBESS.html). The major contribution of MBESS is confidence intervals for noncentrality parameters (t, F, and chi-square) and standardized effect sizes (e.g.,
2007 Dec 13
0
New version of MBESS released
Hello useRs, MBESS (Methods for the Behavioral, Educational, and Social Sciences) has recently been released and should be on all of the mirrors by now (with binaries for Mac and Windows: http://cran.r-project.org/src/contrib/Descriptions/MBESS.html). The major contribution of MBESS is confidence intervals for noncentrality parameters (t, F, and chi-square) and standardized effect sizes (e.g.,
2006 Jun 12
1
r's optim vs. matlab's fminsearch
Hi, I'm having a problem converting a Matlab program into R. The R code works almost all the time, but about 4% of the time R's optim function gets stuck on a local minimum whereas matlab's fminsearch function does not (or at least fminsearch finds a better minimum than optim). My understanding is that both functions default to Nelder-Mead optimization, but what's different about
2006 May 05
2
Including a single function from a package
Hello all. I'm building a package where I want to include a function from two different packages. In particular, I want to include mvrnorm and hyperg_2F1 from MASS and gsl, respectively (but the specific functions do not matter). With what I've tried after reading the "Specifying imports and exports" section from the "Writing R Extensions" manual, I get an error:
2007 Jun 12
1
Using dll with Visual Studio Compiler
Hi, I have created a dll in Fortran and used the Visual Studio 2005 Compiler. I've read that certain problems can arise based on the compiler used and that these problems can sometimes cause R not to be able to access everything appropriately, but I've not found how to fix any of these problems. Specifically, after using dyn.load, I know the dll has been loaded because it is listed in
2009 Dec 11
1
Combining 3D/2D plots
Dear All, This is my first post to this mailing list (and yes, I did read http://www.r-project.org/posting-guide.html ) so please forgive any faux pas. I'm trying to make a visualization that looks like this http://www.gradient-da.com/img/temperature%20surface%20plot%20470x406.JPG(found through google). The idea is to have a 3D surface plot overlapping a 2d representation of a surface. I can
2005 Oct 24
1
Problems with pf() with certain noncentral values/degrees of freedom combinations
Hello all. It seems that the pf() function when used with noncentral parameters can behave badly at times. I've included some examples below, but what is happening is that with some combinations of df and ncp parameters, regardless of how large the quantile gets, the same probability value is returned. Upon first glance noncentral values greater than 200 may seem large, but they are in
2000 Jun 15
2
[PATCH] ./configure fails to recognize alphapca56 (R-1.1.0)
I think I reported this bug in the past. At that time, I was told that it is a bug of autoconf. ./configure does not recognize Linux on DEC Alpha 21164PC (a cheap version of Alpha EV56), so all the compilation flags were set incorrectly. I don't know the right way to fix it (I don't know how autoconf works yet ...), but the following patch fixes the problem. Thank you, Naoki Naoki
2010 Feb 27
1
R from Java (cluster heatmaps)
Hello All, I am trying to get cluster heatmaps using R from Java in my application. I got the Rserve using which I am able to make TCP/IP connection to R. I am trying to send a double[][] array (say 5x8 dimensions) to R and convert it into matrix using as.matrix() function in R. Is it correct to do this? Can I directly pass this array to dist() function to generate the distance matrix ? if not
2007 Jun 12
1
dyn.load( ) problem
I am trying to access a dll with dyn.load, but I get an error message box titled "R Console: Rgui.exe - Unable to Locate Component". The error message itself states "this application has failed to start because libifcoremdd.dll was not found. Re-installing the application may fix this problem." I have reinstalled the program (with full installation) but still get the same
2007 Apr 07
3
string edit distance
I have a column of words, for example "DOG" "DOOG" "GOD" "GOOD" "DOOR" ... and I am interested in creating a matrix that contains the string edit distances between each pair of words. I am this close -> ' ' <- to writing the algorithm myself (which will allow for different variations on the string edit rules, indels,