Displaying 20 results from an estimated 30000 matches similar to: "scan without line numbers?"
2014 Dec 06
1
R CMD check --as-cran and (a)spell checking
Does anyone know if it is possible to add a dictionary file of known
words that becomes part of the *built* package to tell 'R CMD check
--as-cran' not to report these words as misspelled. I want this
dictionary to come with the *.tar.gz such that it will be available
regardless where the package is checked. For instance, currently I
get:
* using log directory
2005 Feb 16
0
Depends, require(), autoload() and "side effects"?
Hi.
If your package require another package in order to define its methods (but
afterwards in is not needed), how should one specify this? Is it correct to
assume that "Depends" will assure that all packages are loaded (attached?
what is the right word) *before* the methods in the current package are
defined? Basically I use my own setMethod() called setMethodS3() that is
defined in
2001 Jul 06
1
Title of bundled packages in the library index (PR#1017)
Full_Name: Henrik Bengtsson
Version: 1.3.0
OS: Windows Me
Submission from: (NULL) (216.175.122.171)
I realized that the title of packages in the library index when they are in a
bundle is the title of the bundle and not the package.
It looks like the TITLE file, which apparently is used for generating the
library index, takes the value of the bundle's title and not the package's
title.
2001 Mar 22
1
Call by reference: Was: Object orientation?
To reply to Yves Gauvreau question (Jan 24, 2001) about how to set values
within function, it is possible to do without without using the "<<-"
assignment operator or other nasty tricks. I had the same problem and I did
a nasty workaround two weeks ago implementing the functionality of reference
variables, but today I "ran into" the [R] help page for ".Alias".
2001 Mar 07
1
Minor bug in maketitle.pl (with bug correction) (PR#864)
Full_Name: Henrik Bengtsson
Version: rw1022
OS: Windows Me
Submission from: (NULL) (216.175.126.55)
When ${R_HOME}/share/perl/maketitle.pl tries to generate a TITLE that is longer
than $lc-3 (=13) characters long, it repeats the package name on line two.
Example: Now it generates an output like:
com.braju.graphics
com.braju.graphics Bla bla bla...
But, I believe it should
2007 May 14
1
Native implementation of rowMedians()
Hi,
I've got a version of rowMedians(x, na.rm=FALSE) for matrices that
handles missing values implemented in C. It has been optimized for
memory and speed. To avoid coercing integers to doubles, and hence
allocate an additional 200% memory, there is one C function for
integers and one for doubles.
The rowMedians() implementation is currently sitting in my non-CRAN
package R.native
2001 Jun 30
1
Rd tag \link not working without \code (PR#1006)
Full_Name: Henrik Bengtsson
Version: 1.3.0
OS: Windows Me
Submission from: (NULL) (216.175.124.18)
Even though I know the Rd format might be replaced soon, I am report this just
in case:
The package optional argument for \link is *only* used when \link is in a \code
environment. Example:
1) This link works: \code{\link[base]{cat}}
2) But not this one: \link[base]{cat}
It looks like the
2002 Aug 14
1
FW: R CMD check: Too long [R] code line generated (PR#1900)
On Wed, 14 Aug 2002, Henrik Bengtsson wrote:
> Sorry, but it was indeed the redirection of the standard output in
> Cygwin/bash that cause the first problem, not R (I should stop doing
> troubleshooting at 1:00 AM). So please forget about the problems reported in
> R_CMD_check.out. However, it would still be nice if you still update R CMD
> check to do join with "\n".
2002 Aug 13
1
R CMD check: Too long [R] code line generated (PR#1900)
Full_Name: Henrik Bengtsson
Version: 1.5.1
OS: WinMe
Submission from: (NULL) (217.210.0.243)
In the Perl script $R_HOME/bin/check there is a bug under the section "Check R
code for syntax errors" where the 'Rfiles <- c(...)' is build up. If there are
too many files in @Rfiles the source code line generated will be too long and
weird things will happen, e.g. strange
2004 Mar 15
1
R v1.9.0 alpha w/ Rtools: gzip problem
Hi, Gordon Smyth brought the following problem to my attention.
PROBLEM/"BUG":
Using R v1.9.0 alpha for Windows and the latest Rtools from Brian
Ripley you get the following problem trying to R CMD build a package
(or a bundle);
>R CMD build R.basic
* checking for file 'R.basic/DESCRIPTION' ... OK
* preparing 'R.basic':
* checking whether 'INDEX' is
2001 Sep 15
1
Command-line history not working...
I am trying to build [R] v1.3.1 *locally* on a Sun Solaris 8 machine.
One problem I am currently struggeling with is to make the command-line
history function to work. I have installed GNU readline version 4.2
(latest version). Looking at the "config.log" file it seems that all
readline related checks, e.g. "readline/history.h", passes (they did not
before installing GNU
2001 Aug 03
1
Warning when building packages and update suggestion
I want to share this knowledge to save you the hours it took me to
troubleshoot the following problem. Maybe you already know about this, but I
certainly didn't. In the end I also suggest an update fix.
PROBLEM:
I have been building packages for a couple of months now without any
problems. However, a couple of hours ago I ran into a strange problem, which
I first couldn't understand or
2001 May 08
1
ASCII map?
Is there a way to convert between and integer and a character and vice
versa? For instance
i <- 65;
ch <- intToChar(i); # "A"
i <- charToInt(ch); # 65
or even better
i <- c(65, 66);
ch <- intToChar(i); # c("A", "B")
i <- charToInt(ch); # c(65, 66)
I have tried to do a ASCII map myself, and I figured out that the ASCII
2002 Aug 14
0
source() crashes on long lines (PR#1900)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
------=_NextPart_000_0006_01C2432C.7ACD6BA0
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine.GSO.4.44.0208140920312.15226@auk.stats>
2002 Feb 20
2
How to get the penalized log likelihood from smooth.spline()?
I use smooth.spline(x, y) in package modreg and I would like to get
value of penalized log likelihood and preferable also its two parts. To
make clear what I am asking for (and make sure that I am asking for the
right thing) I clarify my problem trying to use the same notation as in
help(smooth.spline):
I want to find the natural cubic spline f(x) such that
L(f) = \sum_{k=1}{n} w[k](y[k] -
2005 Jul 15
2
R v2.1.0 patched (>2005-05-09) for Windows?
I'm trying to troubleshoot a case where R crashes on Windows. It does
not occur at all with my R v2.1.0 patched (2005-05-09), but happens on R
v2.1.1 (patched or non-patched) in many different cases. The R
v2.2.0dev (2005-07-15) also got this problem (although it won't crash on
the below example). I previously reported this
2003 Mar 01
1
RE: [R] File opening error after 1020 files opened
Maybe open.connection() should also check if the connection is already
open and given an error or at least a warning if it is. Suggested code
update:
open.connection <- function(con, open="r", blocking=TRUE, ...) {
if (!inherits(con, "connection"))
stop("argument is not a connection")
if (isOpen(con)) # NEW
2017 Dec 05
2
command line arguments are parsed differently on windows, from 3.4.3
Sorry for not reading carefully and thanks for confirming problem with
Rscript too.
On Dec 5, 2017 08:47, "G?bor Cs?rdi" <csardi.gabor at gmail.com> wrote:
> On Tue, Dec 5, 2017 at 4:40 PM, Henrik Bengtsson
> <henrik.bengtsson at gmail.com> wrote:
> > One comment:
> > For your R devel example you didn't use spaces in the expression, i.e.
> maybe
2006 Jan 08
4
repeat { readline() }
Hi.
Using Rterm v2.2.1 on WinXP, is there a way to interrupt a call like
repeat { readline() }
without killing the Command window? Ctrl+C is not interrupting the loop:
R : Copyright 2006, The R Foundation for Statistical Computing
Version 2.2.1 Patched (2006-01-01 r36947)
<snip></snip>
> repeat { readline() }
^C
^C
^C
^C
On Unix it works. The problem seems to get the
2006 Mar 14
1
New simpleExit() condition (Was: Re: Can example() code stop the example without generating an error?)
On 3/14/06, Uwe Ligges <ligges at statistik.uni-dortmund.de> wrote:
> Henrik Bengtsson wrote:
>
> > Hi,
> >
> > does anyone know if it is possible to write example code (in Rd
> > examples) such that one can stop the example without generating an
> > error? Example:
> >
> > code A
> > if (cond)
> > niceStop()
> > code B