search for: underscor

Displaying 20 results from an estimated 1228 matches for "underscor".

Did you mean: underscore
2004 May 10
3
sqlSave with underscores in table fieldname
...el, temp6, tablename = "series_indices_test", append = TRUE, : unable to append to table %sseries_indices_test My table definition is: ind_id smallint(3) ser_id smallint(4) period_id tinyint(2) year smallint(4) calc mediumint(6) mean mediumint(6) This error is related to the underscores I use in the table. Because, when I change the table definition to (removing underscores): indid smallint(3) serid smallint(4) periodid tinyint(2) year smallint(4) calc mediumint(6) mean mediumint(6) and execute colnames(temp6) <- c("indid","serid","periodid",...
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...
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 unders...
2001 Oct 11
3
Underscores and Fortran code
...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 appends TWO underscores to the ends of Fortran names that contain an underscore. According to the g77 documentation this is for compatibility with f2c and "many other UNIX Fortran compilers". Unfortunately these symbols are not in turn fo...
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
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 underscore...
2010 Jul 05
2
Windows 64bit package build requires underscore hack?
...ter 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 changes in R starting with 2.12.x, and I'm not sure how it applies to the current problem using 2.11.1). If I simply follow the instructions of the first reference I get lots of "cannot export / symbol not define...
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...
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...
2006 Jun 30
2
underscore and italic policy
...t 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 italics. My apologies if this is an already much discussed aspect of Markdown, but while the syntax for showing embedded underscores (escaping them) is clear, I can't think of many situations where one would want embedded italics. In our user community at least the much more common...
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 relatively common use case, for example setting LC_ALL. In our use case, we are using a perl script to fetch public keys from LDAP and setti...
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,...
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 das...
2006 Feb 16
3
Sweave - problems with underscores in variable names...
...tarted 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 is.... <<missing_data,echo=false,results=tex>>= ## Lists observations with missing data miss_1431 <- subset(gen, PPARG1.2_1431GA == "", select= c(AAA_ID,PPARG1.2_1431GA)) xtable(miss_1431, caption="Missing...
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 http://www.ruby-forum.com/.
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 tho...
1998 Jun 15
1
R-beta: fortran problems with 0.62
One of the big problems in mixing fortran and C is knowing if the various compilers/loaders need extra underscores in the names of the entry points. The 0.62 release of R, which has reverted to using fortran, seems to be broken in this respect. In particular, on a machine which does not append underscores to fortran entry points (HP-UX 10.20), there are many problems. It seems that the configure script...
2000 Oct 02
1
FW: the underscore ("_") in variable name
...t;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 [mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of mohd zamri Sent: 2. oktober 2000 08:36 To: r-help at stat.math.ethz.ch Subject: [R] the underscore ("_") in variable name new to R and starting to learn to program R. The underscore ("_") did some suprising result. e.g > c <- c(1,2,3,4,5) > mean(c) [1] 3 > c_mean <- mean(c) > c [1] 3 having some experience in C, I thought the underscore is "always&...
2005 Dec 31
3
[Model] [Noob] Table Naming w/ underscores
...tely the name "transactions" is a reserved term in Rails (being the only accounting term trully representational of a financial transaction). I am left to come up with other names. One such name was f_transaction. This worked on the DB level, but I noticed that the Model name dropped the underscore, thus "FTransaction". How do I refer to the model in the view layer? Do I use f_transaction, ftransaction? Either way it is currently returning a nill object at the moment. Along the same naming issue, when defining a method "recent_ftransactions" how does the naming work her...
2019 Aug 08
5
Underscores in package names
...y technical reason this couldn't be altered to accept `_` as well, e.g. "[[:alpha:]][[:alnum:]._]*[[:alnum:]]" I realize that historically `_` has not always been valid in variable names, but this has now been acceptable for 15+ years (since R 1.9.0 I believe). Might we also allow underscores for package names? Jim