Displaying 20 results from an estimated 108 matches for "linebreak".
Did you mean:
linebreaks
2007 Jul 19
1
write.table linebreaks
Hello R users,
I am a newby using R 2.5.0 on a Apple Power Book G4 with Mac OS X
10.4.10.
when I use the write.table function, I always get the output in Unix
linebreaks that I have to change to McIntosh linebreaks to be able to
Import the data in Excel 2004 for Mac.
Is there a possibility to do this automatically in R and respectively
in the write.table function?
Thanks in advance.
Birgit
Birgit Lemcke
Institut für Systematische Botanik
Zollikerstrasse 1...
2008 May 26
1
Sweave does not respect width
Hello,
I'm learning to use Sweave, and I've run into a problem: sometimes, when
entering long lines of input and using long variable names, Sweave will not
insert linebreaks in a way that respects the width setting. This causes
undesirable overflows into the margins in the latex file. For example,
consider the following document (adapted from the GLM example):
\documentclass{article}
\begin{document}
<<setup,include=FALSE,echo=FALSE>>=
options(width=80)...
2015 Sep 08
3
sieve_extprograms - double linebreaks at filtering
...d get changed content back.
My script previously was used with procmail and is working fine.
Using same script with vnd.dovecot.filter leads to odd behavior.
I already found out the problem itself:
By sending Mailcontent to filter-programm it seems that
sieve/sieve_extprograms is adding additional linebreaks to every line of
complete mail.
Please see this image to clarify: http://r31i.imgup.net/header8d56.jpg?l=de
Every lineending got additional windows-lineendings, which leads to
problems with processing scripts.
Piping mails by procmail to same script is working without problems,
because this mai...
2008 Sep 19
1
getting line breaks with xtable
...ain, but I got no reactions the last
time. Maybe it was just overseen by the experts.
I'm using the xtable function with Sweave and Lyx and I would like to know
how to get automatic line breaks for long strings in a column of the table.
I've learned from the Lyx wiki that the Latex command \linebreak produces
table cells with multiple lines. I tried to insert \linebreak into the
character string, but it didn't work out, because Sweave transforms it
automatically to $\backslash$linebreak.
Any help is highly appreciated.
Erich
2001 Feb 03
1
WIN32 files have unix-style linebreaks?
Is it just me or doesn't all the Win32 files have unix-style EOL codes?
I downloaded the nightly CVS tarball and tried to compile it in Visual
Studio 6 but it failed partly because of that reason. It didn't even want
to recognize some of the files (ie *.dsp files).
It's a fairly simple operation to fix the problem but I don't know if it's
my fault or if it realy something in
2008 Sep 01
1
linebreak in mathematical anotation?
Hi
I am using mathematical anotation to make the labels in a barplot in
italics. as an example (adapted from
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/129808.html):
tt <- c("italic(First~~set)", "italic(Second~~set)", "italic(third~~set")
barplot(1:3, names.arg=parse(text=tt))
But I would like to have it with "set" in a second column, like
tt
2008 Feb 21
1
linebreaks in mathplot
Dear HelpeRs,
I would like to do sg similar to:
plot(c(0,100), c(0,100), xaxs="i", yaxs="i", type="n")
txt <- paste("a =", a, "%\n b =", b, " km2", sep="")
text(95, 95, txt, adj=c(1,1))
just with the "km2" formatted with 2 in a superscript.
I thought
txt <- substitute("a = "*a*" %\n b
2011 Jul 19
1
hanging spaces prior to linebreak from cat()
(re-sending after confirming list subscription; apologies if this ends up
being sent to the list twice)
Is the expected behavior from cat(), as used below, a hanging space before
\n at the end of the emitted line?
firstheader = gsub("\\s+$", "", paste(c("Hybridization REF", s, s),
collapse = "\t"))
cat(firstheader, "\n", file = filename)
When
2008 Aug 01
1
parameters
...t;, :url => { :controller => "threads", :action
=> :new_req }, :with => "''description=#{post.description}''"
<% end %>
When I make a post with the form and enter a description like such:
Description text_area:
this is a description
that has linebreaks,
or... at least,
I have pressed enter
several times.
It can save fine when made with the form. But in my first code, when I
try to set params[:description] = post.description, it doesn''t work
properly. Not sure why. It only happens when I make a description and
hit enter one or more time...
2006 Nov 09
4
Plotting symbols with two positions?
...http://www.student.kuleuven.be/~m0390867/dimitris.htm
>
>
> ----- Original Message -----
> From: "CG Pettersson" <cg.pettersson at evp.slu.se>
> To: <r-help at stat.math.ethz.ch>
> Sent: Thursday, November 09, 2006 9:10 AM
> Subject: [R] Why do I get a linebreak in the legend?
>
>
>> Dear all,
>>
>> W2k, R2.4.0
>>
>> I want to place a legend in a regression plot, stating the adjusted
>> R-square value. After some struggle with the coding I am nearly
>> there, but
>> only nearly. The best try so far is:...
2006 May 03
2
rake appdoc Question regarding comment formatting
I tried googling and searching the forums here but was unable to locate
an answer, please forgive if this has been covered.
Is there any way to provide formatting guidelines to dictate how parsed
comments are displayed in the resulting html? In the simplest example,
is there a way to specify a linebreak (break tag)?
Thanks,
Andy
--
Posted via http://www.ruby-forum.com/.
2008 Jul 28
0
text_area value
...ith two fields: title and text. When a user
clicks "edit", I say, in the new thread form:
<% form.text_area :text, :value => params[:text] %>
params[:text] = the text in the thread which the user wants to edit.
It works fine most of the time, but if I made a new thread and had
linebreaks, clicking edit fails.
New form:
text:
sdfjksdfj
sdfjsdf
sdfsdf
Those linebreaks are causing some trouble! Where is the problem? Is it
storing the text/linebreaks in the params[:text] or in trying to set
:value => params[:text]?
Thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~------...
2007 Aug 21
2
in place editor with scriptaculous
I have an issue with line break handling.
When I display contents of a textarea, I use nl2br to show linebreaks
that the user has made. The problem comes the second time they make an
edit, since the <br> code still appears in the inPlaceEdit box...
which will no doubt confuse my users...
Any way around this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you...
2002 Jul 11
1
Samba 2.2.5-1, Error Creating Directories
...ine this behaviour, the short excerpt looks
like this:
||
|| unix_clean_name [/Neuer Ordner]
|| reduce_name [Neuer Ordner] [/home/alex]
|| stat of Neuer Ordner failed (No such file or directory)
|| error string = No such file or directory
|| error packet at smbd/reply.c(1217) cmd=8 (SMBgetatr) \<linebreak>
|| NT_STATUS_OBJECT_NAME_NOT_FOUND || Transaction 8 of length 54
|| switch message SMBgetatr (pid 18945)
|| unix_clean_name [/Neuer Ordner]
|| reduce_name [Neuer Ordner] [/home/alex]
|| stat of Neuer Ordner failed (No such file or directory)
|| error string = No such file or directory
|| error...
2004 Apr 27
5
parsing a data file
...(output of a measuring device) of the
following format:
BEGIN RECORD [first record data] RECORD [second
record data] RECORD
[third record data]
END
Line breaks can (and do ;-() occur anywhere. White space behaves very
much like TeX, eg it is not important whether there are one or more
spaces or linebreaks as long as there is one of them. It is a text
file, not binary.
I need to extract the record data I marked with []'s, eg a vector such
as c("[first record data]", "[second]", ...) would be nice as a
result.
What functions should I use for this?
Thanks,
Tamas
--
Tam?...
2004 Aug 06
2
ices2 + stdin + metadata
...sed on a PHP-script wich sends PCM-data from the player
(mpg123 or ogg123) over a pipe to ices2. As i understand the documentation,
metadata is sent as normal clear text within the PCM-data when using stdin.
I tried the following format:
\n
artist=foo\n
title=bar\n
(\n is, of course, a normal unix-linebreak)
In this case, the metadata isn't updated.
When i write exactly this to a file wich is called as metadata by ices2, it
works. However, i don't like to use the file but would like to use stdin. ;)
Any ideas?
Thanks,
Thomas 'Neo' Weber
---
thomas@youngarts.org
neo@gothic-chat.de...
2008 Nov 06
2
Two minor escaping issues using \preformatted{....} in Rd format
...-----
I would like to write "\\\\\%" to give a string argument \\% on
output; this is needed for documenting how to register special
operators to TeX package 'listings'.
Again this fails, while "\\\\ \%" works.
In neither case 1 or 2 the standard TeX trick to produce a
linebreak in the source without producing a space on output
helps, i.e.
\\%
\}
resp.
\\\\%
\%
both produce valid code [the resp. first % is read as a comment
sign] but also insert a non-intended space in the output.
Any idea how to circumvent this?
Best, Peter
2003 Mar 09
1
strings spanning multiple lines
I'd like to specify strings spanning multiple lines (ie too long to
fit in a single line without spoiling pretty-printed R code). I tried
the following way:
> a <- "multiple \
+ lines"
but
> print(a)
[1] "multiple \nlines"
How could I avoid the extra linebreak ("\n")?
Regards,
Tamas Papp
--
Tam?s K. Papp
E-mail: tpapp at axelero.hu (preferred, especially for large messages)
tpapp at westel900.net
Please try to send only (latin-2) plain text, not HTML or other garbage.
2005 May 04
1
Avoiding Sweave formula cut's?
Hi,
anybody know a possibilities how i could avoid less nicely cut's in
function calls with sweave like:
randomForest(x = RELSHIP ~ ., data = R_RELSHIP[splitR_RELSHIP == 1,
], importance = T, n(*here is the cut in the pdf*)
tree = 1000, na.action = na.omit)
Until now i add expost linebreaks in the *.tex file, but with dozend of
models it might be painfuel for my hands.
Many thanks & regards,
Christian
2008 Mar 28
1
Sweave - print \n ?
...s say I write the function
hline <- function() {
cat("\\hline \n")
}
and call hline() from within a Sweave chunk. Why is
there no carriage return after the \hline in the
resulting tex file?
if I call hline() hline() in the chunk, then I get
\hline \hline
in the tex code without a linebreak in between.
Thanks for any hints,
Werner
E-Mails jetzt auf Ihrem Handy.