Re: [R] svDialogs

2009-10-02 Thread Tubin
Did you ever get a response on this? I have been having a similar problem. Thanks, Sarah antje-4 wrote: > > Hi there, > > I was using Open/Save-dialogs from the package svDialogs (SciViews). But > now > the package has dissapeared? How do I have to set up my R-installation to > further use

Re: [R] svDialogs

2009-10-02 Thread Tubin
Download the package to your hard drive from here: http://cran.r-project.org/web/packages/svDialogs/ Then install directly using install.packages (for instructions on doing this, type ?install.packages) Just tried it, worked fine for me. Hi there, I was using Open/Save-dialogs from the packa

[R] Thank you

2008-05-29 Thread Tubin
In the past few weeks I have had to give myself a crash course in R, in order to accomplish some necessary tasks for my job. During that time, I've found this forum to be helpful time and time again - usually I find the answer to my problem by searching the archives; once or twice I've posted que

[R] re shaping "long-form" longitudinal data from sql query

2008-04-24 Thread Tubin
hi, I'm a total noob who is having to ramp up to full speed very quickly due to an unfortunate abrupt staffing change at my job :) I have longitudinal data that looks like this: PID OBSDATEDaysAgo CleanValue NAME 1 1410164934000610 8/17/2004 13:03:38

Re: [R] Documentation General Comments

2008-04-25 Thread Tubin
I realize the R developers are probably overwhelmed and have little time for this, but the documentation really needs some serious reorganizaton. My reply: I'm quite new to R and so have spent a lot of time in the last few days reading documentation both online and text. I'm incredibly impres

[R] ordering a factor in boxplot output

2008-04-30 Thread Tubin
I'm sure I'm missing something obvious in the documentation... I'm generating a boxplot boxplot(CleanValue~ApptCategory*ReportingCode,data=newfile) where ApptCategory is a factor with possible values ("New","Established") Problem is, the output orders those factors alphabetically, and I'd reall

Re: [R] ordering a factor in boxplot output

2008-05-01 Thread Tubin
at is probably what you want. HTH ... Peter Alspach > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tubin > Sent: Thursday, 1 May 2008 6:40 a.m. > To: r-help@r-project.org > Subject: [R] ordering a factor in boxplot outp

[R] odfWeave learning resources

2008-12-16 Thread Tubin
In general I try not to post questions to forums until I've tried my best to read about them in the available documentation. I recently undertook a project that used odfWeave and have been very pleased with the package. But, the R help documentation suggests that there are more sophisticated thi

[R] Suggestions for inputting a date via a dialog box?

2008-12-31 Thread Tubin
I've written a program which will be run by someone who isn't an R programmer and isn't all that computer-savvy in general. The user starts the program and is prompted to input various information such as location of data files. I've used the Sciviews svDialogs package for this with good success

Re: [R] Suggestions for inputting a date via a dialog box?

2008-12-31 Thread Tubin
misunderstood? Rpad can offer the user a calendar from which they choose a date. >From the main Rpad page try the Weather Explorer demo for an example: http://www.rpad.org On Wed, Dec 31, 2008 at 4:33 PM, Tubin wrote: [...] > > My question is: is there a highly user-friendly way to p

Re: [R] Suggestions for inputting a date via a dialog box?

2009-01-01 Thread Tubin
h him. Barry Rowlingson wrote: > > 2008/12/31 Tubin : >> >> Hm. This looks like a fantastic package in general... but for this >> particular project I would rather not have to redo the entire program to >> run >> in Rpad. And it is not immediately evident

[R] odfWeave and XML... on a Mac

2008-11-26 Thread Tubin
I'm trying out odfWeave in a Mac environment and getting some odd behavior. Having figured out that the code snippets only work if they're in certain fonts, I was able to get R to run a test document through and produce an output document. After running it, though, I get a warning message: Warn

[R] chron - when seconds data not included

2008-12-08 Thread Tubin
I have date and time data which looks like this: [,1] [,2] [1,] "7/1/08" "9:19" [2,] "7/1/08" "9:58" [3,] "7/7/08" "15:47" [4,] "7/8/08" "10:03" [5,] "7/8/08" "10:32" [6,] "7/8/08" "15:22" [7,] "7/8/08" "15:27" [8,] "7/8/08" "15:40" [9,] "7/9/08" "10:25" [10,] "7/9/08" "10

Re: [R] chron - when seconds data not included

2008-12-09 Thread Tubin
Works like a charm! Thanks. Gabor Grothendieck wrote: > > On Mon, Dec 8, 2008 at 11:52 PM, Tubin <[EMAIL PROTECTED]> wrote: >> >> I have date and time data which looks like this: >> >> [,1] [,2] >> [1,] "7/1/08" "9:19" &g

[R] Baffled: triggering error message with an sd result in odfWeave?

2008-12-15 Thread Tubin
I hope someone can point out my stupid error, because I'm baffled. I am calculating a bunch of variable values and then placing them in a document using odfWeave tags. This is working very nicely for every spot except one. One of the values I calculate is traindev: traindev <- if (trainlength

Re: [R] Baffled: triggering error message with an sd result in odfWeave?

2008-12-15 Thread Tubin
Sarah Goslee says: "I'd take a good look at trainlength, trainscores and traindev using str() and summary(), and print at least part of each to the screen. If the same line of code works with one dataset and not another, the problem is more likely your data than your code. If that doesn't help y

Re: [R] Baffled: triggering error message with an sd result in odfWeave?

2008-12-15 Thread Tubin
Unfortunately - no luck. Changing to the ifelse construction didn't fix the problem, and changing the "" to a zero or a NA also didn't help. Meanwhile, I have 4 other sd calculations on the same dataset, using the same construction, elsewhere in the document and code. None of them are giving me

Re: [R] Baffled: triggering error message with an sd result in odfWeave?

2008-12-15 Thread Tubin
renaming the variable does not help. I actually started with trainsd as the variable name. I believe that Sarah Goslee must be correct, and it's the data set I'm working from. Which moves my inquiry to the statement that establishes the dataset - I am combing through that now and will report

Re: [R] Baffled: triggering error message with an sd result in odfWeave?

2008-12-15 Thread Tubin
All interesting suggestions. Let's see... Running the code on a randomly-generated dataframe or a different "real" dataset still has the problem. A whole new document with only a single line \Sexpr{trainsd} seems to work just fine. If, in the actual project document, I use: <>= odfCat(trainsd

Re: [R] Baffled: triggering error message with an sd result in odfWeave?

2008-12-15 Thread Tubin
All interesting suggestions. Let's see... Running the code on a randomly-generated dataframe or a different "real" dataset still has the problem. A whole new document with only a single line \Sexpr{trainsd} seems to work just fine. If, in the actual project document, I use: <>= odfCat(trainsd