Displaying 20 results from an estimated 9000 matches similar to: "Missing CRAN Mirror"
2011 Nov 15
2
Problem creating reference manuals from latex
R Community,
I often am in need of viewing the reference manuals of packages and do not have Internet access. I have used the code:
path <- find.package('tm')
system(paste(shQuote(file.path(R.home("bin"), "R")),"CMD", "Rd2pdf",shQuote(path)))
someone kindly provided from this help list to generate the manuals from the latex files. This
2011 Aug 30
2
url prep function (backslash issue)
Greeting R
Community,
I am a
windows user so this problem may be specific to windows. I often want to source
files from within R
such as:
C:\Users\Rinker\Desktop\Research & Law\Data\School Data 09-10. To source
this file I need to go
through the
path and replace all the backslashes (\) with forward slashes (/). I usually do
this in MS Word
using the
replace option, however, I'd like
2012 Dec 10
1
Long equation in documentation
I have a long equation that I need to break in the R documentation of a package or it trails off the right hand side of the page. Here's the formula:
\deqn{Cov(r_{ist}, r_{iuv})= [.5\rho_{ist}\rho_{iuv}(\rho_{isu}^2 + \rho_{isv}^2 + \rho_{itu}^2 + \rho_{itv}^2) + \rho_{isu}\rho_{itv}+ \rho_{isv}\rho_{itu}-(\rho_{ist}\rho_{isu}\rho_{isv} + \rho_{its}\rho_{itu}\rho_{itv}) +
2011 Sep 21
1
Package dependency
Greetings R community,
I am making my first package and have run into the need to use other packages. I pass all the checks in the command prompt running Rcmd check package.name. In the Description file I have included:
Depends: R (>= 2.13), plotrix
Repository: CRAN
Now I create the zip file for windows 7. I delete my plotrix package from my library to create a setup where others
2011 Jul 14
1
(no subject)
Good Afternoon R Community,
I often work with very large data bases and want to search for select cases by a particular word or numeric value. I created the following simple function to do just that. It searchs a particular column for the phrase and returns a data frame with the rows that contain that phrase (for a particular column).
Search<-function(term, dataframe, column.name,
2011 Jul 30
3
ifelse returns
Greetings R Community,
I am working with the ifelse function and it is returning something unexpected. In the code the line with the MODE1 assignment the output is a vector [1] 4 5 6 but when I put the MODE1 object into the ifelse function [R}'s output for MODE1 is the first number from the string (4). Why is this? Given the supplied vector of x I would assume both the MODE1 and ifelse()
2011 Aug 27
1
Make a function work on an environemnt
In my R learning I've come across a situation in which a piece of code that works on the work space outside a function does not work inside the function. WARNING THIS EMAIL CONTAINES THE CODE:#rm(list=ls()) THIS WILL CLEAR ALL OBJECTS FROM YOUR WORKSPACE! When I use rm(list=ls()) and then ls() it shows character(0) So I tried to make a quick function to speed this up as follows:
2013 Aug 24
3
Parts of Speach Tagging
I was using tagPOS function from openNLP package for parts-of-speach. Now
the package is updated and the function is not present. Any suggestions how
to do it now ?
Thanks for your help.
--
Regards,
Siddharth Arun,
Contact No. - +91 8880065278
[[alternative HTML version deleted]]
2011 Mar 31
1
Sequential multiple regression
Hello,
In the past I have tended to reside more in the ANOVA camp but am trying to become more familiar with regression techniques in R. I would like to get the F change from a model as I take away factors:
SO...
mod1<-lm(y~x1+x2+x3).......mod2<-lm(y~x1,x2).......mod3<-lm(y~x1)
I can do this by hand by running several models in R and taking the MSr1/MSe1, MSr2/MSe2... This is
2011 Aug 23
2
Opening package manual from within R
Simple question but searching rseek did not yield the results I wanted.
Question: Is there a way to open a help manual for a package from within R.
For instance I would like to type a function in r for the tm package and R would open that PDF as seen here:
http://cran.r-project.org/web/packages/tm/tm.pdf
-The vignette function exists for vignettes [vignette("package.name")] so I
1997 Jul 10
1
R-beta: New Packages in CRAN
The following packages have been contributed to CRAN by Thomas Lumley:
integrate-1.0.tar.gz:
S function and supporting C and Fortran code for adaptive
quadrature. The underlyling fortran code is purported to
work in from 2 to 20 dimensions.
S original by Michael Meyer (mikem at andrew.cmu.edu).
R port by Thomas Lumley <thomas at biostat.washington.edu>.
[1997/07/10]
1997 Jul 10
1
R-beta: New Packages in CRAN
The following packages have been contributed to CRAN by Thomas Lumley:
integrate-1.0.tar.gz:
S function and supporting C and Fortran code for adaptive
quadrature. The underlyling fortran code is purported to
work in from 2 to 20 dimensions.
S original by Michael Meyer (mikem at andrew.cmu.edu).
R port by Thomas Lumley <thomas at biostat.washington.edu>.
[1997/07/10]
2011 Jun 13
1
Somers Dyx
Hello R Community,
I'm continuing to work through logistic regression (thanks for all the help on score test) and have come up against a new opposition.
I'm trying to compute Somers Dyx as some suggest this is the preferred method to Somers Dxy (Demaris, 1992). I have searchered the [R] archieves to no avail for a function or code to compute Dyx (not Dxy). The overview of Hmisc has
2010 Feb 10
1
Copyright on src/nmath/qnorm.c
At the top of src/nmath/qnorm.c it is stated:
* Copyright (C) 1998 Ross Ihaka
* Copyright (C) 2000--2005 The R Development Core Team
* based on AS 111 (C) 1977 Royal Statistical Society
* and on AS 241 (C) 1988 Royal Statistical Society
The routine is in fact an f2c'd version of AS241 from StatLib:
http://lib.stat.cmu.edu/apstat/241 and http://lib.stat.cmu.edu/apstat/
It
2011 Mar 12
1
Passing a character argument onto a function
I am a new R user and am beginning to employ function creation in my statistical work. I am running into a problem when I want to pass on a character (text) to the function as an argument. I have a simple example below to demonstrate this problem. I cannot seem to find a fix in my R book or in the blog posts. I'm sure this has been covered before but my newbie status means I lack the R
2002 Oct 28
2
Combining simulation results
In one saved workspace I have the results of a simulation experiment stored
as an array "resarray".
> dim(resarray)
[1] 10 6 500 3
In another workspace I have a similar array from another run of the
simulation.
I want to combine the two arrays into a single array of dimensions
10, 6, 1000, 3
What's the best way to do this?
Murray Jorgensen
Dr Murray Jorgensen
2011 Nov 08
1
Rd2pdf error after 2.14 upgrade
> The command Rd2pdf was rather useful for opening a package's manual
> when you don't have access to the Internet (by using latex to pdf
> conversion). However the way the function seems to operate changed at
> version 2.14 of R. The noted changes listed on CRAN for this function
> are as follows (which doesn't seem like it would affect my usage as
> below):
>
2011 Oct 19
1
Square ended segments
Good Afternoon R Community,
I am working on plotting behavior codes over short durations of time (a few seconds at a time over 1-2 hrs). I am utilizing as.POSIXct to store the time. I wanted to make a quasi time line using these time. I utilized the segments function to represent these times. However the segments rounds off at the ends and does not have the crisp look I need for my purposes.
2005 Dec 06
2
Constructing a transition matrix
Hi,
I would like to construct a transition matrix from a data frame with
annual transitions of marked plants.
plant<-c(1:6)
class<-c("seed","seed", "seed", "veg", "rep", "rep")
fate<-c("dead", "veg","veg","rep", "rep", "veg")
trans<-data.frame(plant, class, fate)
2011 Apr 03
1
Function for finding NA's
Quick question,
I tried to find a function in available packages to find NA's for an entire data set (or single variables) and report the row of missing values (NA's for each column). I searched the typical routes through the blogs and the help manuals for 15 minutes. Rather than spend any more time searching I created my own function to do this (probably in less time than it would