similar to: [ESS] browser() exits when not desired, in three different scenarios (PR#11634)

Displaying 20 results from an estimated 4000 matches similar to: "[ESS] browser() exits when not desired, in three different scenarios (PR#11634)"

2008 Jun 10
0
browser() exits when not desired, in three different scenarios (PR#11623)
Here are three different scenarios in which the browser() exits when I don't want it to. These are all related to the browser accepting either c or (return) to exit. I would like an option to turn off the (return) behavior in order to avoid these problems. # Case 1 - when calling help # Note, I am using ESS in emacs; this is probably an interaction # with ESS handling of ? help. > f
2008 Jun 02
0
(PR#11537) help (using ?) does not handle trailing whitespace
>>>>> "BDR" == Prof Brian Ripley <ripley at stats.ox.ac.uk> >>>>> on Fri, 30 May 2008 22:34:28 +0100 (BST) writes: BDR> I think it is ESS that is parsing this as a help BDR> request (so it can divert it to an ESS buffer). BDR> Looks like this is an ESS issue, not an R one. yes, indeed, hence much more belonging the ESS-help
2008 Aug 22
1
save() should not overwrite a file if an error occurs (PR#12583)
If save() fails because an object is not found, it should not overwrite an existing file. > a <- 1:9 > save(a, file = "a.rda") > rm(a) > load("a.rda") > a [1] 1 2 3 4 5 6 7 8 9 > rm(a) > save(a, file = "a.rda") Error in save(a, file = "a.rda") : object 'a' not found > load("a.rda") Error in
2008 May 29
1
help (using ?) does not handle trailing whitespace (PR#11537)
> ?agrep > Results in: No documentation for 'agrep ' in specified packages and libraries: you could try 'help.search("agrep ")' There is white space after agrep, that ? doesn't ignore. --please do not edit the information below-- Version: platform = i486-pc-linux-gnu arch = i486 os = linux-gnu system = i486, linux-gnu status = major = 2 minor =
2008 May 30
2
scoping problem when calling lm(precomputed formula, weights) from function (PR#11540)
I've run into a scoping problem in R. I'm calling a function that * creates a formula * calculates a weight vector * calls lm with that formula and weights This fails. Here's a simplified reproduce example: # f works, g doesn't, h is a workaround rm(w) data <- data.frame(y=runif(20), x=runif(20), z=runif(20)) f <- function(k){ w <- data$z^k coef(lm(y~x, data
2008 May 30
0
scoping problem when calling lm(precomputed formula, weights) (PR#11543)
On 5/30/2008 11:40 AM, rocket at google.com wrote: > I've run into a scoping problem in R. No, in your use of it. > I'm calling a function that > * creates a formula ... incorrectly. > * calculates a weight vector > * calls lm with that formula and weights > This fails. > > Here's a simplified reproduce example: > # f works, g doesn't, h is
2005 Nov 09
0
R CMD Rdconv file.Rd --type=Ssgm \code{x} should use <code> (PR#8290)
I'm trying: R CMD Rdconv file.Rd --type=Ssgm If file.Rd contains \code{x} then this is currently translated as <s-expression>x</s-expression> I suggest instead translating to <code>x</code> (provided that R CMD Sd2Rd is changed to support the <code> tag; I just submitted that bug separately). Note that this is an enhancement, not a bug. This change would
2012 May 22
0
dataframe package
A new 'dataframe' package is on CRAN. This is a modified version of the data frame code in R, modified to make fewer copies of the inputs and run faster, e.g. as.data.frame(a vector) makes 1 copy of the vector rather than 3, data.frame(a vector) makes 3 copies rather than 6, and x[, "a"] <- newValue makes (2,2,1) copies of (old data frame, new column, integer vector of
2006 Mar 24
0
enhancement request for browser (PR#8706)
I would like a way to modify the behavior of browser(), so that entering a blank line does nothing rather than being equivalent to "c". I'm running R using emacs ESS. I often debug functions by inserting a browser, and stepping through one line at a time, sending a line at a time from a buffer with the function to the R buffer. But every time I send a blank line, the browser
2013 Apr 14
1
R 3.0.0 memory use
I did some benchmarking of data frame code, and it appears that R 3.0.0 is far worse than earlier versions of R in terms of how many large objects it allocates space for, for data frame operations - creation, subscripting, subscript replacement. For a data frame with n rows, it makes either 2 or 4 extra copies of all of: 8n bytes (e.g. double precision) 24n bytes 32n bytes
2009 Oct 07
1
inconsistency in return value of peaks() {splus2R} (PR#13988)
Full_Name: Benny van der Vijgh Version: 2.7.2 OS: Windows Vista Submission from: (NULL) (194.171.252.108) The return value of peaks() in package splus2R is not consistent. This is because of the call to max.col() without additional parameters which peaks() makes. max.col() has a parameter 'ties.method' which specifies how ties are handled, with "random" by default. This means
2008 Oct 30
2
request: How to combine three matrices in the desired form
Dear R-friends I have three matrices e.g. var <- matrix(c(4,4,4,4,0,4,4,4,0,3,3,0),nrow=4); val <- matrix(c(0.6,0.6,0.6,0.6,0,1.6,1.6,1.6,0,4.9,4.9,0),nrow=4); nod <- matrix(c(-1,-1,1,1),ncol=1) > var [,1] [,2] [,3] [1,] 4 0 0 [2,] 4 4 3 [3,] 4 4 3 [4,] 4 4 0 > val [,1] [,2] [,3] [1,] 0.6 0.0 0.0 [2,] 0.6 1.6 4.9 [3,] 0.6 1.6
2011 May 01
2
Question on where samples are grouped in rmvnorm{mvtnorm}
Dear All, For function: rmvnorm{mvtnorm} in (library mvtnorm, not splus2R), if I generate 2 bivariate normal samples as follows: > rmvnorm(2,mean=rep(0,2),sigma=diag(2)) [,1] [,2] [1,] 2.0749459 1.4932752 [2,] -0.9886333 0.3832266 Where is the first sample, it is stored in the first row or the first column? Does this function store samples row-wise or column-wise? Thank
2007 May 30
1
Three scenarios for simplifying NUT configuration on Linux
Scenario 1: Package-centric Have the .deb package for NUT install a single-user/single-UPS configuration, with the .deb asking for the UPS type and dispatching on that to set up ups.conf for the correct driver. Package installation could even create a nut user and group, so there wouldn't even be a security compromise. I don't know how to do the equivalent with RPM, because RPM
2010 Nov 03
3
Using sample() to sample one value from a single value?
Hi, consider this one as an FYI, or a seed for further discussion. I am aware that many traps on sample() have been reported over the years. I know that these are also documents in help("sample"). Still I got bitten by this while writing sample(units, size=length(units)); where 'units' is an index (positive integer) vector. It works in all cases as expected (=I expect)
2003 Sep 03
0
Course 'Bootstrap methods and permutation tests' - 23 - 24 October
Insightful are pleased to announce we are now taking bookings for our latest course on "Bootstrap methods and permutation tests" in the UK on 23rd - 24th October. This course will focus in particular on two resampling methods, bootstrapping and permutation tests, which have been applied successfully to areas of statistical modelling where "traditional" standard errors,
2007 Jan 24
0
JOB: LARS internships
Insightful is seeking a pre-doctoral student and an undergraduate student for two internship positions. The primary responsibilities are to assist in the development of software for high-dimensional regression and machine learning applications using least angle regression (LARS). The pre-doctoral candidate should have a background and interest in statistical methodology, algorithms, data
2018 Oct 23
0
elpa-ess fails to initialize after update to 18.10 on ubuntu bionic
Hi Chris, On 22 October 2018 at 22:22, Chris Sims wrote: | The latest ess and elpa-ess 18.10-1bionic0 packages for ubuntu leave | ess unable to find initialization files when it is invoked from R via | M-x R. I've found a workaround by creating a soft link: | | cd /usr/share | sudo ln -s /usr/share/emacs/site-lisp/elpa-src/ess-18.10 ess | | but this may be a widespread problem. It
2002 May 02
0
tab complete for R under ESS
> System info: > R Version 1.4.1 (2002-01-30) on Windows 2000 > ESS v. 5.1.20 using emacs ver. 21.1.1 Colleagues Some time ago I asked about tab complete functionality for R under ESS on windows. I never got it working as well as I might have liked until today. It is still slow the first time while all the environments are checked but after that it works well. The solution below
2018 Aug 20
0
ess 17.11-3 won't install on Ubuntu 16.04
On 20 August 2018 at 15:29, Eva Myers wrote: | Hello, | Attempting to install ess (17.11-3xenial0) on our Ubuntu 16.04 systems | is failing with an error message. This can happen. I (with my Debian hat on) had to make 17.11-3 because the ess package did not behave with Debian untable and Emacs 26.2. It does now. Changes can have side effects. Turn out that in this case 16.04 is affected. Your