Displaying 20 results from an estimated 100000 matches similar to: "How to mask or escape "=""
2007 Aug 30
0
How to mask or escape "=" in Windows command prompt?
I have defined a function with several arguments and have it stored in the
.RData file.
The 'function head' is defined as follows
EstimALIConc
<-function(sdname,SZ,W,farea,watri,biomodel,start.part=1,nparts=20,method=c("optim","DEoptim"))
{
[ blah-blah-blah ]
(function body doesn't matter)
}
Then I call Rscript:
e:> rscript --restore -e
2007 May 07
1
looking for equivalent of matlab's medfilt1 function
Dear all,
I have several files with Matlab code, which I am translating to R.
For the zero-level approach, I took the very old shell script from R-help
archives, which has made some obvious leg-work such as replacement of "="
with "<-".
Now I am translating indexing, matrix operations and function call using
this table
http://37mm.no/mpy/octave-r.html
The problem is, I
2007 May 22
2
Please, remind a function name
Sorry, I'm stuck. :)
I am writing a function, which would fit either one linear model or another
one, depending on its argument model.type.
And I don't want to use several if's, because R allows doing it with much
more beauty.
That is I am looking for prettier alternative to the following
AB2C<-function(a,b,model.type="S") { # or HK, and return NULL if this
argument has
2009 Oct 19
1
Spatstat: xy binary data into mask type to use in owin(mask=)
Dear users,
I am trying to export polygons from Arcmap into Spatstat to run some
simulations using functions available in Spatstat package.
One particular area to be exported is formed by a number of polygons
defining the external boundaries of the area (as a groups of islands) and a
number of polygons inside the previous ones, as ?holes? not to be
considered as part of the area.
I have
2010 Jun 30
1
backslash escape characters in JSON strings
Hi,
I am trying to consume a web service that returns a JSON string, however,
when I run
> fromJSON(s)
Error: '\/' is an unrecognized escape in character string starting "http:\/"
because the string s contains a single backslash, which is the JSON escape
character, but R expects 2 backslashes, I think.
Is there anyway to preprocess the JSON string returned from the web
2006 Jul 06
3
URI.escape() broken or misdocumented in Ruby 1.8.4
URI.escape() is supposed to be able to take a second parameter listing
unsafe characters in the URI. This may be a regexp or string. If a
string, it''s supposed to represent a character set listing all unsafe
characters. An example given in the core documentation at:
http://www.ruby-doc.org/stdlib/libdoc/uri/rdoc/classes/URI/Escape.html#M008992
...is:
p URI.escape("@?@!",
2017 Feb 07
0
buggy ANSI escape sequences in R prompt
I guess that R does not know about ANSI sequences, and it calculates the
width of the prompt including the characters in the sequences. You cannot
do much about this, except maybe use a prompt that has two lines. You can
put the colored text and whatever you like in the first line, and the
second line can be non-ANSI.
Note that this works in the terminal, but does not work in RStudio. RStudio
2010 Oct 23
2
How to escape "()" characters in commad
I have the following command:
/usr/local/bin/rsync -avv 'Jeffrey?s iPhone (Root)'/ 'Macintosh
HD'/Users/jeffrey/Downloads/iphone_backup
Unfortunately, it's barking when it hits the "(".
-bash: syntax error near unexpected token `('
How can I escape this?
Thanks.
--
View this message in context:
2017 Feb 07
2
buggy ANSI escape sequences in R prompt
When R is run interactively in a terminal which supports colors, it is
possible to use ANSI escape sequences in order to put colors in the prompt,
such as
options(prompt = "\033[0;31mThis is red\033[0m> ")
Unfortunately, something goes wrong because for long command lines, the
line continuation override the prompt instead of being written in the next
line. The problem gets worse
2007 Jan 29
1
how to explore contents of R data file from command line?
Dear all,
I have a directory with my research project, containing files
.RData
and
inflow.RData
I am just curious, is there any way to explore contents of inflow.RData from
command line without affecting .RData and without copying inflow.RData to
another location?
I can see names and character attributes (of something in the file) in a 3rd
party raw file viewer.
--
View this message in
2007 Oct 16
3
Updating R-Software without complete new installation
Hallo,
as I see there is a new version for R available. Can anyone tell me how
I can update my version 2.5.0 under Windows? The last times I just
uninstalled the old version and installed the new one. Afterwards I had
to install also all needed packages again. All in all it cost me half a
day until my system works fine again. Is there a quicker option? If yes
please tell me the commands.
Thanks,
2012 Dec 05
2
What is "print print print" ?
Hi all.
What is "print print print"?
I don't see output of the print command in for loop and have found this
link:
http://stackoverflow.com/questions/1816200/chisq-test-doesnt-print-results-when-in-a-loop
It describes a problem, similar to mine.
My problem. I want to execute print command in for loop.
If I copy for loop body with print() and paste it to console, I don't see
2024 Dec 10
0
[Bug 3765] New: Escape sequences are accepted more than documented
https://bugzilla.mindrot.org/show_bug.cgi?id=3765
Bug ID: 3765
Summary: Escape sequences are accepted more than documented
Product: Portable OpenSSH
Version: 8.9p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: ssh
Assignee: unassigned-bugs at
2009 Nov 26
13
How to display an image on RGL plot?
Hi all.
It's been a long time since I wrote to this list. Glad to see the R project
well and working.
I am working with a 3D plot similar to this:
http://old.nabble.com/file/p26525177/rgl-device.png rgl-device.png
The underlying picture is a JPEG image, loaded with the rimage package and
coerced to the matrix.
Spheres denote control points, collected from this picture and must be
2012 Jun 13
1
mask and reverse the selection
Hi
I need some help with the function mask I have a polygon and I want to
extract data for all the world except for the polygon
I write this code but it doesn't work, do you have any idea of the problem ?
how can I do that ?
worldmask=mask(invHS,hotspot,inverse=TRUE)
worldmask=mask(invHS,hotspot,reverse=TRUE)
Thanks a lot for your help,
C?line
--
View this message in context:
2009 Aug 17
1
regex problems with the escape character
Hi R-users and R-experts,
I am having a hard time in figuring out how to tackle regex questions where the "backslash" character is an integral part of the string. Let me explain how I?came across?this problem :
I wanted to clearly see all the components in the windows environmental path variable. This is a long string.?For easy readability, I wanted to split up this string so that each
2017 Mar 04
0
[PATCH] rescue: Implement escape sequences.
This implements a few useful escape sequences:
><rescue> ^]?
virt-rescue escape sequences:
^]? - print this message
^]h - print this message
^]i - print inspection data
^]q - quit virt-rescue
^]u - unmount filesystems
^]x - quit virt-rescue
to send the escape key to the rescue shell, type it twice
^]i
root device: /dev/sda3
product name: Fedora 25 (Twenty Five)
type: linux
2006 Jul 28
1
escape/unescape attribution
Not filing this as a bug, but simply as confusion.
In the mongrel.rb, you have a comment that says this about the
self.escape method:
# Performs URI escaping so that you can construct proper
# query strings faster. Use this rather than the cgi.rb
# version since it''s faster. (Stolen from Camping).
def self.escape(s)
s.to_s.gsub(/([^ a-zA-Z0-9_.-]+)/n) {
2020 Mar 27
2
Re: Escape character
On a Friday in 2020, Erik Skultety wrote:
>On Fri, Mar 27, 2020 at 01:48:58PM +0000, Daniel P. Berrangé wrote:
>> On Fri, Mar 27, 2020 at 01:45:21PM +0100, Ján Tomko wrote:
>> > On a Friday in 2020, john doe wrote:
>> > > Hi,
>> > >
>> > > I'm trying to understand how to use the escape character '^]' with the
>> > >
2008 May 12
1
Escape characters or replace function
Hello,
I need to use the ${DATETIME} macro inside the filename saved by Record,
but the colons (':') used in the time interfere with the command
(everything after the colon is interpreted as the format I wish to save to):
My command is:
Record(/path/to/voicemail/${EXTEN}-${DATETIME}-${UNIQUEID}:wav)
I need some function to escape the colons inside DATETIME... I'm sure
it's