search for: mytext

Displaying 20 results from an estimated 43 matches for "mytext".

Did you mean: mtext
2010 Feb 14
3
evaluate variable within expression - how?
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100214/4b41a017/attachment.pl>
2005 Jan 06
2
autoscaling plot font size in Sweave output possible?
...autoscaled to the same font size used by LaTeX in a surrounding Sweave document. Here's a short example in which the fonts of the first plot are barely readable: --8<------------------------schnipp------------------------->8--- \documentclass{article} \usepackage{graphicx} \newcommand{\mytext}{Some normal sized text. Some normal sized text. Some normal sized text. Some normal sized text.} \begin{document} \SweaveOpts{prefix.string=pics/miniexample} \mytext\par %% small plot: \setkeys{Gin}{width=.45\linewidth} @ <<test0,echo=F,fig=T>>= x <- 1:10 y <- sin(x) plot(x...
2005 Nov 30
1
\dQuote{} in \code{} not processed
Just wondering if this is the expected behaviour. I was wanting to produce quoted text within \code{}, without manually entering the '"'. \dQuote{} seems advisable after reading the Writing R Extensions manual, so I tried \code{\dQuote{mytext}} expecting it to produce "mytext" in monospace font (with ' ' round it in the R help files) but it appears that \dQuote{mytext} is not processed within \code {} as \dQuote{mytext} is printed literally in the produced documentation. Is this intended? I didn't see any statemen...
2006 May 18
7
Server out to excel
How would one server out to excel a html table with the mime/content type application/vnd.ms-excel ? In PHP it would be something like ?php header("Content-Type: application/vnd.ms-excel"); ------ But how do I do this in rails? Cheers Glenn -- Posted via http://www.ruby-forum.com/.
2018 Sep 28
4
Simple bash question
I am calling a bash script and passing in somestring that includes a "$" myscript "$plusmore" I want to assign in the myscript the $1 arg to something like MYTEXT="$1" when I do that I dont get what I'm expecting. if I do MYTEXT='$1' I still dont get what I'm expecting. On the first assignment of MYTEXT I do not want the "$" to be treated as a shell variable. I cannot find out how to do that. I do not have the option of...
2006 May 11
3
Textile/RedCloth and h() incompatible?
If a user enters the Textile-based code for an image, say: !>graphic.png! the textile() method will successfully render a right-float image. Now, if I want to escape the user''s text using h(), the ''>'' is turned into an &amp;. Obviously, the image then fails to render in a browser. Is there a work around for this? I guess what I''m really asking
2012 Jul 17
1
How to use a text in an object of class character position to create a vector with the text as name
Hello, >titletool<-read.csv("TotalCSVData.csv",header=FALSE,sep=",") > class(titletool) [1] "data.frame" >titletool[1,1] [1] Experiment name : CONTROL DB AD_1 >t<-titletootl[1,1] >t [1] Experiment name : CONTROL DB AD_1 >class(t) [1] "character" now i want to create an object (vector) with the name "Experiment name :
2006 Nov 23
0
W3C Range specification conceptually flawed?
hi all! check this one: <html> <head> <title>Range test</title> </head> <body> <div id="myText">FooBarBaz</div> <script type="text/javascript"> myText = document.getElementById(''myText'').firstChild; var range1 = document.createRange(); range1.setStart(myText, 3); range1.setEnd(myText, 6); var range2 = document.createRange(); ran...
2012 Dec 12
2
long margin text below lattice plot - how to wrap lines?
...ve got a lattice plot and need to add text into the bottom margin of the plotting area (below the bottom legend). This seems to work in principle using grid.arrange, yet the text to be added is rather long. As a consequence, it gets clipped: require(lattice) require(grid) myplot <- xyplot(1~1) mytext <- textGrob("This is such a very very long text that it goes on forever and therefore needs to be wrapped in order for someone to be able to read it properly.") grid.arrange(myplot, sub=mytext) Is there any way to wrap the lines of the text or some other of workaround to this problem?...
2019 Feb 13
3
Problem writing to ADS with cifs mounted windows share on Linux
...n CentOS/RHEL Linux. Steps followed on both machine: -------------------------------------------- On RHEL(cifs.ko version: 1.68) 1. Created sample.txt file using vim with come content inside the Windows CIFS share mounted on linux. 2. Then wrote some content with “vim sample.txt:mytext”. This writes successfully into ADS. 3. On windows running “streams.exe sample.txt” we can see the ADS content. On CentOS(cifs.ko.xy version: 2.09) 1. Followed the same above two steps 1 and 2. 2. It created a new file on linux as “sample.txt<some random char replaced&g...
2011 Aug 25
2
string manipulation
I R-users, I am trying to find the way to manipulate a character string to select a 4 digit number after some specific word/s. Example: mytext <- "I do not want the first number 1234, but the second number 5678" Is there any function that allows you to select a certain number of digits (in this case 5678) after a particular word/s (e.g., second number) Thank you for your help Lorenzo [[alternative HTML version deleted]]
2009 Mar 29
2
Burt table from word frequency list
Dear all, I have a word frequency list from a corpus (say, in .csv), where the first column is a word and the second is the occurrence frequency of that word in the corpus. Is it possible to obtain a Burt table (a table crossing all words with each other, i.e., where rows and columns are the words) from that frequency list with R? I'm exploring the "ca" package but I'm
2011 Aug 04
3
#create tests fail when I add FriendlyId to my model
...ance.stubs(:valid?).returns(true) post :create assert_redirected_to brand_url(assigns(:brand)) end Here''s the fixture: one: name: MyString image_file_name: MyString image_content_type: MyString image_file_size: 1 image_updated_at: 2011-08-03 10:49:03 tease: MyText description: MyText All other tests pass, and if I comment out has_friendly_id, the create tests pass as well. Does this ring any bells for anyone? Thanks in advance, Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group....
2017 Mar 14
2
[cfe-dev] proposal - pragma section directive in clang
...his is a new pragma for Clang and isn't ARM-specific, we've > invented a less ARM-specific syntax. Bikeshedding is expected and > welcome. > > #pragma clang section bss(".mybss") rodata(".myrodata") > data(".mydata") text(".mytext") There's some prior art in the GreenHills compiler too, where the example above would be spelled: #pragma ghs section bss=".mybss", rodata=".myrodata", data=".mydata", text=".mytext" Maybe it's worth using that syntax, i.e: #pragma...
2006 Aug 14
2
Change Button Text - Ajax
Hi, I have the following code <%= button_to_function "Hide", "Element.toggle(''mytext'');"%> which does toggle the invisiblity of the text just fine, But want I want via ajax magic, is to also toggle the button text, so it will now display "Show" when I have toggled the invisiblity of the Div. Thanks for any help. John -- Posted via http://www.ruby-...
2006 Jun 16
2
image_select_tag with name and value
...ot; border="0" name="render_action" src="/images/sapexcel.gif?1149227900" type="image" value="excel" /> BUT my controller doesnt pick up the value of params[:render_action] ? if params[:render_action].nil? render else mytext = render_to_string(:action => ''list_excel'', :layout => false) send_data mytext, :type => ''application/vnd.ms-excel'', :disposition => ''inline'' end It works if I create a standard check box tag Download Results to Excel:&...
2006 Jun 28
4
How to export data
Hello I would like to know if there is a webpage or something else (even another thread in this forum) where there''s an explanation (preferably simple and detailed)on how to export data from a rail application to a .doc or a .xls. I have read Agile Web, Rails recipes and a few threads in this forum but I don''t know how to do it. Where is stored the model document ? How to
2011 Mar 12
3
how to label lines
Hello R I can not figure out, how to add text string or number to lines like on this image: http://r.789695.n4.nabble.com/file/n3350452/graph.png I have some data series in text file. My script: require(graphics) require(stats) graf=read.table("file",header =FALSE,sep = "", dec = ",",fileEncoding = "", encoding = "unknown", skip=19,nrows=400)
2018 Sep 28
0
Simple bash question
On 28/09/2018 15:39, Jerry Geis wrote: > I am calling a bash script and passing in somestring that includes a "$" > > myscript "$plusmore" > > I want to assign in the myscript the $1 arg to something like > MYTEXT="$1" > > when I do that I dont get what I'm expecting. if I do > MYTEXT='$1' > I still dont get what I'm expecting. > > On the first assignment of MYTEXT I do not want the "$" to be treated as a > shell variable. I cannot find out how to do...
2019 Feb 13
0
Problem writing to ADS with cifs mounted windows share on Linux
...> -------------------------------------------- > > > > On RHEL(cifs.ko version: 1.68) > > > > 1. Created sample.txt file using vim with come content inside the > Windows CIFS share mounted on linux. > 2. Then wrote some content with “vim sample.txt:mytext”. > This writes > successfully into ADS. > 3. On windows running “streams.exe sample.txt” we can see the ADS > content. > > > > On CentOS(cifs.ko.xy version: 2.09) > > > > 1. Followed the same above two steps 1 and 2. > 2. It created a...