Displaying 20 results from an estimated 10000 matches similar to: "syslinux does not interpret backslash"
2008 Jan 23
4
extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4"
Hello list,
in a previous post I mentioned I had managed to make
USB-Stick with 2048
byte sectors bootable. In fact I wiped out my Linux
partitions
bootrecord. This was with an old version of extlinux
as still
distributed by openSuSE.
Interestingly enough the current version
syslinux-3.61-pre2, spares my
hard disk, but still seems to live under the
impression it is the USB
stick.
The setup is
2008 Jan 27
1
[Fwd: Re: extlinux reports "./extlinux: path /media/disk doesn't match device /dev/sda4"]
How often is this the case ?
???
> If extlinux is the system bootloader, then often
what you call the
> system partition will be the one that should have
extlinux installed on it.
I think in most cases people try to make _some_other_
disk bootable. If I boot with extlinux as the
bootloader
why should I want to install it again ? Apart from
that it would then require -u not -i.
Casual
On
2011 Nov 04
3
replace double backslash with singel backslash
I want to replace \\ with \ in:
str <-
"C:\\DOKUME~1\\u0327336\\LOKALE~1\\Temp\\RtmpQ5NJ8X\\TIRIS_PICS\\1_Img.jpg"
and tried:
gsub("\\\\", "\\", str)
but this removes the \\ without replacing them by \
Any help much appreciated,
Kay
-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of Innsbruck
------------------------
2008 May 09
4
Gnome-terminal's backslashes look like Ws with a horizontal line through -- how to get a backslash?
Hello!
I've just started trying gnome-terminal (instead of xterm) because of
its "tabbing" facility. However, I note that with it backslashes appear
something like a W with a horizontal line through it. Any known way to
get a backslash to appear as a backslash?
To see what I mean, use gnome-terminal with
echo '\'
in bash, ksh, etc.
Regards,
Chip Campbell
2012 Mar 07
1
gsub: replacing double backslashes with single backslash
Hello everybody,
this might be a trivial question, but I have been unable to find this using
Google. I am trying to replace double backslashes with single backslashes using
gsub. There seems to be some unexpected behaviour with regards to the
replacement string "\\". The following example uses the string C:\\ which should
be converted to C:\ .
> gsub("\\\\",
2006 Feb 01
3
inserting one backslash
Hello, I am not very familiar with regular expressions and escaping. I
need to replace the %-signs in a character vector with elements as
"income 0%-33%# to be replaced by "income 0\%-33\%" (for later use in
LaTeX). Using
gsub("%","\\%","income 0%-33%")
does not give the desired result. However, gsub("%","\\\\%","income
2008 Aug 04
3
backslash in character string?
Dear list,
After searching many old posts, I can't find the solution to a simple problem.
can someone tell me how to create a character string with multiple backslashes, as in:
file_dir <- c("C:\files\data\")
I need to create this string and then paste it to many files names for batch processing in another software program. R won't accept the backslash and removes
2011 Apr 29
1
regular expression in gsub() for strings with leading backslash
Hello,
Can anyone help on gsub() in R? I have a string like something below, and
wanted to delete all the strings with leading backslash, including "\xa0On",
"\023, "\xab", and many others. How should I write a regular expression
pattern in gsub()? I don't care how many characters following backslash.
txt <- "Is This Thing\xa0On? http://bit.ly/jAbKem
2007 Aug 07
2
backslash c
How do I get output with "\color{blue}", i.e. with
only one backslash???
> "\color{blue}"
[1] "color{blue}"
Warning messages:
1: '\c' is an unrecognized escape in a character
string
2: unrecognized escape removed from "\color{blue}"
> "\\color{blue}"
[1] "\\color{blue}"
>
Any help greatly appreciated.
Best regards,
2011 Aug 30
2
url prep function (backslash issue)
Greeting R
Community,
I am a
windows user so this problem may be specific to windows. I often want to source
files from within R
such as:
C:\Users\Rinker\Desktop\Research & Law\Data\School Data 09-10. To source
this file I need to go
through the
path and replace all the backslashes (\) with forward slashes (/). I usually do
this in MS Word
using the
replace option, however, I'd like
2006 Mar 31
2
Backslash Escaping in View
Ok, I''m hoping this won''t be a forehead slapper, but take a look at this code:
physician.name.sub(/''/, "\\''")
I''m trying to substitute a single quote with a backslash and a single
quote. This seems pretty simple right? Well, someone kick me and
tell me why it''s not :)
Here''s what I''m getting if the
2003 Aug 12
3
grep and gsub on backslash and quotes
The following code works, to gsub single quotes to double quotes:
line <- gsub("'", '"', line)
(that's a single quote within doubles then a double within singles if
your
viewer's font is not good).
But The R Language Manual tells me that
Quotes and other special characters within strings
are specified using escape sequences:
\' single quote
\"
2010 Jun 16
2
Backslash in paste() function
Hi,
I'm trying to build a vector of latex commands. However, I need the command strings to begin with a backslash "\". I have:
test <- c('foo','bar')
and I need to rebuild the array, encapsulating the text items with latex stuff, like this:
paste("\parbox[b]{3cm}{", test, "}", fill=TRUE)
Actually, cat() prints the string fine if one uses
2004 Aug 27
3
gsub, backslash and xtable
R Version 1.9.1 (2004-06-21)
Mac OS X.3.5 Dual 2GHz PowerPC G5
GUI = "AQUA"
I have a data.frame comprising percentiles with the column headings
containing % characters, e.g.
> (pp <- colnames(temp2))
[1] "5%" "10%" "25%" "50%" "75%" "90%" "95%"
I use xtable to convert the data.frame to Latex but I want to
2008 Jan 09
1
Help with backslash issue on smbfs
I am in the middle of migrating a number of applications from one server
to another and I am running into an issue with backslashes on a smbfs
mount. Basically, the backslash can be used in a file path on the old
server and not on the new. This turns out to be important because of the
samba share is used to store data for a large number of FTP clients, who
use an old automated script which chokes
2004 Nov 29
4
escaping backslash in a string
How can I get a single backslash in a character string?
My goal is to escape dots in a string that will be used as a regular
expression. I thought I could do it this way:
gsub(".", "\\.", x)
Unfortunately, "\\" does not represent a literal backslash as I
expected, but rather a pair of backslashes:
> "\\."
[1] "\\."
> "\\"
[1]
2007 Oct 25
2
Question: backslash in file name
Hi
I have a applikation (Oracle DB) which writes files with a backslash in names, i.e:
Log\GEN_INPUT_BASED_2899.csv
not a problem for Unix but Samba present it to Windows users as:
L2CYOP~L.CSV
Is there any way _in Samba_ to strip this 'Log\' and give back to user the GEN_INPUT_BASED_2899.csv part.
Tha appliance (EMC Celerra) I've just migrated data from, was magicaly doing this.
2010 Jul 15
1
Backslash \ in string
Dear R community,
is there any way to include a backslash in a charakter string without meaning some escape sequence?
E.g. i need a string like:
a <- '\hline'
Error: '\h' is an unrecognized escape in character string starting "\h"
to include some latex code in a xtable object, but I only mange to do:
a <- '\\hline'
which is not what I want.
In
2006 Jan 05
1
How do I get sub to insert a single backslash?
Something about the way R processes backslashes is defeating me.
Perhaps this is because I have only just started using R for text processing.
I would like to change occurrences of the ampersand & into ampersand
preceded by a backslash.
> temp <- "R & D"
> sub("&", "\&", temp)
[1] "R & D"
> sub("&",
2006 Jan 04
1
AMP: Losing backslash characters in config files
I've just started using AMP and found that I have a problem with escaped characters in config files.
In particular, I have a custom config item that needs a semicolon in...
SetVar(_ALERT_INFO=info=auto-answer;delay=1)
To get the part of the line after the ; to be accepted by Asterisk as a non-comment it needs to be escaped with a backslash, but I have found that I need to put two