similar to: install package from CRAN

Displaying 20 results from an estimated 5000 matches similar to: "install package from CRAN"

2008 Aug 23
2
how to call a C-library in R
Hi, everyone, I need to use a C library. But since I have little experience in C, I want to call this C library in R and program the rest in R. Does anyone know how to do this? Thanks, Cindy [[alternative HTML version deleted]]
2009 Nov 15
4
pairs
Hi, All, I have an n by m matrix with each entry between 1 and 15000. I want to know the frequency of each pair in 1:15000 that occur together in rows. So for example, if the matrix is 2 5 1 6 1 7 8 2 3 7 6 2 9 8 5 7 Pair (2,6) (un-ordered) occurs together in rows 1 and 3. I want to return the value 2 for this pair as well as that for all pairs. Is there a fast way to do this avoiding loops?
2011 Apr 09
1
integration
Hi, All, I have a density function with 3 variables which is defined on some irregular domain, and I want to get the marginal distribution of each variable. Is there any function doing this? A simple example is p(x,y,z)=x*y*z*I(xy>z). So each marginal distribution is a function of the other two variables. My density form is very complicated, so I cannot do it by hand. I was just wondering if
2009 Aug 10
2
matrix power
Hi, All, If I have a symmetric matrix, how can I get the negative square root of the matrx, ie. X^(-1/2) ? Thanks, Cindy [[alternative HTML version deleted]]
2009 Jul 27
2
local regression using loess
Hi, All, I have a dataset with binary response ( 0 and 1) and some numerical covariates. I know I can use logistic regression to fit the data. But I want to consider more locally. So I am wondering how can I fit the data with 'loess' function in R? And what will be the response: 0/1 or the probability in either group like in logistic regression? Thank you, Cindy [[alternative HTML
2008 Jul 24
1
R-package install
Hi, I have a R package, which is a .tar.tar file. And it is said to be source code for all platforms. And the author said it should install on any system (but he didn't know about Windows). I am wondering if I can use this package in Windows R. Thank you, Cindy [[alternative HTML version deleted]]
2008 Jul 23
2
truncated normal
Hi, I want to generate random samples from truncated normal say Normal(0,1)Indicator((0,1),(2,4)). It has more than one intervals. In the library msm, it seems to me that the 'lower' and 'upper' arguments can only be a number. I tried rtnorm(1,mean=0,sd=1, lower=c(0,2),upper=c(1,4)) and it didn't work. Can you tell me how I can do truncated normal at more than one intervals?
2009 Feb 09
1
question about mean
Hello, everyone, I have a matrix like following: school value A .1 A .2 A .15 A .2 B .3 B .5 C .3 C .3 C .4 C .5 C .6 C .9 C 1 I want to get the mean 'value' for each 'school', but each school has different length. Is there any way to do this fast? Because my
2009 Jul 26
1
normal mixture model
Hi, All, I want to fit a normal mixture model. Which package in R is best for this? I was using the package 'mixdist', but I need to group the data into groups before fitting model, and different groupings seem to lead to different results. What other package can I use which is stable? And are there packages that can automatically determine the number of components? Thank you, Cindy
2008 Mar 23
2
problem with 'install.packages'
Hi, All: Is there a way to identify whether any users are using a particular package in a shared network R installation? I ask, because we have such a multiple-user installation and when I tried to install a package using Rgui that was in use by Rterm on a single-user installation, 'install.packages' deleted the existing package but failed to install the new version;
2002 Jul 09
1
RE: mvtnorm package installation failure
Hi, Thank you for the tip. I tried to re-intall R from Debian "stable", in which R's version is 1.4.0. And the installation of "mvtnorm" works. I then re-installed R yet again from Debian "unstable" (woody), in which R's version is 1.5.1. The installation of "mvtnorm" fails again with the same error message. Another package that failed with the
2011 Jun 10
2
Problem loading packages in R 2.13.0 on Mac
I am having problem loading packages in the newest version of R (2.13.0) on my Mac. I have tried to install various packages (e.g. lawstat, Rcmdr, car) and load them using the Package Installer and Package Manager menu options but I get the follow error: > library(lawstat) Loading required package: mvtnorm Error: package 'mvtnorm' could not be loaded In addition: Warning
2005 Nov 11
1
Recursive dependencies(Rcmdr)
Something might have slipped by me, but I got into the following situation installing Rcmdr: < install.packages("Rcmdr",depend=TRUE) > Oodles of Output, until: * Installing *source* package 'multcomp' ... ** R ** data ** inst ** preparing package for lazy loading Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library
2006 May 23
1
package installation problem
(this after asking the package author) Hi I cannot install the rmvnorm package under R-2.3.0, or R-2.3.1 beta. It installs fine under R-2.2.1. transcript for installation under R-2.3.0 follows. Robin-Hankins-Computer:~/scratch% R --version R version 2.3.0 (2006-04-24) Copyright (C) 2006 R Development Core Team R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to
2005 Sep 30
1
mvtnorm package
Hi all, I've been trying to install the "mvtnorm" package (in a Linux R version) without sucess. I write install.packages("mvtnorm",lib="/home/posmae/cnaber",repos="http://cran.uk.r-project.org/") and the following message arises ================================================== downloaded 160Kb * Installing *source* package 'mvtnorm'
2003 Apr 07
2
problem with mvtnorm installation
Hi all, I tried to install the mvtnorm library on linux (mandrake version) and i obtained the following result : /usr/bin/ld: cannot find -lreadline collect2: ld returned 1 exit status make: *** [mvtnorm.so] Erreur 1 ERROR: compilation failed for package 'mvtnorm' Could you help me ? Best regards, Olivier
2018 Apr 12
3
Bivariate Normal Distribution Plots
R-Help I am attempting to create a series of bivariate normal distributions. So using the mvtnorm library I have created the following code ... # Standard deviations and correlation sig_x <- 1 sig_y <- 1 rho_xy <- 0.0 # Covariance between X and Y sig_xy <- rho_xy * sig_x *sig_y # Covariance matrix Sigma_xy <- matrix(c(sig_x ^ 2, sig_xy, sig_xy, sig_y ^ 2), nrow = 2, ncol = 2)
2004 May 31
1
Several libraries won't load with rw1090pat (PR#6926)
# Your mailer is set to "none" (default on Windows), # hence we cannot send the bug report directly from R. # Please copy the bug report (after finishing it) to # your favorite email program and send it to # # r-bugs@r-project.org # ###################################################### Several libraries won't load with rw1090pat. MASS, which is included with the distribution,
2011 Jan 30
1
updating r-cran- packages on a new Ubuntu lucid system
I am setting up a new Ubuntu lucid system on a Dell Precision T3500, quad core, E5507, x86_64 box and am having some difficulty updating r-cran packages as per the instructions at http://cran.us.r-project.org/bin/linux/ubuntu Perhaps the instructions are incomplete or wrong, or I've misunderstood something, and/or I've run into a dependency problem among r-cran- packages, vcd in
2004 Apr 14
3
mvtnorm problems (II)
Thanks a lot for your help! Obviously I've tried to load it before by using the install.packages function but it didn't work. This is what I got > install.packages("mvtnorm") trying URL `http://cran.r-project.org/bin/windows/contrib/1.7/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 12485 bytes opened URL downloaded 12Kb Warning message: No package