similar to: Append selectively to components of a list

Displaying 20 results from an estimated 5000 matches similar to: "Append selectively to components of a list"

2008 Jul 17
3
Hiding information about functions in newly developed packages
Dear UseRs: I intend to write a package to handle the basic operations a revenue management analyst has to deal with on a regular basis (e.g., demand untruncation, capacity allocation, pricing decisions, etc.). Following the directions posted by Peter Rossi (Making R Packages under Windows: A Tutorial, January 2006) I was able to build an interim package that currently consists of one simple
2008 Jun 17
6
Insert raster image into an R graphic
Dear useRs: Is there a way to include a raster image (e.g., .gif, .jpg, .bmp) representing a company logo, a school logo, etc. into an R graphic? For example, it would be nice to be able to include the logo of the school into the charts that a student produces for her dissertation. Similarly, while working on a competitive analysis, it would be nice to be able to replace the names of the
2007 Oct 30
1
Place a string into the header/footer of a pdf file generated during a plot session
Dear useRs, Do you know, by any chance, if it is possible to write a string in the header/footer of a pdf file created during a plot session? To make sure that I know what R script generated a certain chart, I would like to add the path to the working directory into the header/footer of the corresponding pdf file. Thank you. Tudor -- Tudor Dan Bodea Georgia Institute of Technology School of
2007 Nov 13
1
R: Query an Access database based on a date attribute
It seems that Access needs that you surround the dates with a # symbol. You probably need something like. res <- sqlQuery(channel, "select * from test_table where market = 'atl-bos' and competitor = 'delta' and dd = #2007-11-20#") Hope this helps, Stefano -----Messaggio originale----- Da: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]Per
2007 Nov 12
2
Query an Access database based on a date attribute
Dear useRs, I would like to query an Access database through R based on a date attribute but, unfortunately, I fail to do so. For example, the table test_table of the test.mdb looks like: ID cd market competitor dd price 1 1 2007-11-20 atl-bos delta 2007-11-20 210 2 2 2007-11-20 atl-bos delta 2007-11-21 190 3 3 2007-11-20 atl-bos delta 2007-11-22
2008 Jul 06
1
Exception Handling
Dear useRs: Please provide me with your thoughts on an issue related to the design of a production level system. For example, let?s suppose that I need to run the same R script for a finite sequence of items (e.g., in the energy industry, I may need to asses the profitability of all gas stations in the state of Florida). For each of the items, the R script accesses some remote databases, gets
2007 Nov 13
2
Query an Access database based on a date attribute (Tudor Bodea)
Tudor Bodea asked: >In this context, I try to get all the records for which market is atl-bos, >competitor is delta and dd is 2007-11-20 (first record above). To do this I used >># channel <- odbcConnectAccess("test.mdb") >>res <- sqlQuery(channel, "select * from test_table where market = 'atl-bos' >>and competitor = 'delta' and dd =
2008 Jul 08
2
Change in behaviour of sd()
Hi I have just upgraded from R2.6.0 to R2.7.1 (running on Windows) and a part of my code that previously ran ok now gives an error. The following is a simple example to demonstrate my problem. > a <- array(c(1,2,3,4,5,6,rep(NA,6)),dim=c(6,2)) > apply(a,2,sd,na.rm=T) In R2.6.0 this gives (which is what I would like) [1] 1.870829 NA In R2.7.1 it gives the following error
2007 Mar 13
3
Timed Out or Disconnect Errors on emails with attachments
Hello all, I've migrated our Maildir system from Courier-IMAP-SSL to Dovecot with SSL and now we're getting "Connection to <server> Timed Out" errors when sending mail with attachments. The mail gets sent, however it doesn't save the mail in the user's "Sent" folder. Our IMAP and SMTP servers are different. So the client sends to the SMTP server
2011 Apr 08
4
Rpart decision tree
Dear useRs: I try to plot an rpart object but cannot get a nice tree structure plot. I am using plot.rpart and text.rpart (please see below) but the branches that connect the nodes overlap the text in the ellipses and rectangles. Is there a way to get a clean nice tree plot (as in the Rpart Mayo report)? I work under Windows and use R2.11.1 with rpart version 3.1-46. Thank you. Tudor ...
2008 Feb 12
3
regular expression for na.strings / read.table
Dear all, I am working with a csv file. Some data of the file are not valid and they are marked with a star '*'. For example : *789. I have attached with this email a example file (test.txt) that looks like the data I have to work with. I see 2 possibilities ..thast I cannot manage anyway in R: 1-first & easiest solution: Read the data with read.csv in R, and define as na strings
2008 Jul 17
2
Fw: how i can install Rgraphviz in R2.7.1
--- On Tue, 15/7/08, haani hanni <maaryam_khan@yahoo.com> wrote: From: haani hanni <maaryam_khan@yahoo.com> Subject: how i can install Rgraphviz in R2.7.1 To: "Nabble" <support@nabble.com> Cc: r-help-request@r-project.org Date: Tuesday, 15 July, 2008, 1:39 PM hello i am a new user of R.i have window XP Proffessional in my P.C.i wanted to make the graphs of my
2010 Jun 12
2
mob (party package) question
Dear useRs: I try to use mob from the party package (thanks Achim and Co.!) to model based recursive partition a data set. The model is a logistic regression specified with model=glinearModel and family=binomial(). Running mob results in a few warnings of the type: In glm.fit ... algorithm did not converge. As I speculate that this may be due to an insufficient number of iterations I am
2012 May 15
2
rpart - predict terminal nodes for new observations
Dear useRs: Is there a way I could predict the terminal node associated with a new data entry in an rpart environment? In the example below, if I had a new data entry with an AM of 5, I would like to link it to the terminal node 2. My searches led to http://tolstoy.newcastle.edu.au/R/e4/help/08/07/17702.html but I do not seem to be able to operationalize Professor Ripley's suggestions. Many
2012 Oct 01
2
mlogit and model-based recursive partitioning
Hello: Has anyone tried to model-based recursive partition (using mob from package party; thanks Achim and colleagues) a data set based on a multinomial logit model (using mlogit from package mlogit; thanks Yves)? I attempted to do so, but there are at least two reasons why I could not. First, in mob I am not quite sure that a model of class StatModel exists for mlogit models. Second, as
2004 Jan 10
1
cannot read messages(popup) but with root.
Hi! The messages samba receives over the Lan are owned by user nobody, I can open them only with root. ls -l /tmp/ | grep msg -rw------- 1 nobody nobody 7 Jan 10 18:26 msg.lb34mU -rw------- 1 nobody nobody 6 Jan 10 18:22 msg.YycNY5 How can change (not manualy) permissions of this incoming files so that they are available to other users? (Make them let's say
2012 Oct 30
1
Data set BregFix in package flexmix
Dear list: I would like to recreate how the artificial data set BregFix was generated in package flexmix (thanks Bettina and Friedrich). The data set is thoroughly described in Grun and Leisch's Computational Statistics & Data Analysis 51(11) :5247-5252 but references to the appropriate seed number(s) are missing (providing these details was certainly beyond the scope of the authors'
2008 Aug 22
1
Different results between v2.6.1 and 2.7.1 (PR#12579)
Hello~ When I use R2.6.1, the following work correctly. par(mar=3Dc(4.2,3.1,0.5,0.5), oma=3Dc(2,2,2,2)) boxplot(count ~ spray, col =3D "lightgray") box("inner", lty=3D"dotted", col=3D"red") box("outer", lty=3D"solid", col=3D"green") =20 But when I use R2.7.1, the outer region seems too large. I don=A1=A6t know what
2008 Jul 20
2
R interprets symbol as q()
R2.7.1, WinXP Hi, My question is probably easy to answer, but I can't seem to solve it myself. I need to read in a large number of datasets that were generated by another (old) software program. Each data file contains a bunch of additional code generated by the external software. It lists the data per respondent. So first the data for respondent 1, then the data for respondent 2, et
2008 Aug 06
3
Help in running Stata dataset in R
Dear All, I installed R 2.7.0 and tried to call a dataset i had ealier own called on R2.6.2 but i keep on getting an error: use("maltreat.dta") Error in fromchar(x) : character string is not in a standard unambiguous format Tried doing the same with R2.7.1 but i get the same error. However if i call the same on R 2.6.2, there is no error: use("maltreat.dta") > des()