Displaying 20 results from an estimated 200 matches similar to: "Cases of TAB-completion that hang Rterm"
2012 Mar 14
1
[ESS] completion in [] (R internal completion fails)
Hello,
I am forwarding this from ESS mailing list, as it's a failure of
internal R completion system:
This fails:
utils:::.assignLinebuffer('iris[iris$Spec')
utils:::.assignEnd(15)
utils:::.guessTokenFromLine()
utils:::.completeToken()
utils:::.retrieveCompletions() ## -> [1] "iris[iris$Spec"
This works
utils:::.assignLinebuffer('iris[ iris$Spec') # note the
2011 Nov 18
3
Windows binaries: Version and revision strings show "(2006-00-00 r00000)"
FYI,
for the last few revision the version string for both R v2.14.0
patched and R devel are not correct for the Windows binaries. This is
what R --version and sessionInfo() report since a couple of days:
R version 2.14.0 Patched (2006-00-00 r00000)
R Under development (unstable) (2006-00-00 r00000)
Also, "r00000" is listed as the revision on:
2014 May 08
1
checking dependencies in R code ... WARNING
I am trying to update an unsupported package and got the warning:
* checking dependencies in R code ... WARNING
'library' or 'require' calls not declared from: 'Hmisc' 'R2HTML' 'tcltk'
Missing or unexported object: 'utils::.win32consoleCompletion'
See the information on DESCRIPTION files in the chapter 'Creating R
packages' of the
2011 Apr 02
0
reg.finalizer(): Multiple finalizers?
Hi,
I've got some questions regarding finalizers registered using
reg.finalizer(). I have a setup where in certain cases I wish to set
a new finalizer to an object that already got one. Since there is no
API for removing/replacing already registered finalizers (have been
"requested" previously on this list), I have basically just added a
new finalizer by calling reg.finalizer() a
2011 Nov 24
1
capture.output(eval(..., envir)) not evaluate in the expected(?) environment
I've noticed the following oddity where capture.output() prevents
eval() from evaluating an expression in the specified environment.
I'm not sure if it is an undocumented feature or a bug. It caused me
many hours of troubleshooting. By posting it here, it might save
someone else from doing the same exercise.
Start by defining foo() which evaluates an expression locally in a
given
2011 Jun 27
1
R CMD check --force-multiarch does not install all the archs for testing
Hi,
Why isn't 'R CMD check --force-multiarch' installing the package
for all the architectures that are going to be checked?
For some packages, it only installs for the default arch ('i386').
Then testing the package for 'x64' fails.
For example,
Output of R CMD check --force-multiarch fabia_1.5.0.tar.gz:
-----------------------------------------------------------
*
2011 Nov 23
1
glmulti fails because of rJava
Dear R,
The glmulti package no longer loads through the library() command, apparently because of a problem with rJava.
I have today reinstalled R from scratch (updated to v2.14.0) and reinstalled all packages from scratch and updated them all too. The problem is the same as I found on v2.13.2. See session below for the error. I tried
install.packages(rJava) as advised by the error report but it
2010 Nov 02
1
inst/ and hidden files/directories, especially inst/.svn/?
In Section 'Package subdirectories' of 'Writing R Extensions', it
says about the inst/ directory that:
"The contents of the inst subdirectory will be copied recursively to
the installation directory (except perhaps hidden files with names
starting with ?.?)."
Indeed, on Windows with R v2.12.0 patched (2010-11-01 r53513) and R
v2.13.0 devel (2010-11-01 r53513), if you
2012 Jun 22
0
Ctrl-C at the Rterm prompt is remembered (unless pressing ENTER).
Hi,
there is a minor glitch with Ctrl-C on Windows:
1. Start Rterm.exe
2. Press Ctrl-C (without ENTER afterwards) to generate a user interrupt signal.
3. Type Sys.sleep(1e6) + ENTER.
4. The user interrupt in Step 2 causes Sys.sleep() in Step 3 to be interrupted.
I can reproduce this behavior on Windows 7 64-bit and 'Rterm.exe' with
R v2.13.0 (2011-04-13), v2.15.0 Patched (2012-05-26
2010 Nov 23
1
Possibility for memory improvement: x <- as.vector(x) always(?) duplicates
Hi,
I've noticed that as.vector() always allocates a new object, e.g.
> x <- 1:10;
> x <- as.vector(x);
> tracemem(x);
[1] "<0x0000000005622db8"
> x <- as.vector(x);
tracemem[0x0000000005622db8 -> 0x0000000005622ec0]: as.vector
> x <- as.vector(x);
tracemem[0x0000000005622ec0 -> 0x0000000005622f18]: as.vector
> x <- as.vector(x);
2011 Mar 30
1
R CMD build processes inst/doc/Makefile only if there are vignette files?
Hi,
in Section 'Writing package vignettes' of 'Writing R Extensions' it says:
"Whenever a Makefile is found, then R CMD build will try to run make
after the Sweave runs, so PDF manuals can be created from arbitrary
source formats (plain LaTeX files, ...). [...] Note that the make step
is executed even if there are no files in Sweave format, [...]".
In my package,
2011 May 12
3
Reproducible use case for R crash after updating R
This might have been discussed before, but below is a
"not-so-unlikely" use case where the user follows normal procedures,
updates R to a major release version, and then R crashes:
1. Use runs R stable (e.g. v2.13.0).
2. User installs a package with a namespace, e.g. install.packages("fortunes").
3. User uses the package and one of the package's objects are assigned
to the
2011 Mar 13
1
Excited about the near future...
Some already know, but I think it deserves a bit of a attention here as well:
It looks like we're about to get new features in R that will be very powerful!
That should be a good enough teaser for now...
/Henrik
PS ...and thanks for making it available plus credits to similar
efforts by others.
2011 Nov 27
1
Error in Rd[[which]] : subscript out of bounds
I'm getting the following form R CMD CHECK mypackage
-----------
* checking Rd files ... WARNING
Error in Rd[[which]] : subscript out of bounds
problem found in ?myfunction.Rd?
---------
This is... not the most helpful error.
I'd be happy to make a minimal .Rd example file if someone can point me to what a minimal .Rd file has in it.
The file is already pretty minimal, so it's
2011 Nov 28
1
Avoid package in build process when not supported on OS
Dear all,
I am currently working on a package which involves some simulation where no current simulation run depends on a previous simulation run.
That is why I decided to parallelize the computation using the doMC package (which exists only for unix-like OS).
I can create a package without any R CMD check and R CMD build errors on my computers (Ubuntu Linux 32bit & 64 bit).
The problem
2010 Oct 04
1
Globbing inconsistencies, dir() vs. unlink()
I was trying to remove a directory and couldn't figure out why it was
failing:
> dir("~/p4/r-packages/IREval/Users", recursive=T)
[1] "u0048513/p4/r-packages/IREval/DESCRIPTION"
[2] "u0048513/p4/r-packages/IREval/R/IREval.R"
[3] "u0048513/p4/r-packages/IREval/Read-and-delete-me"
[4] "u0048513/p4/r-packages/IREval/tests/general.R"
>
2012 May 22
0
trouble with png image creation in R v2.14.0 on Red Hat 6
Hello,
Is anyone having trouble with png image generation with 2.14.0 on Red Hat
6?
We recently updated our pipeline to Red Hat 6 (from 5) and R 2.14.0 (up
from 2.9.0) and R shell scripts that worked fine before are now breaking in
an unusual way.
The source of the problem seems to be centered around either label names or
the drawing of axii lines. Whenever I try to label or draw an axis the
2011 Mar 16
0
.libPaths() on Windows may return duplicated paths
In R v2.12.2 patched (2011-03-13 r54787) and also in R v2.13.0 devel
(2011-03-15 r54806), .libPaths() may return the multiple paths
referring to the same "normalized" path name. Here is an example from
Rterm --vanilla using R v2.12.2 patched:
> paths <- .libPaths(c("C:/", "C:\\"))
> paths
[1] "C:/"
[2] "C:\\"
[3]
2003 Aug 15
1
rterm not shutting down from ESS on Win32
I've been having problems with Rterm.exe not shutting down when I exit an R
(1.7.0 and 1.7.1) session from within emacs when using ESS. I've just
upgraded to 5.1.24 and still have the same problems. I'm running ntemacs and
winxp. I don't recall having these troubles with version 1.6.2 of R.
Jeff.
---
Jeff D. Hamann
Hamann, Donald and Associates, Inc.
PO Box 1421
Corvallis, Oregon
2003 Oct 09
1
plotting graphs with Rterm
Hello,
I need to execute R code contained in a file xxx.R from DOS.
The file is really simple, only:
> plot(rnorm(100))
When I launch Rterm from Dos command and then source the file xxx.R it
works, but I need to call the command from a DOS command file *.bat
Using Rterm --slave < xxx.R plots the graph in a postscript file Rplots.ps,
how can I do to get the graph in an R window.
Using a