similar to: How can I run a function to a piece of text?

Displaying 20 results from an estimated 9000 matches similar to: "How can I run a function to a piece of text?"

2010 Mar 13
3
format: from list to data frame
Dear users, Is anyone out there on a Saturday to answer this easy question? I have the "yo" object data in a "list" format: > str(yo) num [1:259, 1:173] 16.3 NA NA NA NA ... - attr(*, "dimnames")=List of 2 ..$ x: chr [1:259] "367319" "367329" "367309" "367339" ... ..$ y: chr [1:173] "780175"
2007 Jan 26
2
Using functions within functions (environment problems)
Hi everyone, I've been having difficulty writing wrapper functions for some functions where those same functions include other functions with eval() calls where the environment is specified. A very simple example using function lmer from lme4: lmerWrapper <- function(formula, data, family = gaussian, method = c("REML", "ML", "PQL", "Laplace",
2005 Dec 22
3
reading long matrix
Hi, I'm needing some help finding a function to read a large text file into an array in R. The data are essentially presence / absence / na data for many species and come as a grid with each species name (after two spaces) at the beginning of the matrix defining the map for that species. An excerpt could therefore be: SPECIES1 999001099 900110109 011101000 901100101 110100019 901110019
2012 Jul 26
4
Variables in a Tabular form. easily saved in a txt file
Dear all, I would like to save few variable-names with their values in a tabular form, with that I mean that files can be printed easily in R in a tabular form and also saved in a ascii file that when one opens it see also the variables in a nice tabular format. IS that possible? Below a small example of how should look results in R and in a txt file.              Postal Code | Superb
2002 Feb 25
2
3com mba 4.30 problem
Hello All, I seem to be having a problem with PXE under the 3com MBA once the pxe loads the standard redhat 7.2 lilo prompt and I type my label which is a4-72 and hit enter, I get: Loading vmlinuz... and it stops most of the time. Sometimes it loads and once it gets to the part of installing linux the screen turns red and I get "interrupt handler not syncing" Thanks -- Otis DeWitt -
2001 Nov 30
1
graphics device updating (PR#1189)
Hi problem: plot(xxx) results in the graphics device window adding the axes values for what ever xxx is but failing to actually add lines or produce the plot until the consol window is activated and moved over the graphics window. The graphics window then shows what has been plotted. This started happening 4 days ago, up until that time plot(xxx) would produce the plot on the graphics device
2006 Oct 05
2
A statement over multiple lines (i.e. the ... feature in Matlab)
Hello again list, I thought I'd start a new thread, seeing as it's completely different from my previous question. Some functions I have written require many parameters, and so do not fit nicely into an 80 column width display. This is usually avoided, by spreading that particular statement over a few lines. This is something that I do in Matlab with the following: myFunc(
2006 Nov 02
2
Simple question about Lists
Hello, I know this must be a very simple problem, but I can't work it out from the documentation that is available. I've got a list of data I would like to plot (the weights of a single neuron that was trained using the neural package). The problem I'm encountering is that this set of weights, are in the form of a list. > network$weigth[1] [[1]] [,1] [1,]
2007 Jul 05
2
Support for tags in speex files?
Dear Conrad and other people. First of all thank you for your nice response. On 7/4/07, Conrad Parker <conrad@metadecks.org> wrote: > On 04/07/07, Rog?rio Brito <rbrito@ime.usp.br> wrote: > > Dear speex developers, > > > > Would it be possible to have tags in speex files? > > sure, Speex files use vorbis-style comments (ie. similar to Ogg Vorbis files).
2008 Jun 12
11
auto_complete with multiple params
I''m using the auto_complete plugin, and it works great, my problem is i need to pass multiple parameters to the controller other that what is typed in the text field. <%= text_field_with_auto_complete :search, :contains, :size => 15, :frequency => 0.1, :skip_style => true -%> This is what i have as of now, but i also need to pass ":language => @default"
2006 Nov 22
1
What training algorithm does nnet package use?
Greetings list, I've just swapped from the "neural" package to the "nnet" package and I've noticed that the training is orders of magnitude faster, and the results are way more accurate. This leads me to wonder, what training algorithm is "nnet" using? Is it a modification on the standard backpropagation? Or a completely different algorithm? I'm
2004 Apr 09
3
Samba Shares and Win32 Viruses
Hi Collective users of Samba, (does has a nice ring to it eh?) Recently I found a my samba server being infected by win32 viruses. Though it does not affect the server in any way, I do find them to be an annoyance. I understand also that I can perform "veto" of files like *.exe in smb.conf but find that to be a wee bit restrictive. There are some users who stores valid executables in
2010 Jan 20
2
Please Please Please Help me!!
Dear R helpers   (I have already written the required R code which is giving me correct results for a given single set of data. I just wish to wish to use it for multiple data.)   I have defined a function (as given below) which helps me calculate Macaulay Duration and Modified Duration and its working fine with given set of data.   My Code -   ## ONS - PPA   duration = function(par_value,
2005 Mar 12
1
ipvolution TDM cards - vaporware?
Has anyone on this list gotten hold of these cards? It's been 2 months since their official ship date. Even the website www.ipvolution.com is in wee-wee land. /leo
2006 Nov 02
3
Complex plotting problem
Hello, I would like to make a plot (preferably lines, but points will do too), where the line segment changes color depending on the value of the y-axis. For example, let's suppose the y-axis range is from -1 to 1. Points close to -1 would be colored blue, while points close to 1 will be colored red. Points in between will be varying degrees of blue/red depending on how close they
2004 Sep 10
2
Josh Coalson, you rock!
I haven't been here during the development, and I haven't yet looked at the source, but the end result is so impressive that it's moving me to comment: In this great free software world we live in, it is rare to find a project so well researched, designed, executed, and presented as FLAC. It fits my needs beautifully, aligns with my political interests, and has been rock solid
2007 Jul 16
6
RubyToken::AlreadyDefinedToken and Edge Rails Docs
I''m having a wee bit of trouble building documentation for Edge Rails (rev 7187). When I attempt to run the doc:rails taask (or any doc:* task), I get the following error: -- BEGIN -- rake aborted! uninitialized constant RubyToken::AlreadyDefinedToken /Users/jherdman/Projects/crosslisting/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:263:in
2007 Aug 07
3
ISDN30 card for UK : sanity check
We will be connecting our Asterisk server to ISDN 30 and intend using the Sangoma A101 card. The install location is in London (UK). Sangoma card at Voipon http://www.voipon.co.uk/sangoma-a101-pri-isdn-card-p-132.html?gclid=CI32vJz22I0CFQXklAodIgjHaA I would be grateful to hear if this is the right choice of card. Usage reports would be helpful. Regards Rory -- Rory Campbell-Lange
2014 Oct 13
6
[LLVMdev] RFC: variable names
On Mon, Oct 13, 2014 at 4:14 PM, Chandler Carruth <chandlerc at google.com> wrote: > 1. Initialisms. It's common in Clang code (also in LLVM?) to use >> initialisms as variable names. This doesn't really seem to work for names >> that start with a lower case letter. >> > > I think wee at least need a good answer to this. > As I really suspect this is
2006 Oct 04
1
Some questions about plotting with R
Greetings list, I'm currently in the process of migrating some Matlab code to R. It's going well, but I'm running into trouble with plotting. There are a few questions I have. 1) Is there any way to do a 3D line plot in R? This would be what the Matlab function plot3 does. 2) I would like to create 3 separate plots. With Matlab, this is done by doing ... figure; plot...