search for: myinput

Displaying 14 results from an estimated 14 matches for "myinput".

2008 May 29
7
How do you exit a function in R?
For example, based on a certain condition, I may want to exit my code early: # Are there the same number of assets in "prices" and "positions"? if (nAssetPositions != nAssetPrices) { cat("Different number of assets! \n\n") <exit function> } I have searched, but not
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl, I'm using something like: ----------------------- tex.tex --------------------------- \documentclass{article} \usepackage{graphicx} \usepackage{fancyvrb} \newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}} \newcommand{\myinput}[1] {\begin{scriptsize} \VerbatimInput[frame=single,label=#1]{#1} \end{scriptsize}} \title{The R logo, \Rlogo, in \LaTeX} \author{J.R. Lobry} \begin{document} \maketitle \section{Introduction to \Rlogo:} This is about the \Rlogo~sofware suite\footnote{ \Rlogo~is available at...}. % include s...
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl, I'm using something like: ----------------------- tex.tex --------------------------- \documentclass{article} \usepackage{graphicx} \usepackage{fancyvrb} \newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}} \newcommand{\myinput}[1] {\begin{scriptsize} \VerbatimInput[frame=single,label=#1]{#1} \end{scriptsize}} \title{The R logo, \Rlogo, in \LaTeX} \author{J.R. Lobry} \begin{document} \maketitle \section{Introduction to \Rlogo:} This is about the \Rlogo~sofware suite\footnote{ \Rlogo~is available at...}. % include s...
2007 Nov 26
3
Time Series Issues, Stationarity ..
Hello, I am very new to R and Time Series. I need some help including R codes about the following issues. I' ll really appreciate any number of answers... # I have a time series data composed of 24 values: myinput = c(n1,n2...,n24); # In order to make a forecasting a, I use the following codes result1 = arima(ts(myinput),order = c(p,d,q),seasonal = list(order=c(P,D,Q))) result2 = forecast(result1,12) plot(result2) Now, by using R code... 1) How can I determine if my data is statitonary or not ? (trend &amp...
2008 Feb 13
0
Element.focusFirstElement() causing issue with Element.addMethods()
...ead> <title>Simple Page</title> <script src="prototype.js" type="text/javascript" language="JavaScript"></script> </head> <body> <form name="myform" id="myform"> <input type="text" name="myinput" id="myinput" value="" size="10" onclick="$(this).myCustomExtension();" /> </form> <script type="text/javascript" language="JavaScript"> var myExtensions = { myCustomExtension: function(element){ alert('...
2009 Jun 15
3
Assigning Data a name from within another variable?
Hi All, I have hunted high and low and tried dozens of things but have yet to achieve the result I require. Below is my code (taken mostly from another thread on here) thus far: files<-list.files() files<-files[grep('.wm4', files)] labels<-gsub('.wm4', '',files) for(i in 1:length(files)){ X<-read.table(files[i]) <My problem is here!> What I am trying
2005 Dec 27
1
Form Validation?
How I can I implement form validation easily to helpers such as text_field_tag? If I specified a name of ''myinput'' how would I notify rails that ''myinput'' is erroneous? -- Posted via http://www.ruby-forum.com/.
2010 Jan 24
1
auto reading in multiple txt files with filename as 1st column "ID"
...?4.9366 ? ? ?13.788 2009/02/07 16:45:10.0 ? ? ?4.9397 ? ? ?13.798 end data. ###I can read in all files from "my_folder" using the following code: flist <- list.files(path=file.path("my_folder"), pattern="[.]txt$") flist<-flist[grep('.txt', flist)] myInput <- lapply(flist, read.table, header=FALSE, skip=44) ############################################## Each file is uniquely named "site_name.txt" , and the last row of each file contains the line: "end data." I would like to do the following: 1) add a new column with "si...
2015 Apr 27
3
Sieve extprograms ?not exexuting?
...ated with non-zero exit code 3" so problem is in commands accessing the filesystem I guess. I added this: echo "HELLO WORLD" 1>&2 And log shows "Error: HELLO WORLD" So it's working but no filesystem access. Calling from sieve script with: execute :input "myinput" "test.sh"; Also tried execute "test.sh";
2005 Sep 21
2
Result Documents XML or JSON?
My Java servlets can generate both JavaScript objects, like JSON, and XML. I can generate both pretty easily. What''s best practice for AJAX responses? Return scripts to be evaled by the Ajax control, or return XML documents and iterate them using XML DOM? Thanks. -- Alan Gutierrez - alan@engrm.com - http://engrm.com/blogometer/index.html -
2015 Apr 27
4
Sieve extprograms ?not exexuting?
Hello, I was testing the extprograms plugin. I think I had it working in the past, but many things have changed since then, so no use trying to figure out where it broke - starting over again... Debug-enabled log give me: Apr 27 04:11:36 mail dovecot: lmtp(test at example.com): Debug: qOGyA0DePHVaOyHEM/SpMA: sieve: action execute: running program: test.sh Apr 27 04:11:36 mail dovecot: lmtp(test
2000 Aug 14
5
Writing a workable function
After searching in R- Introduction, FAQ, help... I don't understand this: I write a function in a file (.R): tt <- function(mc) { date() mc<-read.csv2("machines.txt",na.strings="") date() } I source it in R and I type tt(). The answer is > tt() [1] "Mon Aug 14 11:18:25 2000" > The instructions following the first "date()" are ignored. Why?
2020 Jun 27
0
[centos/centos.org] branch master updated: Updated page for AWS AMI images ID and link
...64 and aarch64) + * CentOS Linux 7 (x86_64 and aarch64) + +You can search for architecture or region through search bar. + +Please note that you can also directly use then the "Deploy Link" function to deploy in specific region, one click away. <input type="text" id="myInput" onkeyup="myFunction()" placeholder="Search for image..."> -- To stop receiving notification emails like this one, please contact the administrator of this repository.
2009 Jun 15
0
books on Time serie
...ct.org > Subject: Re: [R] Assigning Data a name from within another variable? > > > Use a 'list' to read in the data and access it: > > files<-list.files() > files<-files[grep('.wm4', files)] > labels<-gsub('.wm4', '',files) > > myInput <- lapply(files, read.table) > # if you want to get rid of .wm4 > names(myInput) <- sub(".wm4$", "", names(myInput)) > > On Mon, Jun 15, 2009 at 11:50 AM, Kenny Larsen <k.larsen@sheffield.ac.uk > >wrote: > >> >> Hi All, >> >&gt...