Easy to fix, and less serious than
vector(list, length=NaN)
list()
On Sun, 20 Jan 2008, Henrik Bengtsson wrote:
Nothing serious, but I just noticed that if you pass a function as the
'length' argument of vector(), you get the following misinformative
error message:
vector(list,
--Apple-Mail-44--797532055
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
I believe read.table may report misleading errors. In this example,
where a header line in a file has an incorrect number of row names (28
[EMAIL PROTECTED] wrote:
--Apple-Mail-44--797532055
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
I believe read.table may report misleading errors. In this example,
where a header line in a file has an incorrect
On Sun, 20 Jan 2008, [EMAIL PROTECTED] wrote:
--Apple-Mail-44--797532055
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
I believe read.table may report misleading errors. In this example,
where a header line in a
Hello,
first of all, thanks to LT for \pkg{codeutils}. I agree that it is
indeed very useful to identify errors and also to encourage re-thinking
past solutions. My problem:
I want to compare different sets of related sub-functions which should
be used alternatively by the same top-level
On 1/21/2008 8:30 AM, Thomas Petzoldt wrote:
Hello,
first of all, thanks to LT for \pkg{codeutils}. I agree that it is
indeed very useful to identify errors and also to encourage re-thinking
past solutions. My problem:
I want to compare different sets of related sub-functions which should
--Apple-Mail-1--729254567
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
On 21 Jan 2008, at 11:38, Prof Brian Ripley wrote:
The first column of your file repeats 0 and 1, and your
specification asked for the first
On Mon, 21 Jan 2008, David Reitter wrote:
On 21 Jan 2008, at 11:38, Prof Brian Ripley wrote:
The first column of your file repeats 0 and 1, and your specification asked
for the first column to be taken as the row names: from the help file
If 'row.names' is not specified and the header
Hello Duncan,
thank you very much for your prompt reply. When I interpret your answer
correctly there seems to be no alternative than either:
A) using lots of (possibly private) functions in the package or,
B) define dummies for all functions which are in such lists or,
C) ignore the NOTE,
On 1/21/2008 9:58 AM, Thomas Petzoldt wrote:
Hello Duncan,
thank you very much for your prompt reply. When I interpret your answer
correctly there seems to be no alternative than either:
A) using lots of (possibly private) functions in the package or,
B) define dummies for all functions
If the intention is to place fList's contents in the global environment
then you need to specify that in addtoenv or else it assumes
the parent environment.
flistA - list(foo = function () 1:10, bar = function() log(foo()))
makefun - function(fList) addtoenv(fList, .GlobalEnv)
makefun(flistA)
Hi Gabor,
nice to see you on this thread.
As you see, I'm back with my old problem.
Gabor Grothendieck wrote:
If the intention is to place fList's contents in the global
environment
then you need to specify that in addtoenv or else it assumes
the parent environment.
No, it was the
On 1/21/2008 11:50 AM, Thomas Petzoldt wrote:
Duncan Murdoch wrote:
On 1/21/2008 9:58 AM, Thomas Petzoldt wrote:
Hello Duncan,
thank you very much for your prompt reply. When I interpret your answer
correctly there seems to be no alternative than either:
A) using lots of (possibly private)
On Sun, 20 Jan 2008, Gabor Grothendieck wrote:
I agree. Its incredibly useful.
OK gentlemen, you have piqued my curiosity.
Can you give an example or two of situations you encountered in which a
codetools function was so helpful?
Chuck
On Jan 20, 2008 11:02 PM, Henrik Bengtsson [EMAIL
Tracking down the free variables in a function when
reworking old code.
On Jan 21, 2008 12:41 PM, Charles C. Berry [EMAIL PROTECTED] wrote:
On Sun, 20 Jan 2008, Gabor Grothendieck wrote:
I agree. Its incredibly useful.
OK gentlemen, you have piqued my curiosity.
Can you give an example
In R version 2.6.1 (2007-11-26)
and R version 2.6.1 Patched (2008-01-19 r44061)
on openSUSE 10.2 (X86-64)
gctorture()
proc.time()
Error: protect(): protection stack overflow
The problem with this is that then
R CMD check --use-gct foo
ALWAYS FAILS with
cat(Time elapsed: , proc.time() -
R developers:
I have some parallel C code, written with the MPI library, that I would
like to call from R, but I get the error message below.
cocite.mat.true.parallel.so compiles without complaint and I have MPI in
my path, but R isn't recognizing one of the MPI symbols.
I have a feeling that
[EMAIL PROTECTED] wrote:
In R version 2.6.1 (2007-11-26)
and R version 2.6.1 Patched (2008-01-19 r44061)
on openSUSE 10.2 (X86-64)
gctorture()
proc.time()
Error: protect(): protection stack overflow
The problem with this is that then
R CMD check --use-gct foo
ALWAYS FAILS
18 matches
Mail list logo