hello,
I'm trying to disable an tkentry widget with a tkcheckbutton using an R
function via the command flag.
but I get an error regardding copy of the pointer: 'externalptr'
which properly way to avoid this?
thanks,
cleber
> library( tcltk )
> tp <- tktoplevel()
>
> chk <
Hi
There is also the basic option of using the grid package and viewports.
You can then place the plots where you want and annotate them
pdf(file= paste0("01", ".pdf"),
height = 3.5,
width = 7,
paper = "special",
onefile = TRUE,
family = "Helv
Not for hclust() since it provides results for all clusters from 1 to n (the
number of observations). Adding a point can change the definition of the
clusters. You could use cutree() to assign the observations to clusters for a
particular number of clusters, but then you must decide what rule to
> Hardly a showstopper though; we're in timtowdi territory here and we're
> allowed a bit of personal preference.
Absolutely. I appreciate your constructive comments, however.
Cheers,
Bert
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and mo
Thanks Jim and others who have responded to this post!
Jim, this is exactly what happened. I was having some trouble with date
comparisons which turned out to be a time zone conversion issue even though the
two dates I was comparing both said they were EST, when you subtracted one from
the oth
> If you are concerned about missing levels -- which I agree is legitimate --
> then
> the following simple modification works (for
> **factors** of course):
>
> > d <- factor(letters[1:2],levels= letters[1:3]) d
> [1] a b
> Levels: a b c
> > f <- factor(d,levels = levels(d), labels = LETTERS[3:1
> -Original Message-
> testseq<-seq(1:20)
> testchange<-ifelse(testseq<=4,'x',testseq)
> testchange<-c(ifelse(testseq<=4,'x',testseq),ifelse(testseq>=5,'y',testseq))
>
> The last instruction causes the vector 'testchange' to change dimensions,
Of course it does. ifelse(test, yes, no) re
I was under the impression that the comment block is attached to the global
object that immediately follows the comment block, so this placement is NOT
optional.
--
Sent from my phone. Please excuse my brevity.
On October 11, 2016 6:46:51 AM PDT, Thierry Onkelinx
wrote:
>Dear Georg,
>
>My 2 e
Dear all,
I have installed necessary packages such as ncdf4 and RNetCDF. But
still my machine can't read netcdf files into R. Below are the file
formats and the respective errors:
> open.nc("cru.ts3.23.1901.2014.tmx.dat.nc")
Error: No such file or directory
> open.nc("cru_ts3_23_1901_2014_pre_dat
You may be able to do everything you need with the cowplot package.
On Tue, Oct 11, 2016 at 4:26 AM, Preetam Pal wrote:
> Hey Enrico,
> LaTex is not possible actually.
>
> On Tue, Oct 11, 2016 at 2:29 PM, Enrico Schumann
> wrote:
>
> > On Tue, 11 Oct 2016, Preetam Pal writes:
> >
> > > Hi,
> >
Dear Georg,
My 2 eurocents.
- I'd place the Roxygen header just above the function instead of instead
the function. That makes your function more readable.
- Use only tags that Roxygen knows about.
- Use version controle instead of the version, created and updated tags.
- You can specify the auth
Hey Enrico,
LaTex is not possible actually.
On Tue, Oct 11, 2016 at 2:29 PM, Enrico Schumann
wrote:
> On Tue, 11 Oct 2016, Preetam Pal writes:
>
> > Hi,
> >
> > Can you please help me with the following output formatting:
> > I am planning to include 2 plots and some general description in a
>
On 11/10/2016 7:59 AM, Ryan Utz wrote:
Bob/Duncan,
Thanks for writing. I think some of the things Bob mentioned might work,
but I'm still not quite getting there. Below is the example I'm working
with:
It worked for me when I replaced the browseURL call with a readLines
call, as I suggested
Or package "knitr". Note that knitr can be used with LaTeX or markdown syntax,
but from your description the former would be advised.
--
Sent from my phone. Please excuse my brevity.
On October 11, 2016 1:59:59 AM PDT, Enrico Schumann
wrote:
>On Tue, 11 Oct 2016, Preetam Pal writes:
>
>> Hi,
Bob/Duncan,
Thanks for writing. I think some of the things Bob mentioned might work,
but I'm still not quite getting there. Below is the example I'm working
with:
#1
browseURL('http://pick18.discoverlife.org/mp/20m?plot=
2&kind=Hypoprepia+fucosa&site=33.9+-83.3&date1=2011,2012,
2013&flags=build_t
Hi All,
I began to document my functions using roxygen2. This is an example of a
function I would like to write for training and testing purposes:
t_simple_table <- function(variable,
useNA = TRUE,
print = FALSE) {
#' @title Create a simp
Hi
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jorge
> Cimentada
> Sent: Tuesday, October 11, 2016 11:47 AM
> To: message
> Cc: r-help@R-project.org
> Subject: Re: [R] multiple uses ifelse function
>
> Hi Letter,
>
> This should do it:
> testchan
On 11 Oct 2016, at 01:32 , S Ellison wrote:
>> Well, I think that's kind of overkill.
> Depends whether you want to recode all or some, and how robust you want the
> answer to be.
> recode() allows you to recode a few levels of many, without dependence on
> level ordering; that's kind of neat
Hi Letter,
This should do it:
testchange <- ifelse(testseq <= 4,'x', ifelse(testseq >= 5, 'y', testseq))
Read it as: if testseq <=4, print x, ifelse test seq >=5, print y, any
other case, print testseq.
[[alternative HTML version deleted]]
__
Readers,
Could someone please explain how to apply the function 'ifelse' to
change a vector, for various conditions?
testseq<-seq(1:20)
testchange<-ifelse(testseq<=4,'x',testseq)
testchange<-c(ifelse(testseq<=4,'x',testseq),ifelse(testseq>=5,'y',testseq))
The last instruction causes the vecto
On Tue, 11 Oct 2016, Preetam Pal writes:
> Hi,
>
> Can you please help me with the following output formatting:
> I am planning to include 2 plots and some general description in a one-page
> PDF document, such that
>
>- I'll leave some appropriate margin on the PDF- say, 1.5 inches
>top,
Hi,
Can you please help me with the following output formatting:
I am planning to include 2 plots and some general description in a one-page
PDF document, such that
- I'll leave some appropriate margin on the PDF- say, 1.5 inches
top,right, bottom and left (will decide based on overall appe
Dear Luis,
Please don't post in HTML, it mangles the code.
You want something like
p + scale_shape_manual(values = c(16, 2))
Untested as you failed to provide a reproducible example.
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Take a look at tidyr::separate()
On Fri, Oct 7, 2016 at 12:57 PM, silvia giussani
wrote:
> Hi all,
>
>
>
> could you please tell me if you find a solution to this problem (in
> Subject)?
>
>
>
> June Kim wrote:
>
>>* Hello,*
>
>>
>
>>* I use google docs' Forms to conduct surveys online. Multiple
24 matches
Mail list logo