similar to: how to in XML on windows XP for R 1.9.1

Displaying 20 results from an estimated 600 matches similar to: "how to in XML on windows XP for R 1.9.1"

2004 Sep 10
2
loading Sjava
I'm excited about SJava, and I'ld love to get it working, but can't get past loading the package. .First.lib fails on this statement: > library.dynam("SJava", "SJava", "C:/PROGRA~1/R/rw1091/library") Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library
2003 Oct 02
6
how calculate mean for each group
Hello, R experts: I got data like this: group duplicate treatment A Y 5 A Y 3 A N 6 B Y 2 B N 4 B Y 1 How to sort the data and calculate the average treatment value for each group in two level of duplicate. Results like this: group duplicate treatment A Y 4 A N
2004 Oct 12
2
Why I can't retrieve GO identifier correctly?
Hello, R experts, I tried to retrieve all biological process GO terms at level 3 starting "biological process" as level 1 using the code as bellows: 1 library(GO) 2 library(GOstats) 3 level2<-getGOChildren("GO:0008150")$"GO:0008150"$Children 4 for ( i in 1:length(level2)) { 5 level3 <- getGOChildren(level2[i])$level2[i]$Children 6 for ( j in
2004 Jan 15
3
how to overlap plots
Dear R experts: Can you help me to overlap a histogram and theoretical density curve of poison distribution? for example data like this: The numbers of sanils found in each of 100 sampling quadrats in an area were as follows: number of snails, r 0 1 2 3 4 5 8 15 f=frequency of r 69 18 7 2 1 1 1 1 apparently this is not Poison but near to Poison, How to overlap the theoretical desity curve to
2005 Feb 17
2
How to upgrade library from R 1.9.1 to R 2.0.1
Dear All: I have a library for R 1.9.1, it is very easy to setup a library in R 1.9.1. For example: I want to setup a library "test" for R1.9.1. 1. Create a folder "test" in the direct X:\ R\ rw1091\ library \. 2. Create a file "DESCRIPTION" in the direct X:\ R\ rw1091\ library\ test\. 3. Modify the "Package:" and "Title:"
2003 Sep 13
2
what does this error mean?
Dear R-users: I am runing R 1.6.2 with Windows XP. I try to calculate Pearson correlation and Spearman correlation of any pairwise columns of 8000 x 80 data matrix with missing values and randomize the matix 1000 times and calculate this two correlations again. The code bellow for Pearson is working fine but for Spearman got the error bellow for randomized data matrix and R console is stop
2008 Oct 30
3
why does sample(x, n) give the same n items in every separate runs?
Hello R users, I have gene expression data of two groups of genes (large and small). Gene expression intensities of those genes are classified into 1 to 10 levels. What I want is to make a random set of genes that have the same levels as the small group from large group using sample(). I used smallvec to hold the number of genes in each levels (1 to 10) for small group, largevec for large group.
2010 Jul 16
3
how to skip a specific value when using apply() function to a matrix?
Hello R experts, I'd like to studentize a matrix (tmp1) by column using apply() function and skip some specific values such as zeros in the example below to tmp2 but not tmp3. I used the script below and only can get a matrix tmp3. Could you please help me to studentize the matrix (tmp1) without changing the zeros and generate a new matrix tmp2? Thanks, Joshua tmp1 [,1] [,2] [,3] [,4]
2004 Sep 22
2
Facing problems with C code compilation - Please help.
Hello, I started using R a month ago - so I am a novice in this area. I am stuck with a problem and need some help urgently. I am using windows version of R 1.9.1. I am trying to compile C code in it. I have my C code - "hello.c" is lying in C:\Program Files\R\rw1091 This code is - #include <R.h> void hello(int *n) { int i; for(i=0;i< *n; i++) {
2004 Jul 14
1
RCMD fails in Windows XP
I have setup R 1.9.1 on my Dell laptop running windows XP. I have installed it to C:\R\rw1091. Rgui runs fine, but Rcmd fails if run with parameters (i.e. install). The windows dialog box cheerfully says "R for Windows front-end has encountered a problem and needs to close. We are sorry for the inconvenience." Running the visual C++ debugger informs me that there is an unhandled
2003 Aug 28
1
how to randomize data matrix
Dear R users: Is there a function or easier way to randomize the data between rows (considering a row as a whole unit)? For example, original data: A1 A2 A3 A4 B1 1 2 3 4 B2 5 6 7 8 B3 9 10 11 12 B4 13 14 15 16 randomized data: A1 A2 A3 A4 B4 13 14 15 16 B2 5 6 7 8 B1 1 2 3 4 B3 9 10 11 12 Thank you for your attention! Joshua
2005 Dec 02
1
how to make a sub list from a long list using the component name?
Hello, R users, I have a long list with over 20,000 elements (say foo), now I want to make a sub list of 30 elements from this list using the component names such as subname<-c( "a", "b", "d", "f", "g", "h", "o", "q",...). One way to do it is to make rest of elements in the list NULL, that is too silly. Is there
2004 Aug 27
3
About passing parameter to '.R' script file
Hi, I am trying the 'R' application for generating the data for the uploaded '.gpr' file. I have written script file named 'test.R'. Currently i have hardcoded the path of uploaded '.gpr' file in the script itself. I would like to know how to pass a command line parameter to the 'test.R' script file, so that i dont have to hardcode the path and filename
2004 Jul 06
3
Code density functions
Hello I would like to see the algorithm that R uses to generate density functions for several distributions (i.e. Normal,Weibull, etc). I tried: >dnorm function (x, mean = 0, sd = 1, log = FALSE) .Internal(dnorm(x, mean, sd, log)) <environment: namespace:stats> How can I see the code used for densities? Thanks!
2004 Aug 27
2
about passing parameter to '.R' script file (PR#7201)
Hi, I am trying the 'R' application for generating the data for the uploaded '.gpr' file. I have written script file named 'test.R'. Currently i have hardcoded the path of uploaded '.gpr' file in the script itself. I would like to know how to pass a command line parameter to the 'test.R' script file, so that i dont have to hardcode the path and filename
2004 Jul 03
1
Installation of R in Windows
I tried to install R (V 1.9.1) on an XP Home Edition box with loads of disk space and 256 MB of RAM. During installation, I get messages stating that some files are corrupted. I used two copies of the install exe downloaded from different sites and still get the same messages at the same spots in the install. What do I need to do to get around this? I ran md5sum on the downloaded exe file:
2004 Aug 27
4
Running R from CD?
At work I have no permission to install R. So, would anyone know whether it is possible to create a CD with a running R-installation for a windows(XP) pc? And of course, how to? Thank you for your help, Hans van Walen
2004 Aug 05
1
Local library on Windoze.
I'm mystified by a Windoze ``phenomenon'' which has just bitten me. I have a laptop which boots either Windoze or Linux; I (sad to say) need the Windoze OS for teaching purposes. I have R 1.9.1 installed on the laptop in the Windoze OS. Just now I decided to install, under the Windoze version of R, a library (``Misc'') of some local functions that I have collected over the
2007 Jul 12
1
how to estimate treatment-interaction contrasts
Hello, R experts, Sorry for asking this question again again since I really want a help! I have a two-factor experiment data and like to calculate estimates of interation contrasts say factor A has levels of a1, a2, and B has levels of b1, b2, b3, b4, and b5 with 3 replicates. I am not sure the constrast estimate I got is right using the script below:
2007 Mar 14
1
How to transform matrices to ANOVA input datasets?
Hello, R experts, I have a list called dataHP which has 30 elements (m1, m2, ..., m30). Each element is a 7x6 matrix holding yield data from two factors experimental design, with treatment in column, position in row. For instance, the element 20 is: dataHP[[20]] col1 col2 col3 trt1 trt2 trt3 [1,] 22.0 20.3 29.7 63.3 78.5 76.4 [2,]