Displaying 20 results from an estimated 11000 matches similar to: "Blank commands"
2009 Apr 01
2
Definition of = vs. <-
NOTA BENE: This email is about `=`, the assignment operator (e.g. {a=1}
which is equivalent to { `=`(a,1) } ), not `=` the named-argument syntax
(e.g. f(a=1), which is equivalent to
eval(structure(quote(f(1)),names=c('','a'))).
As far as I can tell from the documentation, assignment with = is precisely
equivalent to assignment with <-. Yet they call different primitives:
>
2009 Apr 01
2
Definition of = vs. <-
NOTA BENE: This email is about `=`, the assignment operator (e.g. {a=1}
which is equivalent to { `=`(a,1) } ), not `=` the named-argument syntax
(e.g. f(a=1), which is equivalent to
eval(structure(quote(f(1)),names=c('','a'))).
As far as I can tell from the documentation, assignment with = is precisely
equivalent to assignment with <-. Yet they call different primitives:
>
2009 Feb 06
1
Operations on difftime (abs, /, c)
Since both comparison and negation are well-defined for time differences, I
wonder why abs and division are not defined for class difftime. This
behavior is clearly documented on the man page: "limited arithmetic is
available on 'difftime' objects"; but why? Both are natural, semantically
sound, and useful operations and I see no obvious reason that they should
give an error:
2009 Feb 06
1
Operations on difftime (abs, /, c)
Since both comparison and negation are well-defined for time differences, I
wonder why abs and division are not defined for class difftime. This
behavior is clearly documented on the man page: "limited arithmetic is
available on 'difftime' objects"; but why? Both are natural, semantically
sound, and useful operations and I see no obvious reason that they should
give an error:
2008 Dec 31
1
plot.stepfun xlim
i've noticed a strange problem when plotting a stepfun.
according to the documentation, the xlim parameter should bound the
range of the function being plotted, and is returned as the extreme
two values (i.e. first and last) in the vector t from the plot.stepfun
call. instead, it plots beyond the desired range (although the limits
are preserved for the viewing space).
to reproduce:
foo
2009 May 26
1
stricter use of xlim in plot.stepfun
Dear R developer,
I am not quite sure, if I should post my concern as a wish to
r-bugs at r-project.org. Thus, as recommended, I first send an email to you.
My request is the following: I would appreciate, if it was possible to
obtain a plot of a 'stepfun' with a strict interpretation of xlim.
What I mean:
sf <- stepfun(1:4, 1:5)
plot(sf, xlim=c(0,10))
does not bound the function to
2011 Apr 28
0
Read function that detects format automatically
I was wondering if there exists a function that automatically tries to detect
the format of a datafile. E.g. if it is an ascii datafile, that it can
detect appropriate defaults for the read.table() parameters. One could for
example read the first 10 lines of the file and analyze the format of the
first line in comparison with the others, count the number of dots, colons
and semicolons, etc. More
2010 Nov 15
2
[PATCH 00/44] remove unnecessary semicolons
ya trivial series...
Joe Perches (44):
arch/arm: Remove unnecessary semicolons
arch/microblaze: Remove unnecessary semicolons
arch/um: Remove unnecessary semicolons
drivers/cpufreq: Remove unnecessary semicolons
drivers/gpio: Remove unnecessary semicolons
drivers/i2c: Remove unnecessary semicolons
drivers/isdn: Remove unnecessary semicolons
drivers/leds: Remove unnecessary
2010 Nov 15
2
[PATCH 00/44] remove unnecessary semicolons
ya trivial series...
Joe Perches (44):
arch/arm: Remove unnecessary semicolons
arch/microblaze: Remove unnecessary semicolons
arch/um: Remove unnecessary semicolons
drivers/cpufreq: Remove unnecessary semicolons
drivers/gpio: Remove unnecessary semicolons
drivers/i2c: Remove unnecessary semicolons
drivers/isdn: Remove unnecessary semicolons
drivers/leds: Remove unnecessary
2010 Nov 15
2
[PATCH 00/44] remove unnecessary semicolons
ya trivial series...
Joe Perches (44):
arch/arm: Remove unnecessary semicolons
arch/microblaze: Remove unnecessary semicolons
arch/um: Remove unnecessary semicolons
drivers/cpufreq: Remove unnecessary semicolons
drivers/gpio: Remove unnecessary semicolons
drivers/i2c: Remove unnecessary semicolons
drivers/isdn: Remove unnecessary semicolons
drivers/leds: Remove unnecessary
2010 Nov 15
2
[PATCH 00/44] remove unnecessary semicolons
ya trivial series...
Joe Perches (44):
arch/arm: Remove unnecessary semicolons
arch/microblaze: Remove unnecessary semicolons
arch/um: Remove unnecessary semicolons
drivers/cpufreq: Remove unnecessary semicolons
drivers/gpio: Remove unnecessary semicolons
drivers/i2c: Remove unnecessary semicolons
drivers/isdn: Remove unnecessary semicolons
drivers/leds: Remove unnecessary
2008 Jun 21
2
using the stepfun to plot histogram outline.
Hello list:)
I have lots of values which I would like to get a histogram outline
out of.
An example of what I am talking about:
testdata = runif(100)
bbb = seq(0,1, by = 0.01)
hist(testdata, breaks = bbb)
I would like to get the outline of the resulting histogram.
Now, I think that I can do this using the stepfun function. However, I
am uncertain of how to get to the data the stepfun function
2011 Feb 08
1
help on stepfunction
Dear members,
I would like a help for extracting the values from a step function
(stepfun).
>From help(stepfun) we have the following example:
Y0<-c(1.,2.,4.,3.)
y0<-c(1.,2.,3.,4.)
sfun<-stepfun(1:3,y0,f=0)
plot(sfun)
Now, suppose instead I was given the object (*sfun*, say) from which I
wanted to extract the values generated by the function *stepfun*. More
precisely, I want to
2002 Jul 25
1
Calling the correct one of 2 conflicting functions
Hello,
My specific system is
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 5.1
year 2002
month 06
day 17
language R
Each of the hmisc and stepfun packages has a function
2012 Feb 25
1
RFT: Use Greek semicolons for comdlg32's printer status enumeration?
Request For Translators<g>
So what I've gathered from Wikipedia is that the Greek language does not
use semicolons as a separator for enumerations:
http://en.wikipedia.org/wiki/Semicolon#Greek_and_Church_Slavonic
| In Greek and Church Slavonic, a semicolon indicates a question,
| similar to a Latin question mark.[2] To indicate a long pause or
| separate sections, each with commas
2008 Jul 07
2
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
On Mon, Jul 7, 2008 at 11:10 AM, Rajika Kumarasiri <rajikacc at gmail.com> wrote:
> hello everybody,
>
> I have added few improvements to my patch. Please review the new patch
> directly.
> Thanks!
>
Hi Rajika,
A few stylistic comments. I'll let others comment on the algorithm for now:
if ($VERBOSE) {
print "( time -p $SVNCMD/llvm/trunk llvm; cd
1998 Jul 06
0
R-beta: Printing documentation for R and all packages installed
Dear R gurus and users,
in order to provide the local users of R with a printed copy of the
ample documentation provided with R and the optional packages
installed, I have introduced a minor change to the
R/doc/manual/Makefile.
Using GNU find, GNU sed, and features of GNU make, the LaTeX
documentation found in the subdiretories of .../R/library/ is copied
to .../R/doc/manual, and appropriate
2012 Jul 17
0
R CMD build/check on Windows 7 -- Please ignore
I will repost on R-devel.
-- Bert
On Tue, Jul 17, 2012 at 10:32 AM, Prof Brian Ripley
<ripley@stats.ox.ac.uk>wrote:
> On 17/07/2012 18:20, Bert Gunter wrote:
>
>> Folks:
>>
>> sessionInfo()
>> R version 2.15.0 (2012-03-30)
>> Platform: i386-pc-mingw32/i386 (32-bit)
>>
>> locale:
>> [1] LC_COLLATE=English_United States.1252
>> [2]
2003 Dec 12
2
Reorganization of packages in the R distribution
After long but intermittent discussion (it was mentioned at DSC99, for
example), we have reorganized the standard packages, with
base graphics stats utils methods
normally loaded,
mle splines stepfun tcltk tools
available for loading, and
ctest eda lqs modreg mva nls ts
as stub packages which ensure back-compatibility. (These have all been
merged into stats except lqs which rejoins
2008 Nov 29
2
Using grep() to subset lines of text
I have two vectors, a and b. b is a text file. I want to find in b those
elements of a which occur at the beginning of the line in b. I have the
following code, but it only returns a value for the first value in a, but I
want both. Any ideas please.
a = c(2,3)
b = NULL
b[1] = "aaa 2 aaa"
b[2] = "2 aaa"
b[3] = "3 aaa"
b[4] = "aaa 3 aaa"