Re: [ESS] disable console help when "pausing"

2019-02-28 Thread Vitalie Spinu via ESS-help
>> On Wed, Feb 27 2019 11:29, clark richards via ESS-help wrote: > (setq ess-use-company t) This one is not needed as it's the default. There are a few recommendations on the Emacs Wiki: https://www.emacswiki.org/emacs/ESS-company Vitalie __

Re: [R] add points to lattice cloud plot (3D scatter)

2019-02-28 Thread David Winsemius
On 2/28/19 7:56 AM, Jeff Newmiller wrote: You are missing the point... lattice assembles the entire data set at once so it can adjust and synchronize all of the scales and then it generates an object that can be printed to a device. This approach is entirely incompatible with the base

Re: [ESS] disable console help when "pausing"

2019-02-28 Thread Shreyas Ragavan via ESS-help
Alex - thank you for the quick response and help. I just updated ESS via MELPA and the problem has not recurred so far. Quite a relief! On Thu, Feb 28, 2019, at 7:09 AM, Alex Branham wrote: > > On Wed 27 Feb 2019 at 18:08, Shreyas Ragavan via ESS-help > wrote: > > > I'm facing the same

Re: [R] Error trapping in R

2019-02-28 Thread Bernard McGarvey
Thanks - the try() approach is exactly what I need. Lion Bernard McGarvey Director, Fort Myers Beach Lions Foundation, Inc. Retired (Lilly Engineering Fellow). > On February 27, 2019 at 4:39 PM Robert Knight wrote: > > Some use try blocks, like found in other languages. Put the code

[R] R cairo_pdf function does not respect plotting boundaries

2019-02-28 Thread Lee Steven Kelvin
Hello all, When producing a plot in R using the cairo_pdf device, the resultant plot does not respect the plotting boundaries. Lines and shaded regions will spill over the lower x-axis and the right-side y-axis (sides 1 and 4). I would like to know if it is possible to fix this behaviour when

Re: [R] Error trapping in R

2019-02-28 Thread Robert Knight
Some use try blocks, like found in other languages. Put the code you want to try inside the block. https://www.robertknight.io/blog/try-blocks-in-r-for-error-handling/ contains a quick example. The example doesn’t raise exceptions or anything, it just contains it for you so the script keeps

Re: [R] add points to lattice cloud plot (3D scatter)

2019-02-28 Thread Luigi Marongiu
Fair enough, thank you. On Thu, Feb 28, 2019 at 4:56 PM Jeff Newmiller wrote: > > You are missing the point... lattice assembles the entire data set at once so > it can adjust and synchronize all of the scales and then it generates an > object that can be printed to a device. This approach is

Re: [R] add points to lattice cloud plot (3D scatter)

2019-02-28 Thread Jeff Newmiller
You are missing the point... lattice assembles the entire data set at once so it can adjust and synchronize all of the scales and then it generates an object that can be printed to a device. This approach is entirely incompatible with the base graphics approach of keeping global variables

[R] Randomization Test: SOLVED

2019-02-28 Thread Ogbos Okike
Dear Ben and Micheal, Your contributions are quite useful to me!!! Although my question is quite difficult to articulate, your attempt to understand what I intend to do and my desperate efforts to get my points across to you have, interestingly, combined to solve the problem. Indeed, the problem

Re: [R] add points to lattice cloud plot (3D scatter)

2019-02-28 Thread Luigi Marongiu
I see. I have been thinking of superimposing two plots with par(new=TRUE), but how could I remove all the graphic parameters (axes, background etc) keeping only the actual points in lattice? (if possible). Tx On Thu, Feb 28, 2019 at 3:53 PM Duncan Murdoch wrote: > > On 28/02/2019 5:39 a.m.,

Re: [R] inverse of which()

2019-02-28 Thread Ed Siefker
That's exactly what I want! Thanks! -Ed On Wed, Feb 27, 2019 at 5:14 PM David L Carlson wrote: > > I'm not sure I completely understand your question. Would using grepl() > instead of grep() let you do what you want? > > > David L Carlson > Department of

[R] Behaviour of dfmax in glmnet

2019-02-28 Thread Abhishek Ghose
Hi, I am new to glmnet, so I do not yet understand fully what the various parameters do. I am trying to build a multinomial classifier which restricts the number of features used in the model. From reading the docs and some answers on this forum, I understand dfmax is the way to do it. I

Re: [R] Randomization Test

2019-02-28 Thread Meyners, Michael
Ogbos, To share data (in particularly lengthy one as yours), check out ?dput To replicate sampling, look at ?replicate (will output to a data frame to use further) - that should answer your Q1. Apart from that (and regarding Q2), the task you are after is getting more and more obscure to me.

Re: [R] add points to lattice cloud plot (3D scatter)

2019-02-28 Thread Duncan Murdoch
On 28/02/2019 5:39 a.m., Luigi Marongiu wrote: Dear all, is it possible to add points to a lattice cloud plot (3D scatter)? I can plot the main data, but what if I wanted to add another point. In R there is the high level plotting function plot(), then the low level points() or lines() etc. What

Re: [ESS] disable console help when "pausing"

2019-02-28 Thread Alex Branham via ESS-help
On Wed 27 Feb 2019 at 18:08, Shreyas Ragavan via ESS-help wrote: > I'm facing the same problem of late, and I do not know what instigated the > behavior. Using the company mode setting below has not solved my help dump, > which is in fact highly annoying. This is my setup (on Antergos /

Re: [R] Which dependency list to build first?

2019-02-28 Thread Rich Shepard
On Thu, 28 Feb 2019, Eric Berger wrote: These two pathnames are different /usr/lib/R/library/lib/later/later.so /usr/lib/R/library/later.so Was that your intention? Eric, No. I apologize for being imprecise. On this host later.so is located at only /usr/lib/R/library/later/libs/later.so.

Re: [R] add points to lattice cloud plot (3D scatter)

2019-02-28 Thread Luigi Marongiu
Thank uyou, but ?llines gives a method for 2 d plot: llines(x, y = NULL, ... when I try to plot 3 variables I get NULL as a result On Thu, Feb 28, 2019 at 12:52 PM Michael Dewey wrote: > > Not sure whether this helps but try > > library(lattice) > ?llines > > Note that is indeed a double ll at

Re: [R] add points to lattice cloud plot (3D scatter)

2019-02-28 Thread Michael Dewey
Not sure whether this helps but try library(lattice) ?llines Note that is indeed a double ll at the start Michael On 28/02/2019 10:39, Luigi Marongiu wrote: Dear all, is it possible to add points to a lattice cloud plot (3D scatter)? I can plot the main data, but what if I wanted to add

Re: [R] profvis function parse_rprof not being loaded

2019-02-28 Thread Duncan Murdoch
On 27/02/2019 9:42 p.m., nevil amos wrote: I have loaded the profvis library but the function parse_ rprof() is absent. below is the session info show the absence of the function ( which is listed in the package help for the current version.) Looks as though they forgot to export it. You

[R] add points to lattice cloud plot (3D scatter)

2019-02-28 Thread Luigi Marongiu
Dear all, is it possible to add points to a lattice cloud plot (3D scatter)? I can plot the main data, but what if I wanted to add another point. In R there is the high level plotting function plot(), then the low level points() or lines() etc. What is the equivalent for lattice? Thank you >>>

[R] Add point label to lattice cloud plot (3D scatter)

2019-02-28 Thread Luigi Marongiu
Dear all, is there a way to add the labels of the points to a 3D scatter plot obtained with lattice's cloud? I can now plot the data, but when trying to add the label I get the error: `Error in multiple && !outer : invalid 'x' type in 'x && y'` The script I wrote runs like this: >>> df =

Re: [R] Which dependency list to build first?

2019-02-28 Thread Eric Berger
These two pathnames are different /usr/lib/R/library/lib/later/later.so /usr/lib/R/library/later.so Was that your intention? On Wed, Feb 27, 2019 at 11:45 PM Rich Shepard wrote: > On Wed, 27 Feb 2019, William Dunlap wrote: > > > Did you use 'R CMD ldd .../later.so', as I recommended? > >

Re: [R] color question

2019-02-28 Thread Jim Lemon
Hi Aimin, This example uses a log transformation to spread the colors out: d<-read.table(text=" lateRT earlyRT NAD ciLAD LAD 1.0 0.00 0.006224017 0.001260241 0.0069699285 0.0 1.00 0.001425649 0.007418436 0.0007096344 0.006224017