Hi,Why do I get this warning when I run package.skeleton() and how to solve
this problem?
Warning messages:
1: In package.skeleton(name = "myPackage", code_files = "~/Desktop/myPkg/R/") :
Invalid file name(s) for R code in ./myPackage/R:
'R'
are now renamed to 'z.R'
2: In file.rename(from =
Hi,How to cite reverse dependancies in the NAMESPACE file in building a package?
Regards,
Carol
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-he
instead of listing
them. Even if I upload and have them as R objects, I shouldn't have to list
them in the list arg.
Thanks
On Tuesday, April 28, 2015 4:48 PM, Duncan Murdoch
wrote:
On 28/04/2015 10:05 AM, carol white via R-help wrote:
> Hi,Why do I get this warning wh
To cite related publications, it seems that they can't be mentioned in
DESCRIPTION. Where to mention so that it appears on the 1st page of the pdf
help file and the package main web page? I'm not talking about what is
specified in inst/citation.
Thanks,
Carol
[[alternative HTML ve
yes, reverse dependency. All the reverse dependancies on the main web page of
the packages are generated by CRAN?
Thanks
On Tuesday, April 28, 2015 5:02 PM, Duncan Murdoch
wrote:
On 28/04/2015 8:54 AM, carol white via R-help wrote:
> Hi,How to cite reverse dependancies in
, 2015 7:37 PM, Duncan Murdoch
wrote:
On 28/04/2015 1:00 PM, carol white via R-help wrote:
> To cite related publications, it seems that they can't be mentioned in
> DESCRIPTION. Where to mention so that it appears on the 1st page of the pdf
> help file and the package main
an example of a package main web page on
CRANhttp://cran.r-project.org/web/packages/A3/index.html
and the help pdf filehttp://cran.r-project.org/web/packages/A3/A3.pdf
Regards,
On Tuesday, April 28, 2015 7:37 PM, Duncan Murdoch
wrote:
On 28/04/2015 1:00 PM, carol white via R-help
uot;myPackage", code_files = filenames)
You may need to leave out some files if they aren't all *.R files.
Duncan Murdoch
>
> Thanks
>
> On Tuesday, April 28, 2015 4:48 PM, Duncan Murdoch
> wrote:
>
>
> On 28/04/2015 10:05 AM, carol white via R-help wrote:
&g
Hi,By default the merge function should take the intersection of column names
(if this is understood from by = intersect(names(x), names(y)), but it takes
all columns. How to specify the intersection of column names?
Thanks
Carol
[[alternative HTML version deleted]]
___
will
have 3 col, namely col1, col2, col3 but all 5 col, i.e. col1, col2... col5 are
taken if nothing is specified for the by arg.
Cheers,
On Monday, June 1, 2015 4:32 PM, Michael Dewey
wrote:
On 01/06/2015 14:46, carol white via R-help wrote:
> Hi,By default the merge funct
It might be an easy question but how to construct correctly a list in a loop?
The following doesn't work
before starting the loopd = NULL#in the loop, 1st iteration
d = list(d,c(1,2,3)d[[1]]
NULL
[[2]]
[1] 1 2 3#in the loop, 2nd iterationd=list(d,c(4,5,6)d
[[1]]
[[1]][[1]]
NULL
[[1]][[2]]
[1] 1
oop.
Cheers
Petr
> -Original Message-----
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of carol
> white via R-help
> Sent: Friday, June 05, 2015 10:40 AM
> To: R-help Help
> Subject: [R] building a list in a loop
>
> It might be an easy question but
oop.
Cheers
Petr
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of carol
> white via R-help
> Sent: Friday, June 05, 2015 10:40 AM
> To: R-help Help
> Subject: [R] building a list in a loop
>
> It might be an easy question but how t
Hi,How is it possible to load a very big .RData that can't be loaded it's very
big and the following error msg is displayed
load(".RData")
Error: error reading from connection
Thanks
Carol
[[alternative HTML version deleted]]
__
R-help@r-proj
yes and doesn't help.600MB
Thanks
Carol
On Tuesday, June 9, 2015 12:22 PM, Jim Lemon wrote:
Hi carol,
Have you tried renaming the file to something like "my.RData"? And
just how big is it?
Jim
On Tue, Jun 9, 2015 at 5:50 AM, carol white via R-help
wrote:
> Hi,
Hi,How is it possible to increase the size of a histogram labels (displayed on
the top of the bars)? I thought that if I use cex > 1, it will increase all
text size on a plot (axis labels, axis annotation, title of the graphics and
histogram labels) which I want but it doesn't.
Regards,
Carol
uot;cex" argument to the call. Using the first example in
the help page:
heights<-c(14,20,9,31,17)
barpos<-barplot(heights,main="A redundant bar plot")
barlabels(barpos,heights+1,prop=1,cex=1.5)
Jim
On Tue, Jul 21, 2015 at 7:23 AM, Rolf Turner wrote:
> On 21/07/15 08:24, c
what is the best function to view large tables or data frames, scrolling
down-up, left-right?
Thanks
c.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listi
Hi,I have invoked plot in a function (plot.func) as follows but when I check
the built package, I get a warning:
plot(x.pt,y.pt,xlim = c(0, 10), ylim = c(0,1), xlab= "xlab", ylab="ylab", main
= "title", col = col,type = "l")
R CMD check my.package
checking S3 generic/method consistency ... WARNI
;ylab", main = "title", col = col,type = "l")
then, how to define and invoke to be consisent?
Regards,
On Monday, October 19, 2015 7:45 PM, Duncan Murdoch
wrote:
On 19/10/2015 1:29 PM, carol white via R-help wrote:
> Hi,I have invoked plot in a function (plot.
can't skip the arg name
col, arg5,
...) { # can't skip the dots
Duncan Murdoch
>
> Regards,
>
> On Monday, October 19, 2015 7:45 PM, Duncan Murdoch
> wrote:
>
>
> On 19/10/2015 1:29 PM, carol white via R-help wrote:
>
)
if(missing(y)) stop("Must have a y value") ...}
Jim
On Tue, Oct 20, 2015 at 7:32 AM, carol white via R-help
wrote:
In effect, this works
but whether I use x or x.init, y or y.init in plot.func, I get
no visible binding for global variable ‘x.init’no visible binding for global
vari
Hi, it might be trivial but is there any way to get the logical vector of the
indices of a string in a vector? I thought that %in% would do but it doesn't. I
also want to filter the empty fields.
Here I want to extract the non-empty elements containing "Yes":x =c("Yes, fsd",
"", "No","","Yes, fj
Hi,might be trivial but how to determine the year of a date which is in the
%m/%d/%y format and those whose year is century should be modified to ISO so
that all date will have with year in ISO?
Regards,
Carol
[[alternative HTML version deleted]]
the time object back to string. The format specifier %Y prints four-digit
> years:
>
>
> d <- "7/27/59"
> strptime(d, format="%m/%d/%y") # "2059-07-27 EDT"
> x <- strptime(d, format="%m/%d/%y")
>
> strftime(x, format="%m/%d/
Hi,I have R v 3.0 installed /usr/... and the new version R-3.2.3 in my home
under ubuntu. Is it correct to copy the R-3.2.3 directory into
/usr/local/lib/R/ or should I reconfig and remake into /usr/local/lib/R/?
Regards,
Carol
[[alternative HTML version deleted]]
__
How is it possible to group rows of a matrix or a data frame by the same values
of the first column?
1 14331 453452 653 3762 45
1 1433,453452 45, 653 376
Thanks
Carol
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
clearly
what you want the result to look like.
Sarah
On Wed, Mar 9, 2016 at 7:09 AM, carol white via R-help
wrote:
> How is it possible to group rows of a matrix or a data frame by the same
> values of the first column?
> 1 14331 453452 653 3762 45
>
> 1 1433,453452 45, 653 376
>
HTML so your data were mangled.
Please use dput(), post in plain text, and try to explain more clearly
what you want the result to look like.
Sarah
On Wed, Mar 9, 2016 at 7:09 AM, carol white via R-help
wrote:
> How is it possible to group rows of a matrix or a data frame by the same
> val
29 matches
Mail list logo