similar to: Creating Packages with Windows under R 2.0.0

Displaying 20 results from an estimated 8000 matches similar to: "Creating Packages with Windows under R 2.0.0"

2003 Apr 23
1
Comparing formulas
Dear All, I want to compare formulas resulting from using stepAIC() on glm() objects. I have 2 different formulas, say F1 and F2, which consist of about 10 factors (Y~A+B+C+...) but one has an interaction term (A:B) while the other doesn't. But when I perform F1==F2 it comes back as TRUE. Is there a proper way to compare formulas? ------------------------------------------- Jeffrey M
2008 Apr 24
1
system() function
Hi, I am trying to run the command: R CMD INSTALL -l mypath mypackagename from within R (Windows XP) using system() and get the following error: ARGUMENT 'CMD INSTALL -l D:/R/JMB.LIBS jmb.test' __ignored__ Fatal error: you must specify '--save', '--no-save' or '--vanilla' My function contains these 3 lines: setwd("D:/R/R.pkgs") # path to files set
2003 Apr 14
7
functions in a package
Hello, I have a beginner's Q: if i want to know all the functions provided by a package, what is command for that? in another word, Is there a command to list all the commands available in a packege? thanks a lot, yan
2006 May 10
1
attach() warning message
Hi, I am using R 2.3.0 and my .First() file has the following line which causes a warning: attach(what="c:/r/jmb/.RData", pos=3) I get the following message after .First() is loaded: During startup - Warning message: use of NULL environment is deprecated Is there a simple fix that will eliminate this warning message? Thanks. J. Breiwick
2009 Dec 18
2
Package creation - require statement?
All, I have used package.skeleton, edited the .Rd files and the DESCRIPTON file. In one of my package functions I am using RODBC so I have a line of code that reads: require(RODBC). In my DESCRIPTION file I have the following relevant line: Depends: R (>= 2.9.0), RODBC However, when I do a check (Rcmd check my_package_name) I get this warning: * checking for unstated dependencies in R code
2001 Jul 17
2
R-help archives after June 21 2001
Could someone please point me to a source for the archives of this news group after June 21. I was subscribed to a digest version, but it stopped arriving after that date. Anne ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Anne E. York National Marine Mammal Laboratory Seattle WA 98115-0070 USA e-mail: anne.york at noaa.gov Voice: +1 206-526-4039 Fax: +1 206-526-6615
2002 Dec 04
1
using edit.data.frame
dum is a simple data frame transferred to Splus using the dump() command in Splus and the source() in R. All fields are numeric. There are no missing data. The data frame looks like it is should: > apply(dum,2,mode) yrcl sland s02 s234 "numeric" "numeric" "numeric" "numeric" > apply(dum,2,is.vector) yrcl sland s02 s234
2002 Dec 16
1
applying a different function to rows of a dataframe
Here is a simple example of what I would like to do: Given a data frame foo with variables x and fn. Suppose fn is a vector of characters which correspond to names of previously defined functions which have only one argument. I would like a vector returned where fn is applied to x foo <- data.frame(x=c(2,5,7), fn = letters[c(6,7,6)]) foo$fn <- as.character(foo$fn) "f" <-
2001 Sep 27
4
using the pfe editor with R 1.1.3 under windows 2000
I am in the process of setting up R1.3.1 on a new computer running windows 2000. I am having problems running the PFE text editor simultaneously within R for editing functions and outside R for editing ordinary text files. The PFE editor behaves as I expected, if it is opened in R AND but no other PFE window is open outside R. Similarly, it also works fine if I am editing a text file outside
2002 Jan 04
1
glm deviance question
I am comparing the Splus and R fits of a simple glm. In the following, foo is generated from rbinom with size = 20 p = 0.5. The coefficients (and SE's0 of the fitted models are the same, but the estimated deviances are quite different. Could someone please tell me why they are so different? I am using R version 1.3.1 and Splus 2000 release 3 on windows 2000. ++++++++++++++++++++++ foo
2011 Oct 05
3
R CMD check
Dear R-Group, I have a function that sorts a data frame and oneo of the lines in the function is: vars <- unlist(strsplit(formc, "[\\+\\-]")) The function works fine and the above line is always reached. However, when I include the function in a package and run "R CMD check pkgname" it gives this error message: '\+' is an unrecognized escape in character
2005 Oct 28
1
multiple boxplots
Hello, I want to plot 3 boxplots [ par(mfrow=c(3,1)) ] but the first one has 8 groups, the 2nd has 7 and the third has 6. But I the groups to line up: 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 3 4 5 6 7 8 where the numbers actually refer to years. I suspect I have to manipulate the function bxp(). Is there a relatively simple way to do this? Thanks for any help. Jeff Breiwick NMFS, Seattle
2002 May 23
3
separating a digest into separate messages
Could someone suggest a mail reader that will parse a digest from r-help into separate messages? Preferably, this reader would allow replies or forwards of separate messages. I use pine on a Sun running SunOS 5.7. If there were an add-on to pine that would accomplish this task, that would be even better. Anne ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Anne E. York National Marine Mammal Laboratory
2000 Feb 23
2
Files unavailable on CRAN
I've been trying to download from CRAN the floppy versions of the R source files: R-release-1.tar.gz, R-release-2.tar.gz I tried the servers in Seattle, Madison, and the Vienna Technical University. In each case, the file(s) were unavailable. Anne ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Anne E. York National Marine Mammal Laboratory Seattle WA 98115-0070 USA e-mail: anne.york at noaa.gov
2011 Jun 29
1
lmer() computational performance
Hello, running a mixed model in the package LME4, lmer() Panel data, have about 322 time periods and 50 states, total data set is approx 15K records and about 20 explanatory variables. Not a very large data set. We run random intercepts as well as random coefficients for about 10 of the variables, the rest come in as fixed effects. We are running into a wall of time to execute these models.
2012 Feb 07
2
units for mapproject() function result
Does anyone know what the units are for projected coordinates obtained using mapproj's mapproject function with an Albers projection? Thanks for any and all help! Buck Stockhausen *************************************************** * Dr. William T. Stockhausen * *************************************************** * Resource Ecology and Fisheries Management * *
2007 Oct 05
1
Matrix package installation problem
I need some help I try to install the following package: Matrix_0.999375-2.tar.gz I have the needed package and R version. My operating sytem is linux suse 10.1. I have the following error message /usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/bin/ld: ne peut trouver -lgfortran collect2: ld returned 1 exit status make: *** [Matrix.so] Erreur 1 ERROR: compilation failed for
2002 Dec 17
3
cleaning up after example()
Dear R-help, I find the example() function is extremely useful in many ways. However, there's a minor inconvenience: for long examples, it leaves lots of objects in the workspace. While it's sometimes useful to have the objects around for further exploration, other times they just add to the clutter. Does anyone have a good way of cleaning up afterward? If not, would R core consider
2013 Apr 08
1
Computational Ecologist Job at NOAA in Silver Spring, MD -- Marine Wildlife Spatial Modeling in R
The NOAA National Centers for Coastal Ocean Science is hiring a Computational Ecologist, a statistical/computational ecologist with experience fitting advanced spatial models to marine wildlife survey data (e.g., seabirds and marine mammal transects, fisheries trawl surveys) in R and other statistical languages. This is a full-time, long-term stable contract position. We are looking for an
2012 Apr 02
2
nls() error
Hello, I am running a simple nls model (which a friend ran OK) but I get the following error: Error in nls(y ~ R * (1 - (x/K)^2), data = nls.dat, start = list(R = 0.3, : object 'R_nls_iter' not found Does anyone know what the 'R_nls_iter' error is? The data are: x=1:8 ; y=c(14,19,25,34,43,56,69,76) # starting values: R=.3, K=94 Thanks in advance. Jeff