search for: linebreaks

Displaying 20 results from an estimated 108 matches for "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 10...
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 mail...
2008 Sep 19
1
getting line breaks with xtable
Sorry, for asking the same question again, 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
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 times...
2006 Nov 09
4
Plotting symbols with two positions?
Thanks a lot to Demitris for a prompt answer some minutes ago on another tread (see below). To avoid excess mails on the list, I move onto next question: I have another small plotting problem that confuses me. I want to plot results from a field trial series, using the numbers of the trials as symbols in the plot. pch = as.character(trial_no) works fine, but truncates the trial number to the
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
Hi! This is a really weird problem, I hope, someone can help me out there. First of all, I put my smb.conf on the web, you can find it here[0]. The Sambaserver (ESS-LINUX) is just an ordinary workstation (in the terms of SMB) and uses the PDC (ESS_SERVER) for authentication (see "password server"-directive). Nearly everything works fine. Each authenticated user gets his home-directory
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
Hi, does anybody know some info about posting metadata to ices2 via stdin? My system is based 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
2008 Nov 06
2
Two minor escaping issues using \preformatted{....} in Rd format
Hi r-devels, I have two minor problems with special characters in Rd files when used within a \preformatted{} markup command: ------------------------------------------------------ 1. issue: backslash + single brace ------------------------------------------------------ I would like to write "\\\}" to produce \} on output (documenting the need to escape the brace once again before
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,
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 ?
Hi, this is probably quite stupid but I have no clue what's wrong. Let'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