Displaying 20 results from an estimated 6000 matches similar to: "R CMD check"
2007 Apr 20
2
sorting data in R
hello,
I'd like know how to sort a data frame in R for example how I should do to sort by Catholic with swiss data frame like below
thanks
Fertility Agriculture Examination Education Catholic Infant.Mortality
Courtelary 80.2 17.0 15 12 9.96 22.2
Delemont 83.1 45.1 6 9 84.84 22.2
2004 Sep 24
0
Function sort.data.frame
I can never remember how to use "order" to sort the rows of a data frame,
so like any good, lazy programmer, I decided to write my own function.
The idea is to specify a data.frame and a one-sided formula with +/-
indicating ascending/descending. For example:
sort.data.frame(~ +nitro -Variety, Oats)
Since sorting of a data.frame is an oft-asked question on this list, I am
posting
2009 Oct 13
2
General means of matching a color specification to an official R color name
Hello List Dwellers:
I?ve looked around quite a bit, but don?t quite see an answer that I
understand.
I?m looking for a way to take any kind of color specification (rgb, hsv,
hcl, hex) and match it to the n-nearest R official color names. Clearly it
is easy to interconvert different specification schemes and color spaces,
but matching to the name seems a bit trickier. Seems like if one has a
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
2004 Oct 19
1
Creating Packages with Windows under R 2.0.0
Hello,
I have a workspace that contains a number of functions I want to put in a
library. Under R 1.9.0 I did this fairly easily by putting them in a R
folder, creating a DESCRIPTION & TITLE file etc. I could then load my
library successfully.
Under R 2.0.0 this simple process apparently no longer works. I have used
package.skeleton() and have run R CMD INSTALL pkgname but still get various
2008 Jan 07
0
CR 6647661 <User 1-5Q-12446>, Now responsible engineer P2 kernel/zfs "set once" / "create time only" properties can''t be set for pool level dataset
*Synopsis*: "set once" / "create time only" properties can''t be set for pool level dataset
Due to a change requested by <User 1-5Q-12446>,
<User 1-5Q-12446> is now the responsible engineer for:
CR 6647661 changed on Jan 7 2008 by <User 1-5Q-12446>
=== Field ============ === New Value ============= === Old Value =============
Responsible Engineer
2009 Apr 15
0
CR 6647661 Updated, P2 kernel/zfs "set once" / "create time only" properties can''t be set for pool level dataset
*Synopsis*: "set once" / "create time only" properties can''t be set for pool level dataset
CR 6647661 changed on Apr 15 2009 by <User 1-ERV-6>
=== Field ============ === New Value ============= === Old Value =============
See Also 6828754
====================== ===========================
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
2007 Jan 29
2
countour and poygon shading
Hi,
I have a contour plot and I want to shade a polygon (the area below a line)
but the polygon shading wipes out the contour lines. Does anybody know how
to shade the polygon and still see the contour lines? Thanks.
Jeff
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
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
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
2010 Aug 21
1
R CMD build --binary without option --use-zip-data
Hello,
When I run
R CMD build --binary pkgname
I get
* checking for file 'pkgname/DESCRIPTION' ... OK
* preparing 'pkgname':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
* installing *source* package
2017 Oct 04
1
R CMD Rd2pdf and macros
No, I do not get the same as you.
I have tested with R-devel and R-patched compiled today. When I do
R CMD Rd2pdf mpra
I get (as reported a few days ago)
Hmm ... looks like a package
Converting Rd files to LaTeX Error : mpra/man/mpra-package.Rd:6: file
'./DESCRIPTION' does not exist
whereas you (Kurt) reports that this works on zTree.
When I do
R CMD Rd2pdf mpra/man
I get
- a
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
2004 Apr 27
1
'R CMD build' fails when there are spaces in the path (PR#6830)
Full_Name: Byron Ellis
Version: R 1.9.0 (and 2.0.0)
OS: Linux (Redhat Fedora Core)
Submission from: (NULL) (140.247.241.197)
It appears that `R CMD build` cannot handle spaces in the path when building
packages for distribution. For instance:
[ellis@net-78815 ~/Bayesian Networks]$ R CMD build bnsl
* checking for file 'bnsl/DESCRIPTION' ... OK
* preparing 'bnsl':
* cleaning src
*
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
2010 Oct 24
1
R-devel CMD build fails when vignette present
If I try to build a package with a vignette
R CMD build Biobase
I see
* checking for file 'Biobase/DESCRIPTION' ... OK
* preparing 'Biobase':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to re-build vignettes
* creating vignettes ... OK
* cleaning src
Error in setwd(pkgname) : cannot change working directory
Execution halted
This is
2011 Mar 26
1
core Matrix package segfaulted on R CMD check --use-gct
Current core/Recommended Matrix package (0.999375-48) has been segfaulting against R 2.13-alpha/2.14-trunk for the last week or so (since R-2.13 was branched, when I started trying) when "run with R CMD check --use-gct":
--------------
> pkgname <- "Matrix"
> source(file.path(R.home("share"), "R", "examples-header.R"))
>
2014 Feb 05
1
R CMD check, NOTEs, & S4-dependent packages
As I was running "R CMD check" on one of my older packages
(matlab), I was attempting to fix one of the NOTEs which
bitches about attempting to change the search path using
require().
In my case, I am repeating a package dependency for "methods"
package in my .onLoad() function. Can this scenario (based
on something B. Ripley discussed many years ago) no longer
occur? Just