Displaying 20 results from an estimated 10000 matches similar to: "Underscore or not?"
2010 Jul 05
2
Windows 64bit package build requires underscore hack?
Hello,
After much tinkering I managed to build packages using the 64bit version of
R with the help of hints from
http://www.murdoch-sutherland.com/Rtools/
and
http://www.stats.ox.ac.uk/~ripley/Win64/W64porting.html
and
R-admin Manual.
But a hack was required, and this seems to be related to
a comment about underscores at the end of the second
reference above (but this comment is about FUTURE
2004 Apr 02
1
Underscore and ESS
This is a question that I should have sent to 'ess-help', but I
take my chances...
In 'NEWS' (1.9.0) I read the good news
o Underscore '_' is now allowed in syntactically valid names, and
make.names() no longer changes underscores. Very old code
...
but when I try it in emacs (ESS 5.1.24), my '_' are changed to ' <- '!
What can I do?
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
2000 Oct 03
1
(fwd) Re: the underscore ("_") in variable name
> From: dmurdoch at pair.com (Duncan Murdoch)
> Date: Tue, 03 Oct 2000 12:31:32 GMT
>
> On Tue, 03 Oct 2000 10:55:28 +0000, Alberto Murta <amurta at ipimar.pt>
> wrote:
>
> > And objectively, it's a fact that "<-"
> >makes the code easier to read than "_".
>
> I don't follow this argument. Underscore isn't used
1999 Aug 30
3
using underscore character in column names
Suppose you're reading data from a file in which the
column names contain underscore characters. Example:
------ start of file -----
pos_x pos_y
1.0 0.0
2.0 1.0
------ end of file -------
Using read.table, I can read this file just fine:
> data <- read.table (file="data", head=T)
> data
pos_x pos_y
1 1 0
2 2 1
>
However, I can't
2004 May 20
1
R 1.8.1 - 1.9.0 incompatability: Underscore in syntactically valid names
Dear R-gang,
I have a question about handling underscores in names in R 1.8.1
and 1.9.0. I recently installed 1.9.0 on a machine and found
that many codes no longer work as a result of the changed
behavior in make.names.
I have numerous data files that have dashes, periods and
underscores in the header row. I've got numerous R codes that
read those files with read.table and read.csv and
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
2003 Aug 12
2
Replacing underscore character in Windows GUI
Hello, all,
I'd like to propose that now that the underscore-as-assignment-operator
is to be removed from R (good thing, too), that the Windows GUI should
replace the underscore ``_'' with the proper assignment operator ``<-''
when you type in the underscore character.
This is the current default behaviour in the ESS mode in emacs, and seems
to me to be a generally good
2007 Jul 06
2
Make #underscore reversible
Hello All,
I''ve submitted a patch (http://dev.rubyonrails.org/ticket/8898) to
enable #underscore to be reversible.
I had trouble creating a class named "CRSContact", and it turns out
that underscore and camelize are not reversible in cases where there
are 3 or more capital letters. As there is a dependency between class
name and file name I think it would be beneficial for
2010 Jan 26
1
samba veto files: underscore
Hello all,
I'm trying to hide files beginning with a underscore ( "_" ) and hidden files from my samba share's so i added this to my smb.conf:
veto files = /_*/.*/
The section with the dot works, but the one with the underscore doesn't. I also tried /\_*/.*/ but this has the same result.
Any ideas how to hide the files beginning with a underscore?
Thanks,
Evas
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
2010 Aug 09
3
ESS question. How to get rid of ess-smart-underscore?
Hi,
ESS replaces "_" by "<-". How can I switch off this feature?
I need to be able to type the underscore
Thanks
Eryk
--
Witold Eryk Wolski
Heidmark str 5
D-28329 Bremen
tel.: 04215261837
2000 Oct 02
1
FW: the underscore ("_") in variable name
don't know much about programming. But I know that it is not a good idea to
assign a variable name to the name of an intrinsic constant or function. In
your example, you assign the name "c" to a variable. But "c" is already the
name of a function i R. In this way you are asking for trouble.
-----Original Message-----
From: owner-r-help at stat.math.ethz.ch
2009 Jul 15
3
DO NOT REPLY [Bug 6553] New: rsync hangs at filenames starting with an underscore
https://bugzilla.samba.org/show_bug.cgi?id=6553
Summary: rsync hangs at filenames starting with an underscore
Product: rsync
Version: 3.0.6
Platform: PPC
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: gerald at
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
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
2006 Jun 05
2
Functions starting with underscores
I'm having problems with functions starting with underscores
'_foo' <- function(x) {1}
seems to work
but I can't assign an attribute to this function
attr('_foo', 'bar') <- 'pow'
Any way of doing this? This is for a C++ -> R wrapping system so I'd like to
keep the C++ names which start with underscores.
(please cc: responses to me
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
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
2006 Jun 03
1
legacy support: removing underscore from table name.
I am using ms sql server and want to configure RoR such that it does not
convert the given table name (example: rubyonrails) to ruby_on_rails.
I set @@pluralize_table_names = false, so that it does not pluralize
the table names but cannot find the config setting which will force it
not to put underscore between words in a table name.
thanks in advance,
--
avinash
--
Posted via