[R] times

2010-10-28 Thread thoeb
Hi! I have an input table with a column Dates in the format month/day/year (eg. 5/11/1999 and a column Times in the format hours/minutes (eg. 15:20). In R I need to convert them into chron objects to extract colums only containing months, days, minutes, .. For the dates it is no problem if I

[R] save image to folder

2010-06-01 Thread thoeb
Hello, is there an equivalent to write.csv for saving images to a folder? E.g. if I have a histogram or piechart I would need to write a command that saves the resulting image as png or jpg into a certain folder (working directory). Thanks -- View this message in context:

Re: [R] send command to other program

2009-04-29 Thread thoeb
Thanks! I have not used system before. May it works if command ist the call for the program, but how can I integrate the transfer of the file names (strings) from R to the program? Ranjan Maitra wrote: Does ?system help? Ranjan On Tue, 28 Apr 2009 13:00:28 -0700 (PDT) thoeb t.hoebin

[R] send command to other program

2009-04-28 Thread thoeb
Hello, does anybody know about how to send a command or a text line from R to another program? I have written a script in which several calculations are made and outputfiles (csv) are generated. Afterwards I open another program (Fortran) via shell.exec. This program asks for the names if the

[R] p-values of correlation matrix

2009-04-13 Thread thoeb
Hello, I have a data frame containing several parameters. I want to investigate pair wise correlations between all of the parameters. For doing so I used the command cor(data.frame, method=”spearman”), the result is a matrix giving me the correlation coefficients of each pair, but not the

[R] Convert date to integer

2009-03-31 Thread thoeb
Hello, I have a dataframe containing dates, times and other parameters. The times have the format h:m, e.g. 13:00 or 5:30, R classes them as factors. I want to change the times to integers e.g. 13:00 - 1300. I tried to use chron to create a chronological object, but it didn't work for the times

Re: [R] command to start a program (fortran code)

2009-03-26 Thread thoeb
(and ?shell on Windows). Uwe Ligges thoeb wrote: Hello! Does exist a command to start a foreign program (Fortran language)? I wrote a few r-scripts in which data are prepared and several outputfiles are generated that are used as inputfiles for further calculation. For these calculations

[R] command to start a program (fortran code)

2009-03-25 Thread thoeb
Hello! Does exist a command to start a foreign program (Fortran language)? I wrote a few r-scripts in which data are prepared and several outputfiles are generated that are used as inputfiles for further calculation. For these calculations another program is needed, so it would be practically if

Re: [R] run r scripts (tinn) via command

2009-03-19 Thread thoeb
The scripts are written with the TINN editor (***.r) and are organised within a project. I want to create another script that opens and runs the other scripts so I just have to activate that superior script to run all the other scripsts too. Ben Bolker wrote: thoeb t.hoebinger at gmail.com

Re: [R] run r scripts (tinn) via command

2009-03-19 Thread thoeb
Thank you! Works perfectly well! jholtman wrote: You just create the superior script as a set of 'source' statements reading in the files that you want to execute in order. On Thu, Mar 19, 2009 at 4:13 AM, thoeb t.hoebin...@gmail.com wrote: The scripts are written with the TINN editor

[R] run r scripts (tinn) via command

2009-03-18 Thread thoeb
Hello, I am working on a project consisting of several r-scripts written in the tinn editor. Is it possible to create a superior r script containing commands to run the sub-scripts one by one? - Tamara Hoebinger University of Vienna -- View this message in context:

[R] tcltk - insert scrollbar to window

2009-03-10 Thread thoeb
. Therefore I would need a scrollbar for the whole window. How can I create this? Thanks! THoeb - Tamara Hoebinger University of Vienna -- View this message in context: http://www.nabble.com/tcltk---insert-scrollbar-to-window-tp22443022p22443022.html Sent from the R help mailing list archive

Re: [R] selection list

2008-11-20 Thread thoeb
Thanks! I think the tcltk package will be the best solution.. I'll try at once. - Tamara Hoebinger University of Vienna -- View this message in context: http://www.nabble.com/selection-list-tp20580397p20596450.html Sent from the R help mailing list archive at Nabble.com.

[R] convert factors to numbers

2008-11-20 Thread thoeb
Hello, I have a problem with reading a csv-file. One colum of the inputfile consists of characters and numbers. After reading the csv-file I create a new dataframe by dividing the values of that colum into more colums (then a colum contains just characters or numbers) but the numbers are

[R] selection list

2008-11-19 Thread thoeb
Hello! I want to create a command for choosing input parameters via a new window that shows a table in which the parameters can be written in. R should open a seperate window in which the user is asked to put in some values (just numbers), afterwards a new file containing these values should be