Re: [R] Expression in legend of plot

2012-10-25 Thread stat.kk
So easy solution..., thank you very much :) -- View this message in context: http://r.789695.n4.nabble.com/Expression-in-legend-of-plot-tp4647393p4647397.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing li

[R] Expression in legend of plot

2012-10-25 Thread stat.kk
I would like to have an expression f^(-1)(x) in a legend of plot. For this I used expression(f^{-1}(x)), but variable is always in exponent. How could I change it in order to (x) be in a line, not in exponent? Thank you for your responses! -- View this message in context: http://r.789695.n4.na

Re: [R] Export to .txt

2011-11-02 Thread stat.kk
Oh, Im sorry. My file isnt a function but script 'script.R' which looks something like that: cat('Instruction no 1', '\n') browser() # place for fulfilling it cat('Instruction no 2', '\n') browser() # place for fulfilling it etc. I am running it by sink(file='output.txt') source('script.R')

[R] Export to .txt

2011-11-01 Thread stat.kk
Hi, I would like to export all my workspace (even with the evaluation of commands) to the text file. I know about the sink() function but it doesnt work as I would like. My R-function looks like this: there are instructions for user displayed by cat() command and browser() commands for fulfilling

Re: [R] Subset function

2011-09-09 Thread stat.kk
Thank you very much :) stat.kk -- View this message in context: http://r.789695.n4.nabble.com/Subset-function-tp3801397p3801626.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Subset function

2011-09-09 Thread stat.kk
No :( I dont have a condition on variable but on row name. My data frame looks like (from your example): > x xin xout Peter1 14 Tom 8 5 Jane 16 884 Paul 114 Cathy 8 5

[R] Subset function

2011-09-09 Thread stat.kk
et condition: subset(data, subset = ?, select = c(var1, var2)) Thank you very much, stat.kk -- View this message in context: http://r.789695.n4.nabble.com/Subset-function-tp3801397p3801397.html Sent from the R help mailing list archive at Nabble.com. ___