Displaying 20 results from an estimated 10000 matches similar to: "Functions starting with underscores"
2003 Nov 12
1
Power (^) 10x slower in R since version 1.7.1... What next?
OK, I have made a little search about this "problem" that apparently occurs
only on Windows platform... (but I am sure most of you are already aware of
it): the slow down is due to the adoption of a different algorithm for pow
in mingw 3.x. This is motivated by some other changes in mingw. Here is a
quote of Danny Smith that did this change:
>When mingw changed default FPU settings
2006 Jun 30
2
underscore and italic policy
Hi All,
So I just joined the list - first off, Markdown is a great format and
we're using it in our online community project disCourse:
http://discourse.ics.hawaii.edu
We're using markdown for our wiki pages, stories, message postings,
pretty much everywhere.
One markdown policy that doesn't seem to fit intuitively for our users
is the fact that embedded underscores leads to
2001 Oct 11
3
Underscores and Fortran code
This might more properly be filed as a bug report, but ...
I came upon the following problem while trying to dyn.load a library
of Fortran code into R. I'm running RedHat 7.1 on a Pentium III
laptop, with R version 1.3.1 (latest rpm from CRAN) and gcc/g77
version 2.96.
My library has a number of Fortran subroutines that have underscores
in their names for readability. By default g77
2006 Feb 16
3
Sweave - problems with underscores in variable names...
Hi all,
I've just started using the Friedrich Leisch's Sweave package to
generate LaTeX reports with results of my analyses embedded as
required.
I've encountered a bit of a problem though in the processing of the
resulting *.tex file that is as far as I can tell, down to the fact
that my variable names have underscores ('_') in their names.
The relevant section of code
2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
Hi Martin,
Thank you for the hint.
> For 32 bit windows, functions with cdecl calling convention (the default
> in C) are decorated with an underscore prefix. So you'd need to update
> your nasm source file to define the symbol _Foo instead of Foo. (Most
> assembly files use some sort of macro for wrapping this detail.)
Yes, my assembly files do use prefix macro (ASM_PFX) for
2006 Aug 15
2
to_xml and underscores
hi,
i am looking for a solution whereupon
calling myEntityObject.to_xml does not
convert my attributes containing underscores
into hyphens.
at the moment an attribute named "my_own_attribute"
is converted into <my-own-attribute>.
does anybody have an idea how to change that
and have to_xml generate <my_own_attribute>
thanks
ciao robertj
--
Posted via
2001 Sep 21
1
Quoting underscores in variable names
(please Cc: me in replies, as I am not on the r-help list)
Hi,
I have discovered that underscores are not allowed in variable names,
although this is not by any means the first instance of such a
discovery. Short of going through all my other data, and removing
underscores, is it possible to quote underscores in R? I had something like:
> plot(g\_code ~ sp\_code, data=genes)
Error: syntax
2004 May 10
3
sqlSave with underscores in table fieldname
Hi group,
I try to write a frame to a table (RODBC). I use
colnames(temp6) <- c("ind_id","ser_id","period_id","year","calc","mean")
sqlSave(channel, temp6, tablename = "series_indices_test",append= TRUE, rownames=FALSE, verbose = FALSE, test = FALSE, nastring = -999999, fast = FALSE)
This is giving me an error:
Error in
2019 Aug 08
5
Underscores in package names
Are there technical reasons that package names cannot be snake case?
This seems to be enforced by `.standard_regexps()$valid_package_name`
which currently returns
"[[:alpha:]][[:alnum:].]*[[:alnum:]]"
Is there any technical reason this couldn't be altered to accept `_`
as well, e.g.
"[[:alpha:]][[:alnum:]._]*[[:alnum:]]"
I realize that historically `_` has not
2018 Jun 21
2
[PATCH] [1/1] Allow underscores in user environment string
Hi all,
I've noticed that OpenSSH 7.7 adds stricter validation of user
environment strings from authorized_keys files. While strict
validation is a good thing from a security perspective, this new
change specifically blocks underscores which are common to include in
a user environment string. This results in the key being rejected
outright. Including underscores in a user environment is a
2006 Apr 27
6
Possible to use dashes instead of underscores in rails?
Hi all -
My boss is asking me if we can have dashes instead of underscores in the
URL for SEO reasons. Apparently google prefers "foo-bar" to "foo_bar".
The former will be found when searching for just "foo", but not the
latter.
So, I''m wondering if there is a way without changing any of my code
if I can tell rails to use dashes instead of underscores?
2009 Sep 17
1
Bind 9.3.4-10.P1.el5_3.3 check-names and underscores
Updating old CentOS 4 DNS servers to CentOS 5, one of our zones has a number
of entries with underscores in. Starting named results in the following
error and named refusing to start.
masters/example.com.db:33: mail_server.example.com: bad owner name
(check-names)
I've tried including
check-names master ignore;
in the options but this isn't making any difference. I've read a lot
2019 Aug 15
3
Underscores in package names
Martin,
Thank you for discussing this amongst R-core and for detailing the
R-core discussion here.
Some specific examples where having underscores available would have
been useful.
1. My primerTree package (2013) was originally primer_tree, but I had
to change the name to camelCase to comply with the check requirements.
Using camelCase in the package name makes reading code jarring, as the
2006 Nov 19
2
underscores, sugar, and more and more bugs
I sent this earlier under with the subject "artificial sugar causes
cancer" and I think some spam filters ate it. Here it is again:
======================================
All,
If you look at http://rubyforge.org/tracker/index.php?func=detail&aid=6760&group_id=797&atid=3149
you''ll see that Chad (the submitter) found the source of the bug.
Unfortunately, the source
2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
Hi Rui, Peter,
You know I'm enabling the "clang-cl + lld-link" toolchain for Uefi firmware. I meet a problem that the lld-link fails to link 32bits assembly functions, but can link 64bits assembly functions successfully. I need your suggestion.
Below is an example to show my problem in linux. The example has two only source files: main.c and foo.nasm.
$ cat main.c
void Foo (void);
2007 Sep 30
1
to_xml node names with underscores
When I call to_xml on my active record objects, it replaces
underscores with hypens. E.g.:
<categories>
<category>
<content-provider-id type="integer">1</content-provider-id>
<id type="integer">2</id>
<name>Traffic Alerts</name>
</category>
</categories>
When the actual field is content_provider_id. I remember
2009 Sep 27
1
RSQLite column names underscores
Hi,
When I use RSQLite's dbWriteTable(...) function, the columns in the db
table frequently end up having "__1" (two underscores and a one) added
to them. The names are unique within the table and contain no weird
characters. For example a "position" column from a data.frame was
written to the DB as "position__1".
Does anyone understand how this name munging
2017 Jun 06
3
[Cellar] FLAC Markdown
Hello all!
(cc-ing the flac-dev list)
I would like to give an update as to the recent CELLAR work on the FLAC
specification.
• Work has been done to make internal and external links more accurate and
reliable.
• 'Rice Coding' has been clarified as 'Exponential Golomb Coding.'
• Clarifications have been made for binary representation.
• Typos and other small changes have been
2019 Aug 09
7
Underscores in package names
Won't it be better to have a convention that allows lowercase, dash,
underscore and dot as only valid characters for new package names and keep
the ancient format validation scheme for older package names?
This could be implemented by a single function, taking a strictNaming_b_1
parameter which defaults to true. Easy to use, and compliance results will
vary according to the parameter value,
2019 Aug 09
1
Underscores in package names
Naming policies are always tricky. The one proposed by Hadley, as the one
proposed by Google, are usable but not optimal according to most common
needs, that are
1. Name a package
2. Name a class
3. Name a function
4. Name a parameter of a function
5. Name a variable
My approach is the following
1. Package names should be made of lowercase characters, dash, dot and
underscore
2. Class names