similar to: Transforming a string into a command

Displaying 20 results from an estimated 10000 matches similar to: "Transforming a string into a command"

2011 Mar 07
1
Associating the day of week to a daily xts object
I have the following xts objetct "temp" > str(temp) An ?xts? object from 2010-12-26 to 2011-03-05 containing: Data: num [1:70, 1] 2.95 0.852 -0.139 1.347 2.485 ... - attr(*, "dimnames")=List of 2 ..$ : NULL ..$ : chr "t_n" Indexed by objects of class: [POSIXct,POSIXt] TZ: GMT xts Attributes: NULL > temp t_n 2010-12-26
2012 Feb 23
2
TRAMO/SEATS and x12 in R
I have a Mac OS X system. To deal with a long monthly electricity demand time-series I use the procedures TRAMO/SEATS with the MS-windows only Demetra programme and X12 under R resorting to the awkward - as far as the output is concerned - x12 R package running the relating Fortran code. I wonder if someone out there has attempted to translate TRAMO/SEATS and X12 into R native language? Ciao
2011 Sep 17
1
Extracting a a chunk of text from a pdf file
In an R script I need to extract some figures from many web pages in pdf format. As an example see http://www.terna.it/LinkClick.aspx?fileticket=TTQuOPUf%2fs0%3d&tabid=435&mid=3072 from which I would like to extract the "Totale: 1,025,823"). Is there any solution? Ciao Vittorio
2003 Oct 22
2
High frequency time-series
Having to collect hourly electricity loads and quarter-of-an-hour electricity production data for some years I think that the tidiest way of doing it is to resort to ts but I don't know how to define such a frequency starting from a set date. Leafing through r-help mail archives I've found this *ALMOST* satisfactory message: ==========================================================
2003 Oct 17
3
Strange behaviour
As an absolute beginner I'm reading and practicing with the Verzani doc to learn R. Now, being an expert latex user who wants to integrate graphical capabilities if R and latex, using the "Simple" library and the simple.scatterplot examples I had a go at: 1) Including the resulting graph into a doc.snw then compiled through sweave & latex; 2) Produce the graph in pdf format
2013 Jan 23
4
extracting characters from a string
Dear All, I have a data frame of vectors of publication names such as 'pub': pub1 <- c('Brown DK, Santos R, Rome DF, Don Juan X') pub2 <- c('Benigni D') pub3 <- c('Arstra SD, Van den Hoops DD, lamarque D') pub <- rbind(pub1, pub2, pub3) I would like to construct a dataframe with only author's last name and each last name in columns and the
2003 Dec 07
5
A hint to start ESS-xemacs
I'm trying to use ESS & xemacs under debian linux testing and KDE. My problem is that I didn't find any document in the internet explaining a **step by step** session with R and xemacs. The (wrong) procedure I follow (to no avail!) is: 1) I start R in a terminal window; 2) I start xemacs and open a file with the extension .R (test.R); 3) I issue M-x R RET and I can see an Rd new
2006 Sep 25
4
Beginner question: select cases
Hello all, I hope i chose the right list as my question is a beginner-question. I have a data set with 3 colums "London", "Rome" and "Vienna" - the location is presented through a 1 like this: London Rome Vienna q1 0 0 1 4 0 1 0 2 1 0 0 3 .... .... .... I just want to calculate the means of a variable q1. I tried following script: # calculate the mean
2006 Apr 04
3
Financial functions
In what R package(-s) can I find the entire set of financial functions that you can find in MS-Excel such as PMT, PPMT, FV and IPMT? Ciao Vittorio
2011 Feb 24
1
Rome TW on Ubuntu 10.10 (maverick)
Hello, I was asked to provide info about my attempt to run Rome TW on my Linux system. Not sure what info exactly is sought, so please ask for additional information. The system I tried to use is a Dell Latitude D830 with 3 GB ram and the latest Bios version A15 I've installed Ubuntu 10.10 32bit. I did install Compiz Fusion from standard Ubuntu repo's. Additionaly, I installed Wine 1.2
2005 Oct 07
2
finding missing lines...
Take this as an example: > a=data.frame(col1=c(1,2,3,4,5), col2=c ("my","beloved","daughter","son","wife")) > b=data.frame(col1=c(1,2,4), col2=c("my","beloved","son")) > a col1 col2 1 1 my 2 2 beloved 3 3 daughter 4 4 son 5 5 wife > b col1 col2 1 1 my 2
2007 Feb 07
2
Finding not-matching rows in tables
I have these two dataframes in which 'id' is the key field > tabella id nome 1 1 PIEMONTE 2 2 VALLED'AOSTA 3 3 LOMBARDIA 4 4 TRENTINO 5 5 VENETO 6 6 FRIULI AND > tab id nome 1 1 PIEMONTE 2 2 VALLED'AOSTA 3 3 LOMBARDIA 4 4 TRENTINO 5 25 CAMPANIA 6 28 LAZIO Is there any
2004 Nov 24
1
Problems with samba under FreeBSD, not under Linux
Dear All, (Context: Office windows LAN; PC Pentium 3 with 128 MB, FreeBSD 5.3.) Here you are the unanswered message I sent to the FreeBSD mailing list: \BEGIN{MESSAGE} -------------------------------------------------------------------------------------- After installing and launching samba 3.0.7 daemons under my postgresql FBSD5.3 stable server at office, I'm having trouble in connecting
2009 Mar 13
2
Fourier Analysis Help
Dear R-help members, To whom it may concern, our research group is conducting a study to evaluate the predictive value of 24 hour blood pressure variability. We are looking for an R routine that performs a fast Fourier transform spectral analysis (with an output of the approximation function of the Fourier and estimates the validity of the model for the various harmonics). Thanks Vittorio
2007 May 09
5
Reading a web page in pdf format
Each day the daily balance in the following link http://www. snamretegas.it/italiano/business/gas/bilancio/pdf/bilancio.pdf is updated. I would like to set up an R procedure to be run daily in a server able to read the figures in a couple of lines only ("Industriale" and "Termoelettrico", towards the end of the balance) and put the data in a table. Is that possible? If
2011 Jul 16
5
firewall?
Dear All I need to put my centos 5.6 server as firewall server in fron of a windows-running node before connecting it to the net. Can you please let me know what stuff do I need to put on my centos server? Thank you
2007 Sep 28
2
ELF file OS ABI invalid yes?????
Compilation of MCMCpack under freebsd 6.2 i386 fails because of the following cryptic error: * Installing *source* package 'MCMCpack' ... checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we
2005 Sep 13
3
Reading data from a serial port
I need to read data from from a medical appliance via the serial port. This medical appliance produces streams of set data at regular intervals. What commands, packages are available for this purpose? Vittorio
2008 Jun 04
2
Reading selected lines in an .html file
Dear friend, In an R program running permanently on a server I would like to read hour by hour the temperature in *C and the humidity from a site like this (actually, from many of such sites): http://www.wunderground.com/global/stations/16239.html How can I read the content of the site and select the info I need? Ciao Vittorio
2017 Sep 02
2
[Announcement] Tinc versions 1.0.32 and 1.1pre15 released
With pleasure we announce the release of tinc versions 1.0.32 and 1.1pre15. Here is a summary of the changes in tinc 1.0.32: * Fix segmentation fault when using Cipher = none. * Fix Proxy = exec. * Support PriorityInheritance for IPv6 packets. * Fixes for Solaris tun/tap support. * Bind outgoing TCP sockets when ListenAddress is used. Thanks to Vittorio Gambaletta for his contribution to this