similar to: R-package install

Displaying 20 results from an estimated 100000 matches similar to: "R-package install"

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?
2009 Jul 29
2
install package from CRAN
Hi, I have a very basic question about install packages from CRAN on unix. I only installed on Windows before. Should I use the command install.package? The error message I got is syntax error near unexpected token `"mvtnorm"' Is it because I didn't set the path? Which path should I specify? Thanks, Cindy [[alternative HTML version deleted]]
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 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
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]]
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
2010 Apr 22
2
install or uncompress package build in one platform in another platform
Hi, Is an R package built under Unix (package.tar.gz) could be installed on other platforms like windows or Mac? The compressed tar file (.tar.gz) built under Unix doesn't seem to be uncompressed under windows (unzip under windows instead of gunzip). How to proceed? Look forward to your reply, Carol
2013 Feb 13
2
How to install .tar.gz source package in Windows XP 32-bit operational system
Dear all mailing listers, I failed in install source packages in Windows system. I have installed Rtools in order to install the source package based on the discussion available on the following link: http://r.789695.n4.nabble.com/Installing-a-Package-tar-gz-in-windows-td3411393.html. By the way, only installing the Rtools is ok, isn't it? Do I need to run the Rtools? >
2010 Mar 11
2
ANNOUNCE--Rdsm package, a threads-like environment for R
My long-promised Rdsm package is now on CRAN. Some of you may recall that I made a prototype available on my own Web page last July. This is the official version, much evolved since I released the prototype. The CRAN description states: Provides a threads-like programming environment for R, usable both on a multicore machine and across a network of multiple machines. The package
2018 May 16
0
Installing an Archived Package
You can tell Macintosh not to automatically unpack tar.gz files. https://apple.stackexchange.com/questions/961/how-to-stop-safari-from-unzipping-files-after-download On Wed, May 16, 2018 at 11:24 AM, Evguenia Ignatova <evg.ignatova at gmail.com> wrote: > Hello, > > I am having difficulty installing the most recent compatible version of the ?polycor" package (0.7-8), for R
2018 May 16
0
Installing an Archived Package
On 16/05/2018 11:24 AM, Evguenia Ignatova wrote: > Hello, > > I am having difficulty installing the most recent compatible version of the ?polycor" package (0.7-8), for R 3.2.1 on my Mac. Here is the package source page: https://cran.r-project.org/src/contrib/Archive/polycor/ <https://cran.r-project.org/src/contrib/Archive/polycor/>. > > This version of R is necessary
2018 May 16
0
Installing an Archived Package
On 16/05/2018 2:15 PM, Evguenia Ignatova wrote: > Hello again, > > I did not expect the browser to automatically extract, so I changed the Safari setting and it downloaded as a ?gz? file. > > It is clear now that R is finding the package but I get a different error as follows: > >> install.packages("polycor_0.7-8.tar.gz", repos=NULL, type="source")
1999 Jan 08
2
mapping drives
I'm new to Samba, and we just loaded it here at our site to interact with NT. We're running Sun Solaris 2.5.1, and NT TERMINAL SERVER 4.0. (Forgive the caps, but we've found this multi user environment wreaks havoc on some applications). The drives are served out fine, and everyone can map under the user id they have logged onto NT with. All NT ids match the Unix id. However, you
2018 May 16
0
Installing an Archived Package
install.packages("/polycor_0.7-8.tar.gz", repos=NULL, type="source") The initial slash would be a problem - it means to find poglycor_0.7.8.tar.gz in the root directory. Remove the slash, find where the tar.gz file was put, and try using that location. Recall the destdir setting you used in download.packages or use file.exists() and dir() to help find it. Bill Dunlap TIBCO
2012 Feb 27
2
Installing package QRMlib
Hi, I am having real problems downloading the package 'QRMlib'. The tar.gz file is shown here: http://cran.r-project.org/src/contrib/Archive/QRMlib/ I have downloaded this to my local folder and entered the following command: nstall.packages("myLocalFolder/QRMlib_1.4.5.1.tar.gz", repos = NULL) but I am getting the following error message Installing package(s) into
2018 May 16
3
Installing an Archived Package
Hello Michael and Duncan, Thank you for your pointers. The file downloaded without the ?gz? extension to my R working directory folder as a ?tar? file. I did not unpack the file. I tried renaming the file and running the code with ?gz? added - please see below. > install.packages("/polycor_0.7-8.tar.gz", repos=NULL, type="source") Warning: invalid package
2018 May 16
5
Installing an Archived Package
Hello, I am having difficulty installing the most recent compatible version of the ?polycor" package (0.7-8), for R 3.2.1 on my Mac. Here is the package source page: https://cran.r-project.org/src/contrib/Archive/polycor/ <https://cran.r-project.org/src/contrib/Archive/polycor/>. This version of R is necessary for the R Essentials for the IBM Statistical Package for Social Sciences