Displaying 20 results from an estimated 10000 matches similar to: "Multi-line comments in R"
2015 Aug 20
1
Multi-line comments in R
On Wed, Aug 19, 2015 at 5:16 AM, Nathan Esau <nesau at sfu.ca> wrote:
> I was wondering why the decision was made long ago to never implement
> multi-line comments in R. I feel there are several argument to be made for
> why the R language should have multi-line comments.
>
> 1. Many programming languages (including some which are commonly used for
> statistics, such as
2006 Oct 05
11
Block comments in R?
Hello list,
Is there any way to perform a block comment in R? In C++, anything in
between a /* and */ is considered a comment, and it allows
programmers to comment out chunks of code for testing and debugging.
Is there such a feature in R?
Cheers,
Wee-Jin
2010 Nov 27
6
invalid date
Hi!!
Somebody knows why throws me an exception??
invalid date
C:/Ruby/lib/ruby/1.8/date.rb:1482:in `civil''
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/
core_ext/string/conversions.rb:23:in
`to_datetime''
C:/Ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/xsd/datatypes.rb:
579:in
`screen_data''
2017 Apr 02
2
vfs_shadow_copy2 delimiter not working
Hi
I could not get a custom "shadow:delimiter" for the vfs shadow_copy2
module to work successfully for me with Samba 4.6.2. I did not try
previous versions. Based on my testing it seems that an additional line
of code is needed in vfs_shadow_copy2.c as shown in the patch below
(some comment updates are included too for code readability).
Without the below patch, previous versions
2007 Jan 12
2
cut command on centos
How do I make the delimiter for cut be a single character with hex value 1e?
I tried in a script file:
DELIMITER='\x1e'
DD=`echo $DATA | cut -f 1 --delimiter $DELIMITER`
and it tells me:
cut: the delimiter must be a single character
Jerry
2011 Apr 12
2
Seperator
Hi all
I hope to get some help on the separator. I am sure that I hava a wrong
understanding what the separator is.
I thaught the separator is the delimiter within the imap folder structure.
For example:
Imap folder structure: folder Flights, subfolder Lufthansa
If the delimiter is ?.? the ls ?a command should result:
.Flights .Flights.Lufthansa
If delimiter is
2009 Jul 22
5
Multi-line comments?
Hi,
I looked in the language definition and was surprised. Is there
really no multi-line/block comment defined in R?
I wanted to comment out 20 lines that I'm moving to a function but
didn't want to delete them. Is there no defined way to get around
using a # on each of the 20 lines?
Thanks,
Mark
2006 Aug 22
5
Creating mysql triggers with migrations blows up
def self.up
execute("delimiter ^ ")
sql = <<-_SQL
CREATE TRIGGER customer_bi BEFORE INSERT ON customers
FOR EACH ROW
BEGIN
SET NEW.sndx = SOUNDEX(NEW.lname) ;
END ^
_SQL
sql.split(''^'').each do |stmt|
execute(stmt) if (stmt.strip! && stmt.length > 0)
end
execute("delimiter ;
2007 Apr 24
1
LSUB "" "" vs LIST "" "" (hacked Apple Mail problem)
The LSUB command does not act like LIST when provided with an empty
mask argument. LIST responds with the hierarchy delimiter:
* LIST (\Noselect) "." ""
OK List completed.
whereas LSUB doesn't return anything useful:
OK Lsub completed.
RFC 3501 doesn't specify what LSUB should do in this case, but
Courier IMAP has LSUB act like LIST. The attached patch
2018 Feb 16
4
vfs_shadow_copy2 with snapprefix & delimiter options in samba 4.6.2
Hello Dear Samba Users,
I have sucessfully set a samba share on a centos 7 box (samba 4.6.2) and
succeeded into make work snapshots (vfs_shadow_copy2 with xfs and lvm).
The snapshots appears well in windows previous versions.
However, I expected to go further with snapshots and use the options
"shadow:snapprefix" and "shadow:delimiter"in order to filter daily,
weekly
2004 Sep 10
1
Multi-line string constants: proposed patch
R 1.9.1 requires multi-line strings to contain a backslash at the
end of each line (except the last line). As noted by Mark
Bravington (http://tolstoy.newcastle.edu.au/R/help/02b/5199.html)
this requirement appears to be undocumented.
In S-Plus 6.2, multi-line strings do not need a backslash for continuation.
I recently (http://tolstoy.newcastle.edu.au/R/devel/04b/0256.html)
requested
2005 Sep 24
1
using local-part delimiters in LDA delivery?
hi all,
i've exim 4.53RC2 + dovecot-cvs on OSX 10.4.2.
i'm working on implementing recipient-delimiters for delivery from exim to a
user's imap store using dovecot's cvs-lda.
reading on the wiki (Jakob's latest comments?):
" ... the part after the delimiter is passed to the lda as an additional
parameter. so dovecot-lda should handle that parameter and leave the
2019 May 13
2
LMTP and Sieve with <prefix><recipient_delimiter><user>
Hi there,
Dovecot's LMTP implementation and Pigeonhole Sieve already do support
the <user><delimiter><suffix> format. RfC 5233, the Sieve subaddress
extension, also offers <prefix><delimiter><user>.
Could Docecot's LMTP and Pigeonhole be extended to that effect?
Thanks & greetings,
Paul
2012 May 07
1
commenting out a block of R code
Dear friends,
Is there an easy way of commenting out a block of R code after it has
been written? (I am aware that R-aware editors can insert #
line-by-line while it is being written, but I want to basically block
out chunks of R code in a few strokes.)
This question was asked on this mailing list some time ago: Professor
Ripley's answer was to try the following:
2008 May 18
2
rsync --files-from option file with a custom Delimiter
Hi All,
I'm new to rsync usage in Mac OS X. I'm having a strange issue with --
files-from option.
I'm providing the --files-from to provide a file , which contains the
list of files separated by newline character , to perform backup
operation. Especially in Mac OS X , particular tiff bundle files are
having \r as part of the filename.When rsync reads the filepaths using
delimiter
2020 Feb 21
1
trivial typo in man page Quote.Rd
Attn: someone on R-core:
"ran" should be "can".
Also, thanks for this feature!
Index: Quotes.Rd
===================================================================
--- Quotes.Rd (revision 77845)
+++ Quotes.Rd (working copy)
@@ -74,7 +74,7 @@
Raw character constants are also available using a syntax similar to
the one used in C++: \code{r"(...)"} with
2007 Dec 06
3
number_to_currency
I am using the number to currency function because i live in the uk and
the company want me to only show values of the pound of course.I have
created all my application using ruby script/generate
scaffold_resource.... I have come across with a problem... this code is
in my applcation:
def number_to_currency(number, options = {})
options = options.stringify_keys
precision, unit, separator,
2005 Mar 18
2
Pine and prefix - LIST command bug?
I've been having problems with Pine 4.62 talking to Dovecot 1.0 stable.
It's fine when the folder collection path is empty, but if I have
"~/mail/" or "mail/" it gives access errors (I'm using the "~/mail/",
"mail/" etc. hidden namespaces for backwards compatability).
It seems to me that Dovecot is not replying correctly to a "LIST"
2009 Jul 01
2
Multi-tenant parking broken in 1.6.1.1?
Hello, all. With the assistance of very helpful folks, our brand new
multi-tenant setup seems to be working smoothly from start to finish
with just a bump or two. The biggest is parking. Now that we got most
kinks worked out, I'm a little more comfortable in trying to resolve
this.
There seem to be two problems:
1. Parking assigns parking spaces from the default group no matter
2003 Jun 06
3
writing comments within a function
Hi R lovers!
I would like to know how you can write comments inside the code of a
function
is it latex style
% ?
or any other language style?
thanks a lot
*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute