Re: [R] R GUI plot by color

2015-07-27 Thread jpara3
Ok,  I will take it into account in the future.

Thanks!! 



--
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-plot-by-color-tp4710297p4710382.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI plot by color

2015-07-26 Thread Robert Baer



On 7/24/2015 6:23 AM, Jim Lemon wrote:

Hi jpara3,
Your example, when I got it to go:

one-c(3,2,2)
two-c(a,b,b)
data-dataframe(one,two)
plot(data$one,col=data$two)
Wow Jim. Psychic indeed!  Not only did you answer with NO reproducible 
example, but on round 2 you fixed a non-working example and explained 
why it was an accident that it works.  What is the stock market about to 
do? :)


jpara3 - Those of us without Jim's talent can be more helpful if you 
read and follow the guide at the bottom of each email.:


PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.





does indeed work, and I'll explain how. You are plotting the values of
data$one against the _values_ of data$two (see point 3 of my
response). In this case, the values of data$two are of class factor,
which means that they have numeric values attached to the levels (a,
b) of the factor. When you pass these values as the col argument,
they are silently converted to their numeric values (1,2,2). In the
default palette, these numbers represent the colors - black, red, red.
Those are the colors in which the points are plotted. So far, so good.
Let's look at the other two points that I guessed.

1) The column names of data2 are not numbers

colnames(data)
[1] one two

As you can see, the column names are character variables, and they
don't translate to numbers:

as.numeric(colnames(data))
[1] NA NA

2) The number of columns in data2 is not equal to the number of values
in data1 that you are plotting

It's pretty obvious that there are two values in the column names and
three in the vector of values that you are plotting in your
example.So, I think I got three out of three without knowing what the
data were.

Jim


On Fri, Jul 24, 2015 at 7:53 PM, jpara3 j.para.fernan...@hotmail.com wrote:

I have done a trial with a dataframe like this:
one-c(3,2,2)
two-c(a,b,b)
data-dataframe(uno,dos)

plot(data$one,col=data$two)

and it plots perfect.
If you paste the code above in R, it has errors and does NOT plot 
perfectly.   I still did not understand what you were trying to do. You 
owe Jim big time.



If I try it with the code that i have post in the first message, selecting
data1 and data2 as i nthis example, the plot is plotted, but all dots with
the same color.

Thanks for the answer but noone of the 3 topics is the root problem.





--
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-plot-by-color-tp4710297p4710300.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI plot by color

2015-07-24 Thread jpara3
Hi, 

I want to do a plot from a variable (which i select from a listbox) with the
color factor of the variable that i have selected from another listbox.

To be not very heavy pasting all the code, i will only paste real important
parts:

data1 and data2 are the extacted parts of the dataframes data from a
tcltk listbox:

data1- dataframe[as.numeric(tkcurselection(tl))+1]
data2- dataframe[as.numeric(tkcurselection(tl))+1]

As i want to plot the data1 with the color of data2, i use this code:

plot(data1,col=colnames(data2))

This works perfect for plotting the data1 variable, but it do not change the
col of the dots by data2. 

I also have probed with 

plot(data1,col=factor(colnames(data2)))

But nothing happens with the color. 

Thanks!!






--
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-plot-by-color-tp4710297.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI plot by color

2015-07-24 Thread Jim Lemon
Hi jpara3,
Hmmm. It's becoming clearer, yes I think the answer is emerging from
the swirling clouds of uncertainty.

1) The column names of data2 are not numbers

2) The number of columns in data2 is not equal to the number of values
in data1 that you are plotting

3) You probably want to plot colors determined by the values in data2,
not the names of its columns

Please send payment for this psychic reading to

Jim


On Fri, Jul 24, 2015 at 6:43 PM, jpara3 j.para.fernan...@hotmail.com wrote:
 Hi,

 I want to do a plot from a variable (which i select from a listbox) with the
 color factor of the variable that i have selected from another listbox.

 To be not very heavy pasting all the code, i will only paste real important
 parts:

 data1 and data2 are the extacted parts of the dataframes data from a
 tcltk listbox:

 data1- dataframe[as.numeric(tkcurselection(tl))+1]
 data2- dataframe[as.numeric(tkcurselection(tl))+1]

 As i want to plot the data1 with the color of data2, i use this code:

 plot(data1,col=colnames(data2))

 This works perfect for plotting the data1 variable, but it do not change the
 col of the dots by data2.

 I also have probed with

 plot(data1,col=factor(colnames(data2)))

 But nothing happens with the color.

 Thanks!!






 --
 View this message in context: 
 http://r.789695.n4.nabble.com/R-GUI-plot-by-color-tp4710297.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI plot by color

2015-07-24 Thread jpara3
I have done a trial with a dataframe like this:
one-c(3,2,2)
two-c(a,b,b)
data-dataframe(uno,dos)

plot(data$one,col=data$two)

and it plots perfect.

If I try it with the code that i have post in the first message, selecting
data1 and data2 as i nthis example, the plot is plotted, but all dots with
the same color.

Thanks for the answer but noone of the 3 topics is the root problem.





--
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-plot-by-color-tp4710297p4710300.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI plot by color

2015-07-24 Thread Jim Lemon
Hi jpara3,
Your example, when I got it to go:

one-c(3,2,2)
two-c(a,b,b)
data-dataframe(one,two)
plot(data$one,col=data$two)

does indeed work, and I'll explain how. You are plotting the values of
data$one against the _values_ of data$two (see point 3 of my
response). In this case, the values of data$two are of class factor,
which means that they have numeric values attached to the levels (a,
b) of the factor. When you pass these values as the col argument,
they are silently converted to their numeric values (1,2,2). In the
default palette, these numbers represent the colors - black, red, red.
Those are the colors in which the points are plotted. So far, so good.
Let's look at the other two points that I guessed.

1) The column names of data2 are not numbers

colnames(data)
[1] one two

As you can see, the column names are character variables, and they
don't translate to numbers:

as.numeric(colnames(data))
[1] NA NA

2) The number of columns in data2 is not equal to the number of values
in data1 that you are plotting

It's pretty obvious that there are two values in the column names and
three in the vector of values that you are plotting in your
example.So, I think I got three out of three without knowing what the
data were.

Jim


On Fri, Jul 24, 2015 at 7:53 PM, jpara3 j.para.fernan...@hotmail.com wrote:
 I have done a trial with a dataframe like this:
 one-c(3,2,2)
 two-c(a,b,b)
 data-dataframe(uno,dos)

 plot(data$one,col=data$two)

 and it plots perfect.

 If I try it with the code that i have post in the first message, selecting
 data1 and data2 as i nthis example, the plot is plotted, but all dots with
 the same color.

 Thanks for the answer but noone of the 3 topics is the root problem.





 --
 View this message in context: 
 http://r.789695.n4.nabble.com/R-GUI-plot-by-color-tp4710297p4710300.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI plot by color

2015-07-24 Thread jpara3
Yes, you were right!! 

Thanks.




--
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-plot-by-color-tp4710297p4710320.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI tklistbox get value

2015-07-21 Thread jpara3
Thanks mr FOX, now it works perfect!!!





--
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-tklistbox-get-value-tp4710064p4710123.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI tklistbox get value

2015-07-20 Thread jpara3
Hi, i have a dataframe, dat, with 2 variables, one and two.

I want to print in R the mean of the selected variable of the dataframe. You
can select it with a tklistbox, but when you click OK button, the mean is
not displayed, just NA





one-c(5,5,6,9,5,8)
two-c(12,13,14,12,14,12)
dat-data.frame(uno,dos)

require(tcltk)
tt-tktoplevel()
tl-tklistbox(tt,height=4,selectmode=single)
tkgrid(tklabel(tt,text=Selecciona la variable para calcular media))
tkgrid(tl)
for (i in (1:4))
{
tkinsert(tl,end,colnames(dat[i]))
}
 
OnOK - function()
{

  selecvar - dat[as.numeric(tkcurselection(tl))+1]
   
  print(mean(selecvar))

}
OK.but -tkbutton(tt,text=   OK   ,command=OnOK)
tkgrid(OK.but)
tkfocus(tt)

#

Can someone please help me?? Thanks!!! 



--
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-tklistbox-get-value-tp4710064.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI tklistbox get value

2015-07-20 Thread John Fox
Dear j.para.fernandez,

Try

selecvar - dat[, as.numeric(tkcurselection(tl))+1]

Omitting the comma returns a one-column data frame, not a numeric vector.

I hope this helps,
 John


John Fox, Professor
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/

On Mon, 20 Jul 2015 03:29:07 -0700 (PDT)
 jpara3 j.para.fernan...@hotmail.com wrote:
 Hi, i have a dataframe, dat, with 2 variables, one and two.
 
 I want to print in R the mean of the selected variable of the dataframe. You
 can select it with a tklistbox, but when you click OK button, the mean is
 not displayed, just NA
 
 
 
 
 
 one-c(5,5,6,9,5,8)
 two-c(12,13,14,12,14,12)
 dat-data.frame(uno,dos)
 
 require(tcltk)
 tt-tktoplevel()
 tl-tklistbox(tt,height=4,selectmode=single)
 tkgrid(tklabel(tt,text=Selecciona la variable para calcular media))
 tkgrid(tl)
 for (i in (1:4))
 {
 tkinsert(tl,end,colnames(dat[i]))
 }
  
 OnOK - function()
 {
 
   selecvar - dat[as.numeric(tkcurselection(tl))+1]

   print(mean(selecvar))
 
 }
 OK.but -tkbutton(tt,text=   OK   ,command=OnOK)
 tkgrid(OK.but)
 tkfocus(tt)
 
 #
 
 Can someone please help me?? Thanks!!! 
 
 
 
 --
 View this message in context: 
 http://r.789695.n4.nabble.com/R-GUI-tklistbox-get-value-tp4710064.html
 Sent from the R help mailing list archive at Nabble.com.
 
 __
 R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R] R GUI for undergraduate lab class?

2014-07-14 Thread Dr. Thomas W. MacFarland
Hi Louise:

Pasted below is a section from a syllabus where I list a set of Tegrity-based 
URLs that demonstrate the R Commander Graphical User Interface, for R-based 
analyses and graphics.

The videos are all about 1 hour in length but there is a slider at the bottom 
so it is fairly easy to move past course specific sections or other portions 
that you may not need to review.

Comment:  Students in this class have no prior experience with R and minimal, 
if any, experience with syntax.  I try to start them out with R Commander since 
it is a fairly easy to use R GUI.  In time I move them over to R Studio and 
near the end of the term they use an ASCII editor to construct their own 
syntax, bypassing R Commander and R Studio.  Some students take to this easily 
and others prefer the GUI approach.

Comment:  The Tegrity videos then to show best using IE and Chrome.

Best wishes.

Tom MacFarland


\begin{longtable}{ l || p{0.10in} p{4.75in} }
\multicolumn{3}{ c }{
\textbf{Weekly Instruction}}   \\
 \\
\hline
 \\
{\bf Week 00}   Module 00 -- Video Overview of Biostatistics (DEP 5001), 
\url{https://tegr.it/y/1bv3i} 1:14:26 Hrs\\
 \\[-0.10in]
{\bf Week 01}   Module 01 -- Overview of Biostatistics (DEP 5001), 
\url{https://tegr.it/y/1bv3z} 1:26:50 Hrs\\
 \\[-0.10in]
Review the syllabus  \\
 \\[-0.10in]
Use of the Blackboard Course Management System (CMS) \\
 \\[-0.10in]
Alternates for communication and instruction (e.g., online 
equivalent of a fire drill) \\
 \\[-0.10in]
{\bf Week 02}   Module 02 -- Introduction:  Biostatistics and R, 
\url{https://tegr.it/y/1bvmt} 0:57:37 Hrs\\
 \\[-0.10in]
{\bf Week 03}   Module 03 -- Data in the Large, \url{https://tegr.it/y/1bvmq} 
0:47:31 Hrs\\
 \\[-0.10in]
{\bf Week 04}   Module 04 -- Population, Normal Distribution, and Sampling, 
\url{https://tegr.it/y/1bvmn} 0:52:14 Hrs and \url{https://tegr.it/y/1c1tj} 
1:02:24 Hrs \\
 \\[-0.10in]
{\bf Week 05}   Module 05 -- R Graphical User Interface (R Commander, R-GUI) 
and R Command Line Interface (R Syntax, R-CLI), \url{https://tegr.it/y/1bvmk} 
0:46:54 Hrs\\
 \\[-0.10in]
{\bf Week 06}   Module 06 -- Data Exploration, Descriptive Statistics, and 
Measures of Central Tendency, \url{https://tegr.it/y/1bvmh} 0:55:37 Hrs\\
 \\[-0.10in]
{\bf Week 07}   Module 07 -- Student's t-Test for Independent Samples, 
\url{https://tegr.it/y/1bvme} 1:09:43 Hrs\\
 \\[-0.10in]
{\bf Week 08}   Module 08 -- Student's t-Test for Matched Pairs, 
\url{https://tegr.it/y/1bvmb} 0:36:05 Hrs\\
 \\[-0.10in]
{\bf Week 09}   Module 09 -- Analyses and Graphics for a Large Dataset With 
No Missing Data, \url{https://tegr.it/y/1bvm8} 0:19:36 Hrs\\
 \\[-0.10in]
{\bf Week 10}   Module 10 -- Analyses and Graphics for a Large Dataset With 
Missing Data, \url{https://tegr.it/y/1bvm5} 0:45:51 Hrs\\
 \\[-0.10in]
{\bf Week 11}   Module 11 -- Oneway Analysis of Variance (ANOVA), 
\url{https://tegr.it/y/1bvm2} 1:00:34 Hrs\\
 \\[-0.10in]
{\bf Week 12}   Module 12 -- Twoway Analysis of Variance (ANOVA), 
\url{https://tegr.it/y/1btlg} 1:05:55 Hrs\\
 \\[-0.10in]
{\bf Week 13}   Module 13 -- Correlation and Linear Regression, 
\url{https://tegr.it/y/1bvly} 0:56:30 Hrs\\
 \\[-0.10in]
{\bf Week 14}   Module 14 -- Future Actions and Next Steps, 
\url{https://tegr.it/y/1bvlv} 0:33:38 Hrs\\
 \\[-0.10in]
{\bf Week 15}   Review and Completion of All Assignments \\
 \\[-0.10in]
{\bf Week 16}   Review and Completion of All Assignments \\
 \\[-0.10in]
Conclusions  \\
 \\[-0.10in]
\hline
  \\[-0.10in]
\end{longtable}

  



Date: Sat, 12 Jul 2014 13:47:08 -0700
From: Louise Stevenson louise.steven...@lifesci.ucsb.edu
To: r-help@r-project.org
Subject: [R] R GUI for undergraduate lab class?
Message-ID: 41a24965-d53d-4bef-916b-431e18086...@lifesci.ucsb.edu
Content-Type: text/plain; CHARSET=US-ASCII

Hi,

I'm working on a new set of simple, ecological modeling exercises for our
campus' undergraduate Introductory Biology lab series. The students work
with simple population models by looking at graphs and seeing how changing
parameter values and initial population sizes changes how the populations

Re: [R] R GUI for undergraduate lab class?

2014-07-14 Thread john verzani


Ranjan Maitra maitra.mbox.ignored at inbox.com writes:

 
 Hi Louise,



The INZight GUI might give students something to work with.
https://www.stat.auckland.ac.nz/~wild/iNZight/

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI for undergraduate lab class?

2014-07-13 Thread Christoph Scherber
The best GUI I know for such purposes is John Fox 's Rcmdr package. It was 
built for undergraduate courses. Cheers, Christoph 


Von Samsung Mobile gesendet

 Ursprüngliche Nachricht 
Von: Louise Stevenson louise.steven...@lifesci.ucsb.edu 
Datum: 12.07.2014  22:47  (GMT+01:00) 
An: r-help@r-project.org 
Betreff: [R] R GUI for undergraduate lab class? 
 
Hi,

I'm working on a new set of simple, ecological modeling exercises for our
campus' undergraduate Introductory Biology lab series. The students work
with simple population models by looking at graphs and seeing how changing
parameter values and initial population sizes changes how the populations
fluctuate through time. Does anyone know of an existing R GUI or any other
interface that would be good for an undergraduate setting? Basically I want
something that shows the students the model's output as graphs and lets them
change parameter values but the equations/coding itself is hidden such that
they can't change any of that. I want what Populus can do (a fantastic
program written for this exact purpose, info here:
http://www.cbs.umn.edu/research/resources/populus) but I want to be able to
upload data so the students can compare model outputs to real data and I
can't figure out how to get Populus to plot data. Any help would be very
much appreciated! Thank you!

Sincerely,
Louise Stevenson
Graduate Student, University of California, Santa Barbara
Department of Ecology, Evolution and Marine Biology

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI for undergraduate lab class?

2014-07-12 Thread Louise Stevenson
Hi,

I'm working on a new set of simple, ecological modeling exercises for our
campus' undergraduate Introductory Biology lab series. The students work
with simple population models by looking at graphs and seeing how changing
parameter values and initial population sizes changes how the populations
fluctuate through time. Does anyone know of an existing R GUI or any other
interface that would be good for an undergraduate setting? Basically I want
something that shows the students the model's output as graphs and lets them
change parameter values but the equations/coding itself is hidden such that
they can't change any of that. I want what Populus can do (a fantastic
program written for this exact purpose, info here:
http://www.cbs.umn.edu/research/resources/populus) but I want to be able to
upload data so the students can compare model outputs to real data and I
can't figure out how to get Populus to plot data. Any help would be very
much appreciated! Thank you!

Sincerely,
Louise Stevenson
Graduate Student, University of California, Santa Barbara
Department of Ecology, Evolution and Marine Biology

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI for undergraduate lab class?

2014-07-12 Thread Roy Mendelssohn
There are probably several solutions to what you want to do, but you might look 
at Shiny as one possibility:

http://shiny.rstudio.com

-Roy M.
On Jul 12, 2014, at 1:47 PM, Louise Stevenson 
louise.steven...@lifesci.ucsb.edu wrote:

 Hi,
 
 I'm working on a new set of simple, ecological modeling exercises for our
 campus' undergraduate Introductory Biology lab series. The students work
 with simple population models by looking at graphs and seeing how changing
 parameter values and initial population sizes changes how the populations
 fluctuate through time. Does anyone know of an existing R GUI or any other
 interface that would be good for an undergraduate setting? Basically I want
 something that shows the students the model's output as graphs and lets them
 change parameter values but the equations/coding itself is hidden such that
 they can't change any of that. I want what Populus can do (a fantastic
 program written for this exact purpose, info here:
 http://www.cbs.umn.edu/research/resources/populus) but I want to be able to
 upload data so the students can compare model outputs to real data and I
 can't figure out how to get Populus to plot data. Any help would be very
 much appreciated! Thank you!
 
 Sincerely,
 Louise Stevenson
 Graduate Student, University of California, Santa Barbara
 Department of Ecology, Evolution and Marine Biology
 
 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

**
The contents of this message do not reflect any position of the U.S. 
Government or NOAA.
**
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: roy.mendelss...@noaa.gov (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

Old age and treachery will overcome youth and skill.
From those who have been given much, much will be expected 
the arc of the moral universe is long, but it bends toward justice -MLK Jr.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI for undergraduate lab class?

2014-07-12 Thread Richard M. Heiberger
I recommend RExcel.
RExcel is an add-in for Windows Excel that gives complete access to
the entirety of R
from Windows Excel.  It is free for educational use.

The program by Erich Neuwirth is at http://rcom.univie.ac.at
Our book, designed as a supplement to any text, is at
http://www.springer.com/978-1-4419-0051-7

Rich


On Sat, Jul 12, 2014 at 4:47 PM, Louise Stevenson
louise.steven...@lifesci.ucsb.edu wrote:
 Hi,

 I'm working on a new set of simple, ecological modeling exercises for our
 campus' undergraduate Introductory Biology lab series. The students work
 with simple population models by looking at graphs and seeing how changing
 parameter values and initial population sizes changes how the populations
 fluctuate through time. Does anyone know of an existing R GUI or any other
 interface that would be good for an undergraduate setting? Basically I want
 something that shows the students the model's output as graphs and lets them
 change parameter values but the equations/coding itself is hidden such that
 they can't change any of that. I want what Populus can do (a fantastic
 program written for this exact purpose, info here:
 http://www.cbs.umn.edu/research/resources/populus) but I want to be able to
 upload data so the students can compare model outputs to real data and I
 can't figure out how to get Populus to plot data. Any help would be very
 much appreciated! Thank you!

 Sincerely,
 Louise Stevenson
 Graduate Student, University of California, Santa Barbara
 Department of Ecology, Evolution and Marine Biology

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI for undergraduate lab class?

2014-07-12 Thread Ranjan Maitra
Hi Louise,

I tried using Deducer (graphical frontend to R) in my introductory
class (Stat 105 at Iowa State University) for  civil and construction
engineers and this was a roaring success this year. The class itself
has a wee bit of software experience, which has previously been done
using JMP. Most instructors (graduate TAs, typically) haven't
particularly been enamoured of using JMP, so I decided to explore the
possibility of using a GUI version of R. 

I am not in general a great fan of any kind of GUI for my own
work: however, it makes sense for this kind of class and I wanted a
one-click solution for the Windoze user which would make it possible
for them to use R with minimal typing. (Windoze users are primarily
what made up the students in this this class.)

I looked at a few R packages: pmg (or Poor Man's GUI, which appeared to
not have been updated since 2009, so I am not sure how active this
project currently is) and Rcmdr (R commander). Both these packages
served my purpose for a limited amount, but were not able to do all the
aspects of regression needed in the class (in pmg's case, could not
calculate the residuals, but in the case of RCmdr's case, could not
provide a residuals plot without the entire plethora of diagnostics
also showing up) so I decided to look at other alternatives. Also,
installing Rcmdr (with its dependencies) was not particularly easy from
the student's perspective (in my view).

I found my solution in Deducer which actually has its own website:
www.deducer.org. For Windoze users, it is a one-click
installation. The beauty of this software, in my mind, is that it can do
a lot of things (including quite involved calculations)  and has its
entire suite of graphics built on the ggplot package. Being a GUI, one
has to look around for how to do particular things (which may not
always be in the place that I might thing is intuitive, but it is
there). The manual is generally decent: however, the graphics part of
the manual is perfunctory at best. And it uses Java, a resource hog I
generally abhor.

I sent the students the e-mail (below) on how to install (and come
prepared for the class last week so that we could do a demo and
examples). They did not have much issues. In fact, in class, I got
exactly one complaint: Can't all this be done in excel?
-- I completed this question for him: ... and also on pen and paper
-- but other than that, most students have taken to it and turned in
their homeworks without much fuss. In fact, some have liked it and
explored with it. 

In our introductory classes, we have typically used JMP. But if some of
us prefer using an open-source option that is not encumbered by
patents and proprietary licenses but have been bothered by R's learning
curve, using it through Deducer might be a possible option.


Btw, here is the e-mail I sent my class on how to go about installing
Deducer (note that the instructions are from late January):



Dear students,

For Stat 105, we will be demonstrating Deducer which is
available at http://www.deducer.orgfor installation. Deducer is a
graphical frontend to the statistical software R.

If you are installing to Windows, please use:

http://neolab.stat.ucla.edu/cranstats/Deducer-R-2.15.0-win.exe

This will install all you need in a one-click operation.For other OS's,
please use:

http://www.deducer.org/pmwiki/index.php?n=Main.MacOSXInstallation

for MacOSX while for Linux, please use:

http://www.deducer.org/pmwiki/index.php?n=Main.LinuxInstallation

For both Mac and Linux, you will need to install R prior to instaling
Deducer and JGR. We will go through a demonstration of Chapter 4 using
Deducer in class tomorrow.

I hope that this helps!

Many thanks and best wishes,
Ranjan


On Sat, 12 Jul 2014 13:47:08 -0700 Louise Stevenson
louise.steven...@lifesci.ucsb.edu wrote:

 Hi,
 
 I'm working on a new set of simple, ecological modeling exercises for our
 campus' undergraduate Introductory Biology lab series. The students work
 with simple population models by looking at graphs and seeing how changing
 parameter values and initial population sizes changes how the populations
 fluctuate through time. Does anyone know of an existing R GUI or any other
 interface that would be good for an undergraduate setting? Basically I want
 something that shows the students the model's output as graphs and lets them
 change parameter values but the equations/coding itself is hidden such that
 they can't change any of that. I want what Populus can do (a fantastic
 program written for this exact purpose, info here:
 http://www.cbs.umn.edu/research/resources/populus) but I want to be able to
 upload data so the students can compare model outputs to real data and I
 can't figure out how to get Populus to plot data. Any help would be very
 much appreciated! Thank you!
 
 Sincerely,
 Louise Stevenson
 Graduate Student, University of California, Santa Barbara
 Department of Ecology, Evolution and Marine Biology
 
 

Re: [R] R GUI frond has stopped working

2013-03-10 Thread Uwe Ligges
downloaded 435 Kb

trying URL

'http://cran.fhcrc.org/bin/windows/contrib/2.15/snow_0.3-10.zip'

Content type 'application/zip' length 65961 bytes (64 Kb)
opened URL
downloaded 64 Kb

trying URL

'http://cran.fhcrc.org/bin/windows/contrib/2.15/RUnit_0.4.26.zip'

Content type 'application/zip' length 195724 bytes (191 Kb)
opened URL
downloaded 191 Kb

trying URL


'http://bioconductor.org/packages/2.11/bioc/bin/windows/contrib/2.15/xcms_1.

34.0.zip'
Content type 'application/zip' length 1871439 bytes (1.8 Mb)
opened URL
downloaded 1.8 Mb

package 'BiocGenerics' successfully unpacked and MD5 sums checked
package 'Rcpp' successfully unpacked and MD5 sums checked
package 'Biobase' successfully unpacked and MD5 sums checked
package 'waveslim' successfully unpacked and MD5 sums checked
package 'mzR' successfully unpacked and MD5 sums checked
package 'faahKO' successfully unpacked and MD5 sums checked
package 'msdata' successfully unpacked and MD5 sums checked
package 'ncdf' successfully unpacked and MD5 sums checked
package 'multtest' successfully unpacked and MD5 sums checked
package 'rgl' successfully unpacked and MD5 sums checked
package 'MassSpecWavelet' successfully unpacked and MD5 sums checked
package 'RANN' successfully unpacked and MD5 sums checked
package 'snow' successfully unpacked and MD5 sums checked
package 'RUnit' successfully unpacked and MD5 sums checked
package 'xcms' successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Philippos\AppData\Local\Temp\RtmpW2o83w\downloaded_packages
Warning message:
installed directory not writable, cannot update packages

'KernSmooth',

'survival'

Apologies if I was doing any silly mistakes
Filippos

-Original Message-
From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
Sent: 09 March 2013 15:14
To: lefelit
Cc: 'PIKAL Petr'; r-help@r-project.org
Subject: Re: [R] R GUI frond has stopped working



On 09.03.2013 00:53, lefelit wrote:

Hi

I found the source of the problem. The R would not let me update the
survival and KernSmooth package at the R/library folder. I
manually delete them and then download the latest version of them to
proceed with the xcms installation. I work on a window 7 computer

and

R 2.15.3/2/1 (all version gave the same error).

Hope this provides more information about the problem


Not let me update means either you have not had the required

permissions

for the file access or you had the packages already loaded, so R

could not

remove them.

Uwe Ligges



Regards
Filippos



-Original Message-
From: PIKAL Petr [mailto:petr.pi...@precheza.cz]
Sent: 08 March 2013 15:18
To: lefelit; r-help@r-project.org
Subject: RE: [R] R GUI frond has stopped working

Hi

Some issues:

1 do not use HTML mail
2 what OS
3 which R version
4 when and how it stopped working - exact error message (if any)
5 did you ask xcms maintainer for help? (it is not in standard CRAN
packages)
6 try to send reproducible example for others to enable them to test
the problem

Regards
Petr



-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of lefelit
Sent: Friday, March 08, 2013 10:58 AM
To: r-help@r-project.org
Subject: [R] R GUI frond has stopped working

Hi



I have sent couple of days ago an email describing an issue in
regards to R software when I use the xcms package. I haven't got

any

response whether my post has been made public to receive any help

for

other users. Is my email again treated as spam or considered as
inappropriate to be published?



Kind regards

Filippos


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-
guide.html and provide commented, minimal, self-contained,
reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.





__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible

Re: [R] R GUI frond has stopped working

2013-03-10 Thread Jeff Newmiller
 bytes (15.8 Mb)
 opened URL
 downloaded 15.8 Mb

 trying URL


'http://bioconductor.org/packages/2.11/data/experiment/bin/windows/contrib/2
 .15/msdata_0.1.12.zip'
 Content type 'application/zip' length 13742308 bytes (13.1 Mb)
 opened URL
 downloaded 13.1 Mb

 trying URL
 'http://cran.fhcrc.org/bin/windows/contrib/2.15/ncdf_1.6.6.zip'
 Content type 'application/zip' length 331657 bytes (323 Kb)
 opened URL
 downloaded 323 Kb

 trying URL


'http://bioconductor.org/packages/2.11/bioc/bin/windows/contrib/2.15/multtes
 t_2.14.0.zip'
 Content type 'application/zip' length 1512257 bytes (1.4 Mb)
 opened URL
 downloaded 1.4 Mb

 trying URL
 'http://cran.fhcrc.org/bin/windows/contrib/2.15/rgl_0.93.928.zip'
 Content type 'application/zip' length 1978923 bytes (1.9 Mb)
 opened URL
 downloaded 1.9 Mb

 trying URL


'http://bioconductor.org/packages/2.11/bioc/bin/windows/contrib/2.15/MassSpe
 cWavelet_1.24.0.zip'
 Content type 'application/zip' length 1190983 bytes (1.1 Mb)
 opened URL
 downloaded 1.1 Mb

 trying URL
 'http://cran.fhcrc.org/bin/windows/contrib/2.15/RANN_2.2.1.zip'
 Content type 'application/zip' length 445857 bytes (435 Kb)
 opened URL
 downloaded 435 Kb

 trying URL
 'http://cran.fhcrc.org/bin/windows/contrib/2.15/snow_0.3-10.zip'
 Content type 'application/zip' length 65961 bytes (64 Kb)
 opened URL
 downloaded 64 Kb

 trying URL
 'http://cran.fhcrc.org/bin/windows/contrib/2.15/RUnit_0.4.26.zip'
 Content type 'application/zip' length 195724 bytes (191 Kb)
 opened URL
 downloaded 191 Kb

 trying URL


'http://bioconductor.org/packages/2.11/bioc/bin/windows/contrib/2.15/xcms_1.
 34.0.zip'
 Content type 'application/zip' length 1871439 bytes (1.8 Mb)
 opened URL
 downloaded 1.8 Mb

 package 'BiocGenerics' successfully unpacked and MD5 sums checked
 package 'Rcpp' successfully unpacked and MD5 sums checked
 package 'Biobase' successfully unpacked and MD5 sums checked
 package 'waveslim' successfully unpacked and MD5 sums checked
 package 'mzR' successfully unpacked and MD5 sums checked
 package 'faahKO' successfully unpacked and MD5 sums checked
 package 'msdata' successfully unpacked and MD5 sums checked
 package 'ncdf' successfully unpacked and MD5 sums checked
 package 'multtest' successfully unpacked and MD5 sums checked
 package 'rgl' successfully unpacked and MD5 sums checked
 package 'MassSpecWavelet' successfully unpacked and MD5 sums
checked
 package 'RANN' successfully unpacked and MD5 sums checked
 package 'snow' successfully unpacked and MD5 sums checked
 package 'RUnit' successfully unpacked and MD5 sums checked
 package 'xcms' successfully unpacked and MD5 sums checked

 The downloaded binary packages are in

C:\Users\Philippos\AppData\Local\Temp\RtmpW2o83w\downloaded_packages
 Warning message:
 installed directory not writable, cannot update packages
 'KernSmooth',
 'survival'

 Apologies if I was doing any silly mistakes
 Filippos

 -Original Message-
 From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
 Sent: 09 March 2013 15:14
 To: lefelit
 Cc: 'PIKAL Petr'; r-help@r-project.org
 Subject: Re: [R] R GUI frond has stopped working



 On 09.03.2013 00:53, lefelit wrote:
 Hi

 I found the source of the problem. The R would not let me update
the
 survival and KernSmooth package at the R/library folder. I
 manually delete them and then download the latest version of them
to
 proceed with the xcms installation. I work on a window 7 computer
 and
 R 2.15.3/2/1 (all version gave the same error).

 Hope this provides more information about the problem

 Not let me update means either you have not had the required
 permissions
 for the file access or you had the packages already loaded, so R
 could not
 remove them.

 Uwe Ligges


 Regards
 Filippos



 -Original Message-
 From: PIKAL Petr [mailto:petr.pi...@precheza.cz]
 Sent: 08 March 2013 15:18
 To: lefelit; r-help@r-project.org
 Subject: RE: [R] R GUI frond has stopped working

 Hi

 Some issues:

 1 do not use HTML mail
 2 what OS
 3 which R version
 4 when and how it stopped working - exact error message (if any)
 5 did you ask xcms maintainer for help? (it is not in standard
CRAN
 packages)
 6 try to send reproducible example for others to enable them to
test
 the problem

 Regards
 Petr


 -Original Message-
 From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
 project.org] On Behalf Of lefelit
 Sent: Friday, March 08, 2013 10:58 AM
 To: r-help@r-project.org
 Subject: [R] R GUI frond has stopped working

 Hi



 I have sent couple of days ago an email describing an issue in
 regards to R software when I use the xcms package. I haven't got
 any
 response whether my post has been made public to receive any help
 for
 other users. Is my email again treated as spam or considered as
 inappropriate to be published?



 Kind regards

 Filippos


  [[alternative HTML version deleted]]

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r

Re: [R] R GUI frond has stopped working

2013-03-09 Thread Uwe Ligges



On 09.03.2013 00:53, lefelit wrote:

Hi

I found the source of the problem. The R would not let me update the
survival and KernSmooth package at the R/library folder. I manually
delete them and then download the latest version of them to proceed with the
xcms installation. I work on a window 7 computer and R 2.15.3/2/1 (all
version gave the same error).

Hope this provides more information about the problem


Not let me update means either you have not had the required 
permissions for the file access or you had the packages already loaded, 
so R could not remove them.


Uwe Ligges



Regards
Filippos



-Original Message-
From: PIKAL Petr [mailto:petr.pi...@precheza.cz]
Sent: 08 March 2013 15:18
To: lefelit; r-help@r-project.org
Subject: RE: [R] R GUI frond has stopped working

Hi

Some issues:

1 do not use HTML mail
2 what OS
3 which R version
4 when and how it stopped working - exact error message (if any)
5 did you ask xcms maintainer for help? (it is not in standard CRAN
packages)
6 try to send reproducible example for others to enable them to test the
problem

Regards
Petr



-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of lefelit
Sent: Friday, March 08, 2013 10:58 AM
To: r-help@r-project.org
Subject: [R] R GUI frond has stopped working

Hi



I have sent couple of days ago an email describing an issue in regards
to R software when I use the xcms package. I haven't got any response
whether my post has been made public to receive any help for other
users. Is my email again treated as spam or considered as
inappropriate to be published?



Kind regards

Filippos


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-
guide.html and provide commented, minimal, self-contained,
reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI frond has stopped working

2013-03-09 Thread Uwe Ligges
' successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Philippos\AppData\Local\Temp\RtmpW2o83w\downloaded_packages
Warning message:
installed directory not writable, cannot update packages 'KernSmooth',
'survival'

Apologies if I was doing any silly mistakes
Filippos

-Original Message-
From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
Sent: 09 March 2013 15:14
To: lefelit
Cc: 'PIKAL Petr'; r-help@r-project.org
Subject: Re: [R] R GUI frond has stopped working



On 09.03.2013 00:53, lefelit wrote:

Hi

I found the source of the problem. The R would not let me update the
survival and KernSmooth package at the R/library folder. I
manually delete them and then download the latest version of them to
proceed with the xcms installation. I work on a window 7 computer and
R 2.15.3/2/1 (all version gave the same error).

Hope this provides more information about the problem


Not let me update means either you have not had the required permissions
for the file access or you had the packages already loaded, so R could not
remove them.

Uwe Ligges



Regards
Filippos



-Original Message-
From: PIKAL Petr [mailto:petr.pi...@precheza.cz]
Sent: 08 March 2013 15:18
To: lefelit; r-help@r-project.org
Subject: RE: [R] R GUI frond has stopped working

Hi

Some issues:

1 do not use HTML mail
2 what OS
3 which R version
4 when and how it stopped working - exact error message (if any)
5 did you ask xcms maintainer for help? (it is not in standard CRAN
packages)
6 try to send reproducible example for others to enable them to test
the problem

Regards
Petr



-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of lefelit
Sent: Friday, March 08, 2013 10:58 AM
To: r-help@r-project.org
Subject: [R] R GUI frond has stopped working

Hi



I have sent couple of days ago an email describing an issue in
regards to R software when I use the xcms package. I haven't got any
response whether my post has been made public to receive any help for
other users. Is my email again treated as spam or considered as
inappropriate to be published?



Kind regards

Filippos


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-
guide.html and provide commented, minimal, self-contained,
reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.





__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI frond has stopped working

2013-03-09 Thread lefelit
 update packages 'KernSmooth',
'survival'

Apologies if I was doing any silly mistakes 
Filippos

-Original Message-
From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de] 
Sent: 09 March 2013 15:14
To: lefelit
Cc: 'PIKAL Petr'; r-help@r-project.org
Subject: Re: [R] R GUI frond has stopped working



On 09.03.2013 00:53, lefelit wrote:
 Hi

 I found the source of the problem. The R would not let me update the 
 survival and KernSmooth package at the R/library folder. I 
 manually delete them and then download the latest version of them to 
 proceed with the xcms installation. I work on a window 7 computer and 
 R 2.15.3/2/1 (all version gave the same error).

 Hope this provides more information about the problem

Not let me update means either you have not had the required permissions
for the file access or you had the packages already loaded, so R could not
remove them.

Uwe Ligges


 Regards
 Filippos



 -Original Message-
 From: PIKAL Petr [mailto:petr.pi...@precheza.cz]
 Sent: 08 March 2013 15:18
 To: lefelit; r-help@r-project.org
 Subject: RE: [R] R GUI frond has stopped working

 Hi

 Some issues:

 1 do not use HTML mail
 2 what OS
 3 which R version
 4 when and how it stopped working - exact error message (if any)
 5 did you ask xcms maintainer for help? (it is not in standard CRAN
 packages)
 6 try to send reproducible example for others to enable them to test 
 the problem

 Regards
 Petr


 -Original Message-
 From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- 
 project.org] On Behalf Of lefelit
 Sent: Friday, March 08, 2013 10:58 AM
 To: r-help@r-project.org
 Subject: [R] R GUI frond has stopped working

 Hi



 I have sent couple of days ago an email describing an issue in 
 regards to R software when I use the xcms package. I haven't got any 
 response whether my post has been made public to receive any help for 
 other users. Is my email again treated as spam or considered as 
 inappropriate to be published?



 Kind regards

 Filippos


  [[alternative HTML version deleted]]

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting- 
 guide.html and provide commented, minimal, self-contained, 
 reproducible code.

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide 
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI frond has stopped working

2013-03-09 Thread Jeff Newmiller
)
 opened URL
 downloaded 64 Kb

 trying URL
'http://cran.fhcrc.org/bin/windows/contrib/2.15/RUnit_0.4.26.zip'
 Content type 'application/zip' length 195724 bytes (191 Kb)
 opened URL
 downloaded 191 Kb

 trying URL

'http://bioconductor.org/packages/2.11/bioc/bin/windows/contrib/2.15/xcms_1.
 34.0.zip'
 Content type 'application/zip' length 1871439 bytes (1.8 Mb)
 opened URL
 downloaded 1.8 Mb

 package 'BiocGenerics' successfully unpacked and MD5 sums checked
 package 'Rcpp' successfully unpacked and MD5 sums checked
 package 'Biobase' successfully unpacked and MD5 sums checked
 package 'waveslim' successfully unpacked and MD5 sums checked
 package 'mzR' successfully unpacked and MD5 sums checked
 package 'faahKO' successfully unpacked and MD5 sums checked
 package 'msdata' successfully unpacked and MD5 sums checked
 package 'ncdf' successfully unpacked and MD5 sums checked
 package 'multtest' successfully unpacked and MD5 sums checked
 package 'rgl' successfully unpacked and MD5 sums checked
 package 'MassSpecWavelet' successfully unpacked and MD5 sums checked
 package 'RANN' successfully unpacked and MD5 sums checked
 package 'snow' successfully unpacked and MD5 sums checked
 package 'RUnit' successfully unpacked and MD5 sums checked
 package 'xcms' successfully unpacked and MD5 sums checked

 The downloaded binary packages are in
 C:\Users\Philippos\AppData\Local\Temp\RtmpW2o83w\downloaded_packages
 Warning message:
 installed directory not writable, cannot update packages
'KernSmooth',
 'survival'

 Apologies if I was doing any silly mistakes
 Filippos

 -Original Message-
 From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
 Sent: 09 March 2013 15:14
 To: lefelit
 Cc: 'PIKAL Petr'; r-help@r-project.org
 Subject: Re: [R] R GUI frond has stopped working



 On 09.03.2013 00:53, lefelit wrote:
 Hi

 I found the source of the problem. The R would not let me update the
 survival and KernSmooth package at the R/library folder. I
 manually delete them and then download the latest version of them to
 proceed with the xcms installation. I work on a window 7 computer
and
 R 2.15.3/2/1 (all version gave the same error).

 Hope this provides more information about the problem

 Not let me update means either you have not had the required
permissions
 for the file access or you had the packages already loaded, so R
could not
 remove them.

 Uwe Ligges


 Regards
 Filippos



 -Original Message-
 From: PIKAL Petr [mailto:petr.pi...@precheza.cz]
 Sent: 08 March 2013 15:18
 To: lefelit; r-help@r-project.org
 Subject: RE: [R] R GUI frond has stopped working

 Hi

 Some issues:

 1 do not use HTML mail
 2 what OS
 3 which R version
 4 when and how it stopped working - exact error message (if any)
 5 did you ask xcms maintainer for help? (it is not in standard CRAN
 packages)
 6 try to send reproducible example for others to enable them to test
 the problem

 Regards
 Petr


 -Original Message-
 From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
 project.org] On Behalf Of lefelit
 Sent: Friday, March 08, 2013 10:58 AM
 To: r-help@r-project.org
 Subject: [R] R GUI frond has stopped working

 Hi



 I have sent couple of days ago an email describing an issue in
 regards to R software when I use the xcms package. I haven't got
any
 response whether my post has been made public to receive any help
for
 other users. Is my email again treated as spam or considered as
 inappropriate to be published?



 Kind regards

 Filippos


[[alternative HTML version deleted]]

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-
 guide.html and provide commented, minimal, self-contained,
 reproducible code.

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.



__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI frond has stopped working

2013-03-08 Thread lefelit
Hi

 

I have sent couple of days ago an email describing an issue in regards to R
software when I use the xcms package. I haven't got any response whether my
post has been made public to receive any help for other users. Is my email
again treated as spam or considered as inappropriate to be published?

 

Kind regards

Filippos 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI frond has stopped working

2013-03-08 Thread PIKAL Petr
Hi

Some issues:

1 do not use HTML mail
2 what OS
3 which R version
4 when and how it stopped working - exact error message (if any)
5 did you ask xcms maintainer for help? (it is not in standard CRAN packages)
6 try to send reproducible example for others to enable them to test the problem

Regards
Petr


 -Original Message-
 From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
 project.org] On Behalf Of lefelit
 Sent: Friday, March 08, 2013 10:58 AM
 To: r-help@r-project.org
 Subject: [R] R GUI frond has stopped working
 
 Hi
 
 
 
 I have sent couple of days ago an email describing an issue in regards
 to R software when I use the xcms package. I haven't got any response
 whether my post has been made public to receive any help for other
 users. Is my email again treated as spam or considered as inappropriate
 to be published?
 
 
 
 Kind regards
 
 Filippos
 
 
   [[alternative HTML version deleted]]
 
 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-
 guide.html
 and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI frond has stopped working

2013-03-08 Thread lefelit
Hi 

I found the source of the problem. The R would not let me update the
survival and KernSmooth package at the R/library folder. I manually
delete them and then download the latest version of them to proceed with the
xcms installation. I work on a window 7 computer and R 2.15.3/2/1 (all
version gave the same error). 

Hope this provides more information about the problem

Regards
Filippos



-Original Message-
From: PIKAL Petr [mailto:petr.pi...@precheza.cz] 
Sent: 08 March 2013 15:18
To: lefelit; r-help@r-project.org
Subject: RE: [R] R GUI frond has stopped working

Hi

Some issues:

1 do not use HTML mail
2 what OS
3 which R version
4 when and how it stopped working - exact error message (if any)
5 did you ask xcms maintainer for help? (it is not in standard CRAN
packages)
6 try to send reproducible example for others to enable them to test the
problem

Regards
Petr


 -Original Message-
 From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- 
 project.org] On Behalf Of lefelit
 Sent: Friday, March 08, 2013 10:58 AM
 To: r-help@r-project.org
 Subject: [R] R GUI frond has stopped working
 
 Hi
 
 
 
 I have sent couple of days ago an email describing an issue in regards 
 to R software when I use the xcms package. I haven't got any response 
 whether my post has been made public to receive any help for other 
 users. Is my email again treated as spam or considered as 
 inappropriate to be published?
 
 
 
 Kind regards
 
 Filippos
 
 
   [[alternative HTML version deleted]]
 
 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting- 
 guide.html and provide commented, minimal, self-contained, 
 reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R Gui frond has stopped working

2013-03-06 Thread lefelit
I use R (2.15.2) on a windows 7 (64) for data mining with xcms package. This
is a routine process for me and didn't encount any problems until few weeks
ago when I got an error message for R GUI  frond end has stopped working.
The following information was given  by windows to describe the error.

 

 \AppData\Local\Temp\WER5936.tmp.WERInternalMetadata.xml

 \AppData\Local\Temp\WER7243.tmp.appcompat.txt

 \AppData\Local\Temp\WER7282.tmp.mdmp

 

I have uninstall and re-install couple of time the R software but it did not
help. Any ideas how to resolve this issue? I even tried to upgrade to 2.15.3
or to 2.15.1 but still get the same error message

 

Thanks in advance for any help

 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R-GUI shutdown

2011-06-28 Thread Uwe Ligges



On 27.06.2011 23:54, xin123620 wrote:

Dear R Users,

I was using R to import several years traffic data, but every time after
data successfully imported (no error or warning) when I tried to save this
workplace or tackle these data, R GUI would automatically shut down. Would
you have any ideas that how I should deal with this situation?  Thank you
very much.


- If this is not R-patched with updated package, update
- Try to make it reproducible and give us the relevant info so that we 
can reproduce.

- Tell what sessionInfo() says directly before you manage to crash R.

Uwe Ligges




Best,
Chengxin

--
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-shutdown-tp3628965p3628965.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R-GUI shutdown

2011-06-27 Thread xin123620
Dear R Users,

I was using R to import several years traffic data, but every time after
data successfully imported (no error or warning) when I tried to save this
workplace or tackle these data, R GUI would automatically shut down. Would
you have any ideas that how I should deal with this situation?  Thank you
very much.

Best,
Chengxin

--
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-shutdown-tp3628965p3628965.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R gui on windows how to force to always show the last line of output

2011-04-05 Thread stan zimine
thank you, David, for your answer, which has a therapeutic effect.

Otherwise i was launching my prod code  from Emacs ESS  jas as Janice
suggested.


On Sat, Apr 2, 2011 at 2:27 PM, David Winsemius dwinsem...@comcast.net wrote:

 On Apr 2, 2011, at 4:21 AM, stan zimine wrote:

 Hi.
 Googled but did not found the answer for the following little issue.

 how to force R gui  on windows (maybe a specific setting)  to always
 show the last line of output in the window console.


 My program in R makes measurements every 5 mins in indefinite loop and
 prints  results in the console.

 The problem:  last messages are not visible,  The scrolling bar of the
 gui console  gets shorter. I.e.  you have to scroll for the last
 messages.

 Thanks if anybody knows the sol to this prob.

 You may want to add flush.console() to the code.

 --

 David Winsemius, MD
 West Hartford, CT



__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R gui on windows how to force to always show the last line of output

2011-04-03 Thread lcn
CTRL+L helps.

2011/4/2 stan zimine szim...@gmail.com

 Hi.
 Googled but did not found the answer for the following little issue.

 how to force R gui  on windows (maybe a specific setting)  to always
 show the last line of output in the window console.


 My program in R makes measurements every 5 mins in indefinite loop and
  prints  results in the console.

 The problem:  last messages are not visible,  The scrolling bar of the
 gui console  gets shorter. I.e.  you have to scroll for the last
 messages.

 Thanks if anybody knows the sol to this prob.

 SZ

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R gui on windows how to force to always show the last line of output

2011-04-03 Thread wulei wong
i wonder why you want to change R but not your program itself, you just
print the last sentence is ok?

wuleiwong
statistic@CSU

On 03-Apr-2011 9:06 PM, lcn lcn...@gmail.com wrote:

CTRL+L helps.

2011/4/2 stan zimine szim...@gmail.com

 Hi.
 Googled but did not found the answer for the following little issue.

 how to force R gui  on windows (maybe a specific setting)  to always
 show the last line of output in the window console.


 My program in R makes measurements every 5 mins in indefinite loop and
  prints  results in the console.

 The problem:  last messages are not visible,  The scrolling bar of the
 gui console  gets shorter. I.e.  you have to scroll for the last
 messages.

 Thanks if anybody knows the sol to this prob.

 SZ

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.


   [[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R gui on windows how to force to always show the last line of output

2011-04-02 Thread stan zimine
Hi.
Googled but did not found the answer for the following little issue.

how to force R gui  on windows (maybe a specific setting)  to always
show the last line of output in the window console.


My program in R makes measurements every 5 mins in indefinite loop and
 prints  results in the console.

The problem:  last messages are not visible,  The scrolling bar of the
gui console  gets shorter. I.e.  you have to scroll for the last
messages.

Thanks if anybody knows the sol to this prob.

SZ

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R gui on windows how to force to always show the last line of output

2011-04-02 Thread Jannis
If I were you, I would use another GUI. The standart GUI (to mee) seems 
to be very basic and lacks many handy features (e.g. autosave etc). I am 
not sure which GUI does what you want, but just try a few (list is 
sorted from intuitive to more complicated):


-RStudio (still in Beta but very nive)
-TinnR
-Rkward
-Emacs -ESS (I am quite sure that this one does what you want)
-Eclipse - StatET


Just try a few

Jannis

On 04/02/2011 10:21 AM, stan zimine wrote:

Hi.
Googled but did not found the answer for the following little issue.

how to force R gui  on windows (maybe a specific setting)  to always
show the last line of output in the window console.


My program in R makes measurements every 5 mins in indefinite loop and
  prints  results in the console.

The problem:  last messages are not visible,  The scrolling bar of the
gui console  gets shorter. I.e.  you have to scroll for the last
messages.

Thanks if anybody knows the sol to this prob.

SZ

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R gui on windows how to force to always show the last line of output

2011-04-02 Thread David Winsemius


On Apr 2, 2011, at 4:21 AM, stan zimine wrote:


Hi.
Googled but did not found the answer for the following little issue.

how to force R gui  on windows (maybe a specific setting)  to always
show the last line of output in the window console.


My program in R makes measurements every 5 mins in indefinite loop and
prints  results in the console.

The problem:  last messages are not visible,  The scrolling bar of the
gui console  gets shorter. I.e.  you have to scroll for the last
messages.

Thanks if anybody knows the sol to this prob.


You may want to add flush.console() to the code.

--

David Winsemius, MD
West Hartford, CT

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R gui problem for windows

2011-03-23 Thread Feng Li
Dear R,

I rare use the standard R-gui on Windows. Yesterday I tried the latest
stable release on Windows 7 and XP and found one thing interesting. Assume
currently I am running R code, say

 example(plot)

Then I click the close window button on the R main window. R asks me to
save workspace image or not. Then I click cancel. I suspect that my
program example(plot) should continue but it is interrupted eventually.

I would like to know the mechanism behind this and wonder whether this can
be improved or not. It is a minor problem but I believe it can be very
convenient for the window users especially when they are running time
consuming simulations. What do you think?


Best,

Feng

-- 
Feng Li
Department of Statistics
Stockholm University
106 91 Stockholm, Sweden
http://feng.li/

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R gui problem for windows

2011-03-23 Thread Prof Brian Ripley

On Wed, 23 Mar 2011, Feng Li wrote:


Dear R,

I rare use the standard R-gui on Windows. Yesterday I tried the latest
stable release on Windows 7 and XP and found one thing interesting. Assume


You were asked in the posting guide (which clearly you have ignored as 
you sent HTML) to be accurate about your version information.  We 
don't describe any version as 'latest stable'.



currently I am running R code, say


example(plot)


Then I click the close window button on the R main window. R asks me to
save workspace image or not. Then I click cancel. I suspect that my
program example(plot) should continue but it is interrupted eventually.

I would like to know the mechanism behind this and wonder whether this can
be improved or not. It is a minor problem but I believe it can be very
convenient for the window users especially when they are running time
consuming simulations. What do you think?


How to run batch jobs on Windows is documented in the rw-FAQ (which 
the posting guide pointed you to).  Rgui (sic) is not intended for 
batch jobs, and like all other Windows GUIs I have ever seen, closing 
the main windows terminates the process.





Best,

Feng

--
Feng Li
Department of Statistics
Stockholm University
106 91 Stockholm, Sweden
http://feng.li/

[[alternative HTML version deleted]]



PLEASE do read the posting guide http://www.R-project.org/posting-guide.html


That does mean you 

--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R gui problem for windows

2011-03-23 Thread Feng Li
Thank you for spending time to point me to the posting guide. I
apology for the unclear statement for the R version. It is 32bit
2.12.2.

I love computer programs because I can always undo  what I did
before. For example I did not intend to close the program but I hit
the mouse by mistake. Then I thought the cancel command can help me.
And a lot programs have this option, so does R gui for windows.

What I found in R gui is that the click even terminates the running
task first  and then asks for saving image. But if the user regrets
what he did, it it too late to go back to the running task. I though
maybe it is possible to put a top layer to check if the user clicked
cancel, then do nothing, otherwise, do as usual did. I know how to
run R in a batched mode and all I said is based on user experience
point of view. A good user experience will let more people love R.



That is all my concern. Have a good day!

Feng

On Wed, Mar 23, 2011 at 11:30 AM, Prof Brian Ripley
rip...@stats.ox.ac.uk wrote:

 On Wed, 23 Mar 2011, Feng Li wrote:

 Dear R,

 I rare use the standard R-gui on Windows. Yesterday I tried the latest
 stable release on Windows 7 and XP and found one thing interesting. Assume

 You were asked in the posting guide (which clearly you have ignored as you 
 sent HTML) to be accurate about your version information.  We don't describe 
 any version as 'latest stable'.

 currently I am running R code, say

 example(plot)

 Then I click the close window button on the R main window. R asks me to
 save workspace image or not. Then I click cancel. I suspect that my
 program example(plot) should continue but it is interrupted eventually.

 I would like to know the mechanism behind this and wonder whether this can
 be improved or not. It is a minor problem but I believe it can be very
 convenient for the window users especially when they are running time
 consuming simulations. What do you think?

 How to run batch jobs on Windows is documented in the rw-FAQ (which the 
 posting guide pointed you to).  Rgui (sic) is not intended for batch jobs, 
 and like all other Windows GUIs I have ever seen, closing the main windows 
 terminates the process.



 Best,

 Feng

 --
 Feng Li
 Department of Statistics
 Stockholm University
 106 91 Stockholm, Sweden
 http://feng.li/

        [[alternative HTML version deleted]]

 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

 That does mean you 

 --
 Brian D. Ripley,                  rip...@stats.ox.ac.uk
 Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
 University of Oxford,             Tel:  +44 1865 272861 (self)
 1 South Parks Road,                     +44 1865 272866 (PA)
 Oxford OX1 3TG, UK                Fax:  +44 1865 272595



--
Feng Li
Department of Statistics
Stockholm University
106 91 Stockholm, Sweden
http://feng.li/

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI using traitr to display multiple data

2010-05-20 Thread Amitoj S. Chopra

Hello to everyone.

I am constructing a GUI table using traitr with multiple buttons that
respond to different codes. Such as I am doing titration of a protein, and I
want the script to run and then the end to be displayed in a window. The
window will have a button for data and graphs, where when you click on the
data button the data will be displayed and when you click on the graph
button the graphs will be displayed. Do you know how to set up different
buttons with functions using the traitr GUI for R? Thanks!
-- 
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-using-traitr-to-display-multiple-data-tp2225477p2225477.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI using traitr to display multiple data

2010-05-20 Thread j verzani
Amitoj S. Chopra amitojc at gmail.com writes:

 
 
 Hello to everyone.
 
 I am constructing a GUI table using traitr with multiple buttons that
 respond to different codes. Such as I am doing titration of a protein, and I
 want the script to run and then the end to be displayed in a window. The
 window will have a button for data and graphs, where when you click on the
 data button the data will be displayed and when you click on the graph
 button the graphs will be displayed. Do you know how to set up different
 buttons with functions using the traitr GUI for R? Thanks!

There are two ways. You can use a buttonItem or to add a button to a dialog,
just use the buttons property and define a handler. Here are both in an example:


dlg - aDialog(items=list(a = buttonItem(click me, show_label=FALSE,
action=function(.,...) print(clicked))
 ),
   buttons=c(OK,Cancel,Help,Some other),
   Someother_handler=function(.) print(some other button))
dlg$make_gui()

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI

2010-04-27 Thread Amitoj S. Chopra

Hey do you know a good guide for traitr to learn from? Is this okay? Ive been
trying it but it is difficult for me to learn. Thanks.

Amitoj

http://cran.r-project.org/web/packages/traitr/vignettes/traitr.pdf
-- 
View this message in context: 
http://r.789695.n4.nabble.com/R-GUI-tp1837662p2068626.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI

2010-04-12 Thread Amitoj S. Chopra

I am really new with R Graphical user interfacefunctions. I am developing a
software package to calculate pKa (biochemistry) but I want to make it look
aesthetically pleasing and make it user friendly. I have heard that R has
some GUI (Graphical user interface) and you can do some really cool stuff
out there. What are the limitations and what are some resources for help. I
have found a couple of sources but I was wondering someone with more
experience in the subject can guide me. Thanks!
-- 
View this message in context: http://n4.nabble.com/R-GUI-tp1837662p1837662.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI

2010-04-12 Thread Khanh Nguyen
I have toyed with 'traitr' recently... It is not fancy, but relatively
easy to figure out.

-k

On Mon, Apr 12, 2010 at 4:00 PM, Amitoj S. Chopra amit...@gmail.com wrote:

 I am really new with R Graphical user interfacefunctions. I am developing a
 software package to calculate pKa (biochemistry) but I want to make it look
 aesthetically pleasing and make it user friendly. I have heard that R has
 some GUI (Graphical user interface) and you can do some really cool stuff
 out there. What are the limitations and what are some resources for help. I
 have found a couple of sources but I was wondering someone with more
 experience in the subject can guide me. Thanks!
 --
 View this message in context: 
 http://n4.nabble.com/R-GUI-tp1837662p1837662.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI

2010-04-12 Thread Vojtěch Zeisek
Dne Po 12. dubna 2010 22:00:21 Amitoj S. Chopra napsal(a):
 I am really new with R Graphical user interfacefunctions. I am developing a
 software package to calculate pKa (biochemistry) but I want to make it look
 aesthetically pleasing and make it user friendly. I have heard that R has
 some GUI (Graphical user interface) and you can do some really cool stuff
 out there. What are the limitations and what are some resources for help. I
 have found a couple of sources but I was wondering someone with more
 experience in the subject can guide me. Thanks!

Hello,
especially if You are Linux / Unix user, You can use Rkward GUI 
(http://rkward.sourceforge.net/). It is written using KDE libraries 
(http://www.kde.org/) using Nokia Qt (http://qt.nokia.com/) - it is powerful 
multiplatform developer tool. Tons of programs are written in it. Although I'm 
not developer, I'd recommend it. Another way is to write it in Java (I do not 
like the language), which is very popular and nice looking language :-) or in 
scripting languages lake Python (excellent tool) or Perl, which are usable on 
all platforms and have a lot of supporting libraries and functions.
I hope it helps little bit. :-)
Best regards,
Vojtěch Zeisek

-- 
Vojtěch Zeisek

Komunita openSUSE GNU/Linuxu /
Community of the openSUSE GNU/Linux

http://www.opensuse.org/
http://web.natur.cuni.cz/~zeisek/


signature.asc
Description: This is a digitally signed message part.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI

2010-04-12 Thread Tengfei Yin
Hi

I like gWidgets, you can choose different api, like rgtk2,
tcltkeasy to use in R, looks pretty(at least for me), try the
examples in the website first, the link below is the answers with
tutorial links, you can also check gWidgets vignette.

https://stat.ethz.ch/pipermail/r-sig-gui/2008-August/000831.html

Regards

Tengfei


On Mon, Apr 12, 2010 at 3:00 PM, Amitoj S. Chopra amit...@gmail.com wrote:


 I am really new with R Graphical user interfacefunctions. I am developing a
 software package to calculate pKa (biochemistry) but I want to make it look
 aesthetically pleasing and make it user friendly. I have heard that R has
 some GUI (Graphical user interface) and you can do some really cool stuff
 out there. What are the limitations and what are some resources for help. I
 have found a couple of sources but I was wondering someone with more
 experience in the subject can guide me. Thanks!
 --
 View this message in context:
 http://n4.nabble.com/R-GUI-tp1837662p1837662.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.




-- 
Tengfei Yin
MCDB PhD student
1620 Howe Hall, 2274,
Iowa State University
Ames, IA,50011-2274
Homepage: www.tengfei.name
English Blog: www.tengfei.name/en
Chinese Blog: www.tengfei.name/ch

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI page on the wiki (was: Re: .... running JGR on a Linux/SuSE system)

2009-08-03 Thread Romain Francois

Hi,

I've started the process of moving the page R gui page [1] to the R wiki 
[2].


The idea is that instead of being Philippe Grosjean's burden to update 
the static page, it becomes a collaborative exercize. So that it can be 
more up to date and can also contain things as use case, feature 
comparison, 


Can I suggest that you create a page about rkward here:
http://wiki.r-project.org/rwiki/doku.php?id=guis:guis:rkward
and ess here:
http://wiki.r-project.org/rwiki/doku.php?id=guis:guis:ess

Romain

[1] http://www.sciviews.org/_rgui/
[2] http://wiki.r-project.org/rwiki/doku.php?id=guis:guis


On 08/03/2009 10:27 AM, Stefan Grosse wrote:

Martin Maechler wrote:

But there are quite a few others (I do not really know from
personal experience), see, e.g.,
all the projects (listed on the left hand side) of
 http://www.r-project.org/GUI




I personally can recommend rkward which is now available on many
platforms and which is probably a little easier to use than the mighty
emacs+ESS.

rkward:
http://sourceforge.net/apps/mediawiki/rkward/index.php?title=Main_Page

Regards
Stefan



--
Romain Francois
Independent R Consultant
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/tlNb : RGG#155, 156 and 157
|- http://tr.im/rw0p : useR! slides
`- http://tr.im/rw0b : RGG#154: demo of atomic functions

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] [R-gui] Tinn-R/Latex output

2008-09-19 Thread Frank E Harrell Jr

Mike Prager wrote:

David Carslaw [EMAIL PROTECTED] wrote:


I find Tinn-R to be an excellent editor for R, but I have one question I
have not been able to answer.
 
I wish to include some R code in Latex.  Using the Edit/Copy formatted

(to export)/TeX does provide Latex-type output.  However, there are lots
of commands such as \RAIdentifier and \RAOperator etc. that would appear
to need either a Latex package to interpret or a list of new commands
that describe font attributes etc.

My question is whether such a package exists, or is the user expected to
define their own commands to interpret them?



David,

I also find Tinn-R an excellent editor for R.

When I include R code in Latex, I use the Latex listings
package. It has a wide variety of settings for pretty-printing R
code and can be customized by the user.  I think that would be
more satisfactory in the long run than inserting Latex codes (or
having an editor insert Latex codes) to mark R language
elements.

HTH

Mike P.



The following is how I set up the listings package usage for R.  If you 
have improvements to this please pass them along. -Frank


\usepackage{listings,relsize}
%Setup for listings package
\lstloadlanguages{R}
\lstset{language=R,basicstyle=\smaller[2],commentstyle=\rmfamily\smaller,
 showstringspaces=false,%
 xleftmargin=4ex,literate={-}{{$\leftarrow$}}1 {~}{{$\sim$}}1}
\lstset{escapeinside={(*}{*)}}   % for (*\ref{ }*) inside lstlistings (S 
code)


--
Frank E Harrell Jr   Professor and Chair   School of Medicine
 Department of Biostatistics   Vanderbilt University

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] [R-gui] Tinn-R/Latex output

2008-09-19 Thread hadley wickham
On Fri, Sep 19, 2008 at 4:05 PM, Frank E Harrell Jr
[EMAIL PROTECTED] wrote:
 Mike Prager wrote:

 David Carslaw [EMAIL PROTECTED] wrote:

 I find Tinn-R to be an excellent editor for R, but I have one question I
 have not been able to answer.
  I wish to include some R code in Latex.  Using the Edit/Copy formatted
 (to export)/TeX does provide Latex-type output.  However, there are lots
 of commands such as \RAIdentifier and \RAOperator etc. that would appear
 to need either a Latex package to interpret or a list of new commands
 that describe font attributes etc.

 My question is whether such a package exists, or is the user expected to
 define their own commands to interpret them?


 David,

 I also find Tinn-R an excellent editor for R.

 When I include R code in Latex, I use the Latex listings
 package. It has a wide variety of settings for pretty-printing R
 code and can be customized by the user.  I think that would be
 more satisfactory in the long run than inserting Latex codes (or
 having an editor insert Latex codes) to mark R language
 elements.

 HTH

 Mike P.


 The following is how I set up the listings package usage for R.  If you have
 improvements to this please pass them along. -Frank

 \usepackage{listings,relsize}
 %Setup for listings package
 \lstloadlanguages{R}
 \lstset{language=R,basicstyle=\smaller[2],commentstyle=\rmfamily\smaller,
  showstringspaces=false,%
  xleftmargin=4ex,literate={-}{{$\leftarrow$}}1 {~}{{$\sim$}}1}
 \lstset{escapeinside={(*}{*)}}   % for (*\ref{ }*) inside lstlistings (S
 code)

I have played around with:

\definecolor{comment}{rgb}{0.60, 0.60, 0.53}
\definecolor{background}{rgb}{0.97, 0.97, 1.00}
\definecolor{string}{rgb}{0.863, 0.066, 0.266}
\definecolor{number}{rgb}{0.0, 0.6, 0.6}
\definecolor{variable}{rgb}{0.00, 0.52, 0.70}
\lstset{
  basicstyle=\ttfamily,
  keywordstyle=\bfseries,
  identifierstyle=,
  commentstyle=\color{comment} \itshape,
  stringstyle=, %\color{string}
  showstringspaces=false,
  columns = fullflexible,
  backgroundcolor=\color{background},
  mathescape = true,
  escapeinside=,
  fancyvrb
}

Hadley


-- 
http://had.co.nz/

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] [R-gui] Tinn-R/Latex output

2008-09-19 Thread Frank E Harrell Jr

hadley wickham wrote:

On Fri, Sep 19, 2008 at 4:05 PM, Frank E Harrell Jr
[EMAIL PROTECTED] wrote:

Mike Prager wrote:

David Carslaw [EMAIL PROTECTED] wrote:


I find Tinn-R to be an excellent editor for R, but I have one question I
have not been able to answer.
 I wish to include some R code in Latex.  Using the Edit/Copy formatted
(to export)/TeX does provide Latex-type output.  However, there are lots
of commands such as \RAIdentifier and \RAOperator etc. that would appear
to need either a Latex package to interpret or a list of new commands
that describe font attributes etc.

My question is whether such a package exists, or is the user expected to
define their own commands to interpret them?


David,

I also find Tinn-R an excellent editor for R.

When I include R code in Latex, I use the Latex listings
package. It has a wide variety of settings for pretty-printing R
code and can be customized by the user.  I think that would be
more satisfactory in the long run than inserting Latex codes (or
having an editor insert Latex codes) to mark R language
elements.

HTH

Mike P.


The following is how I set up the listings package usage for R.  If you have
improvements to this please pass them along. -Frank

\usepackage{listings,relsize}
%Setup for listings package
\lstloadlanguages{R}
\lstset{language=R,basicstyle=\smaller[2],commentstyle=\rmfamily\smaller,
 showstringspaces=false,%
 xleftmargin=4ex,literate={-}{{$\leftarrow$}}1 {~}{{$\sim$}}1}
\lstset{escapeinside={(*}{*)}}   % for (*\ref{ }*) inside lstlistings (S
code)


I have played around with:

\definecolor{comment}{rgb}{0.60, 0.60, 0.53}
\definecolor{background}{rgb}{0.97, 0.97, 1.00}
\definecolor{string}{rgb}{0.863, 0.066, 0.266}
\definecolor{number}{rgb}{0.0, 0.6, 0.6}
\definecolor{variable}{rgb}{0.00, 0.52, 0.70}
\lstset{
  basicstyle=\ttfamily,
  keywordstyle=\bfseries,
  identifierstyle=,
  commentstyle=\color{comment} \itshape,
  stringstyle=, %\color{string}
  showstringspaces=false,
  columns = fullflexible,
  backgroundcolor=\color{background},
  mathescape = true,
  escapeinside=,
  fancyvrb
}

Hadley




Thanks Hadley.  Your specificatins generated a couple of syntax errors 
for me and typeset the code too large but I'd like to play with it and 
I'm glad to have it.


Frank

--
Frank E Harrell Jr   Professor and Chair   School of Medicine
 Department of Biostatistics   Vanderbilt University

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI help

2008-07-30 Thread Tom.O

Hi R gurus
Im currently doing some GUI coding with the rpanel package. I have come
across a very interesting problem, how do I close a panel that I have
created. This sounds silly for I can always click the X up in the right
corner but how do I do it by code?

for example; when I create a control I know the objects name.

test = rp.control()
and test will have this format '.rpanel', but can I call the control
ID and close the object?

Regards Tom

-- 
View this message in context: 
http://www.nabble.com/R-GUI-help-tp18729462p18729462.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI question

2008-03-24 Thread jeffreya

Thanks so much for all the input; I appreciate it.

I think I'll stick with Tcl/Tk for now primarily on the basis of
installation issues. I'm not sure that many of these users would have Java,
so the other alternatives all seemed to add another level of complexity on
to the installation task (again, this is aimed at a very non-computer savvy
audience).

Thanks again for the advice!

Jeff
-- 
View this message in context: 
http://www.nabble.com/R-GUI-question-tp16149624p16262820.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI question

2008-03-19 Thread jeffreya

Hi.

I'm looking to create a user-friendly program built around some R methods
I've written. The program should be as easy to install and use as possible
and will be built around a GUI. This program will be cross-platform; that's
crucial.

I'm familiar with Java and its GUI packages, I've been looking at the JRI
package (interfaces R with Java) but I'm a little uneasy about asking my
users to go through its installation (necessitates mingw, among other
things, in Windows). Though, once installed, it could work very well.

I have a little exposure to Tcl/TK. Though I'm not as big of a fan of this
as I am of Java, I could suck it up and use it, but I'm not sure that its
installation is a whole lot simpler?

What, in your experience, is the easiest way to accomplish something like
this?

To recapitulate, my criteria are:
1.) Easy installation
2.) Ease of use (GUI)
3.) Interface with functions written in R
4.) Cross-platform

I'm willing to learn a new language (scripting or otherwise) if necessary.

Thanks so much.
-- 
View this message in context: 
http://www.nabble.com/R-GUI-question-tp16149624p16149624.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI question

2008-03-19 Thread Gabor Csardi
On Wed, Mar 19, 2008 at 12:56:13PM -0700, jeffreya wrote:
 
 Hi.
 
 I'm looking to create a user-friendly program built around some R methods
 I've written. The program should be as easy to install and use as possible
 and will be built around a GUI. This program will be cross-platform; that's
 crucial.
 
 I'm familiar with Java and its GUI packages, I've been looking at the JRI
 package (interfaces R with Java) but I'm a little uneasy about asking my
 users to go through its installation (necessitates mingw, among other
 things, in Windows). Though, once installed, it could work very well.
 
 I have a little exposure to Tcl/TK. Though I'm not as big of a fan of this
 as I am of Java, I could suck it up and use it, but I'm not sure that its
 installation is a whole lot simpler?

Should be. It comes with R. I believe that it is still the only
cross-platform solution that requires nothing, but the base 
R installation.

 What, in your experience, is the easiest way to accomplish something like
 this?
 
 To recapitulate, my criteria are:
 1.) Easy installation

Tcl/Tk wins here, IMHO.

 2.) Ease of use (GUI)

Tcl/Tk is not the most modern GUI, so it might be a little
clumsy. 

 3.) Interface with functions written in R

That's no problem for any of the R GUI options, i believe.

 4.) Cross-platform

Tcl/Tk is.

Furthermore, Tcl/Tk is quite poorly documented, even 
if you can usually use its normal (not R) documentation.
Sometimes it is hard to find the right way of doing things.

Gabor

 I'm willing to learn a new language (scripting or otherwise) if necessary.
 
 Thanks so much.
 -- 
 View this message in context: 
 http://www.nabble.com/R-GUI-question-tp16149624p16149624.html
 Sent from the R help mailing list archive at Nabble.com.
 
 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.

-- 
Csardi Gabor [EMAIL PROTECTED]UNIL DGM

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI question

2008-03-19 Thread Richard M. Heiberger
Look at Rcmdr as the base for your additional menu functions.
I am using it for my introductory courses and have added my own menu items.
From CRAN, download and install Rcmdr and read it's documentation.
Also from CRAN you can download and install my addin library RcmdrPlugin.HH
The latter will show how easy it is to add additional functions to
the Rcmdr menu.

Rich

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] R GUI installation on Linux/SuSE 10.3

2008-02-07 Thread Maura E Monville
After a long sufferance  I had succeeded in installing R GUI on my
Linux/SuSE system. It worked fine.
Unluckily a system upgrade patch messed up my monitor so I had to reinstall
SuSE 10.3 and every other application on top of it.
I have R running back with text interface. I tried to get the nice R GUI  up
 running again. I followed all the steps to reinstall the R GUI but this
time I get a list of errors that I cannot remember seeing on my previous
installation. In the following I have pasted the main steps and messages.
Any suggestion how to solve this installation problem is welcome.

Thank you in advance,
Maura



[EMAIL PROTECTED]:~ su
Password:
linux-Ciccia:/home/mauede # R CMD javareconf

Updating Java configuration in /usr/local/lib64/R
Done.

linux-Ciccia:/home/mauede # export LIBXCB_ALLOW_SLOPPY_LOCK=true

linux-Ciccia:/home/mauede # R

R version 2.6.1 (2007-11-26)
 install.packages(JGR,dep=TRUE)
--- Please select a CRAN mirror for use in this session ---
CRAN mirror/usr/local/lib64/R/library
* Installing *source* package 'JGR' ...
** R
** inst
** help
  Building/Updating help pages for package 'JGR'
 Formats: text html latex example
  jgr.addMenu   texthtmllatex   example
  jgr.addMenuItem   texthtmllatex   example
  jgr.addMenuSeperator  texthtmllatex   example
  supplements   texthtmllatex
** building package indices ...
* DONE (JGR)

The downloaded packages are in
/tmp/RtmpjUwDCp/downloaded_packages
Updating HTML index of packages in '.Library'
 library(JGR)
Loading required package: rJava
Loading required package: JavaGD
Loading required package: iplots
libxcb: WARNING! Program tries to unlock a connection without having
acquired
a lock first, which indicates a programming error.
There will be no further warnings about this issue.
libxcb: WARNING! Program tries to lock an already locked connection,
which indicates a programming error.
There will be no further warnings about this issue.

Please use the corresponding JGR launcher to start JGR.
Run JGR() for details. You can also use JGR(update=TRUE) to update JGR.
 JGR()
Starting JGR run script. This can be done from the shell as well, just run
 /usr/local/lib64/R/library/JGR/scripts/run

 Exception in thread main java.lang.NoClassDefFoundError:
org/rosuda/JRI/RMainLoopCallbacks
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(
SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at RJavaClassLoader.findClass(RJavaClassLoader.java:137)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod(Class.java:1603)
at RJavaClassLoader.bootClass(RJavaClassLoader.java:289)
at RJavaClassLoader.main(RJavaClassLoader.java:326)
Caused by: java.lang.ClassNotFoundException
at RJavaClassLoader.findClass(RJavaClassLoader.java:195)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 18 more

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R GUI for Linux

2007-11-06 Thread ecatchpole
Maura,

The workaround from https://bugzilla.novell.com/show_bug.cgi?id=330991 
seems to fix this for most people (but not me): just add

export LIBXCB_ALLOW_SLOPPY_LOCK=1

to your ~/.profile file (or to /etc/profile to make it available for all users).

Ted.




Maura E Monville wrote on 11/03/2007 04:35 AM:
 Thank you .
 I followed all the path on my installation. I got the following:
 [EMAIL PROTECTED]:/usr/lib/jvm/java-1.6.0.u3-sun-1.6.0.u3/jre/lib/i386 ll
 total 636
 -rwxr-xr-x 1 root root  80594 2007-09-25 01:10 libjavaplugin_jni.so
 -rwxr-xr-x 1 root root 297535 2007-09-25 01:10 libjavaplugin_nscp_gcc29.so
 -rwxr-xr-x 1 root root 257071 2007-09-25 01:10 libjavaplugin_nscp.so

 I do not have xawt/libmawt.so as you can see from the above.
 I do not know what that is.
 I run Linux/SuSE 10.3



 On 10/31/07, ecatchpole [EMAIL PROTECTED] wrote:
   
 This is a known problem with Suse10.3 --- lots of things that use Java
 (e.g., Matlab) produce the same error message.  I'm currently trying to
 fix this upon my machine, but haven't succeeded yet.  Josh Triplett
 (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373) suggested
 the following:

 ---begin---
 I worked with jcristau and christoph4 via IRC on #debian-x, and we
 managed to
 track down the problem with broken locking in Sun Java 1.5 and 1.6.  It
 only
 occurs if Java finds the Xinerama extension, at which point it does
 something
 broken with locking and triggers the assertion.  If Java never finds the
 Xinerama extension, it doesn't trigger the assertion for broken locking.

 The following workarounds address this problem:

 For sun-java5-bin:
 sed -i 's/XINERAMA/FAKEEXTN/g'
 /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/xawt/libmawt.so
 ---end---

 You need to modify the path for your jre.  This seems to have helped
 several people.  But it didn't work for me.

 A sure fix is going back to Suse10.2!  :(

 Ted.

 --
 Dr E.A. Catchpole
 Visiting Fellow
 Univ of New South Wales at ADFA, Canberra, Australia
 _ and University of Kent, Canterbury, England
'v'- 
 www.pems.adfa.edu.au/~ecatchpolehttp://www.pems.adfa.edu.au/%7Eecatchpole
   /   \   - fax: +61 2 6268 8786
m m- ph:  +61 2 6268 8895




 Maura E Monville wrote on 11/01/2007 09:43 AM:
 
 I have downloaded and tried to install JGR - Java GUI for R - Version
   
 1.5.
 
 I followed all the instructions (at least in my best resolution) and
 installed Java latest version.
 R installation complete fine.
 Has anyone succeded in installing JGR on SuSE 10.3 ?
 In the following I hade detailed the failed installation,

 As root /i did the following:
 linux-Mimin:/usr/local/bin # ./R

 R version 2.6.0 (2007-10-03)
 Copyright (C) 2007 The R Foundation for Statistical Computing
 ISBN 3-900051-07-0

 R is free software and comes with ABSOLUTELY NO WARRANTY.
 You are welcome to redistribute it under certain conditions.
 Type 'license()' or 'licence()' for distribution details.

   Natural language support but running in an English locale

 R is a collaborative project with many contributors.
 Type 'contributors()' for more information and
 'citation()' on how to cite R or R packages in publications.

 Type 'demo()' for some demos, 'help()' for on-line help, or
 'help.start()' for an HTML browser interface to help.
 Type 'q()' to quit R.


   
 install.packages (JGR,dep=TRUE)

 
 --- Please select a CRAN mirror for use in this session ---
 CRAN mirror

  1: Argentina   2: Australia (QLD)
  3: Australia (VIC) 4: Austria
  5: Belgium 6: Brazil (PR)
  7: Brazil (MG) 8: Brazil (RJ)
  9: Brazil (SP 1)  10: Brazil (SP 2)
 11: Canada (BC)12: Canada (ON)
 13: Chile (Santiago)   14: Croatia
 15: Czech Republic 16: Denmark
 17: France (Toulouse)  18: France (Lyon)
 19: France (Paris) 20: Germany (Bamberg)
 21: Germany (Mainz)22: Germany (Muenchen)
 23: India (Kolkata)24: India
 25: Ireland26: Italy (Ferrara)
 27: Italy (Milano) 28: Italy (Padua)
 29: Italy (Palermo)30: Japan (Aizu)
 31: Japan (Tokyo)  32: Japan (Tsukuba)
 33: Korea  34: Netherlands (Amsterdam 2)
 35: Netherlands (Amsterdam)36: Netherlands (Utrecht)
 37: Norway 38: Poland (Lublin)
 39: Poland (Wroclaw)   40: Portugal
 41: Slovenia (Ljubljana)   42: South Africa
 43: Spain (Madrid) 44: Sweden
 45: Switzerland (Zuerich)  46: Switzerland (Bern)
 47: Taiwan (Taichung)  48: Taiwan (Taipeh)
 49: UK (Bristol)   50: UK (London)
 51: USA (CA 1) 52: USA (CA 3)
 53: USA (CA 2) 54: USA (IA)
 55: USA (IL)   56: USA (MI)
 57: USA (MO)   58: USA (NC)
 59: USA (PA 2) 60: USA (PA)
 61: USA (TX)   62: USA (WA)


 

Re: [R] R GUI for Linux

2007-11-01 Thread Edward Catchpole
This is a reported bug in Suse10.3. It is described in 
https://bugzilla.novell.com/show_bug.cgi?id=330991, where it is listed as a 
major, but unresolved, bug. It has been like that for at least a week . . . :(

Ted.

Dr EA Catchpole
Visiting Fellow
[EMAIL PROTECTED] and Univ of Kent



-Original Message-
From: [EMAIL PROTECTED] on behalf of ecatchpole
Sent: Thu 2007-11-01 14:48
To: Maura E Monville
Cc: [EMAIL PROTECTED]
Subject: Re: [R] R GUI for Linux
 
This is a known problem with Suse10.3 --- lots of things that use Java 
(e.g., Matlab) produce the same error message.  I'm currently trying to 
fix this upon my machine, but haven't succeeded yet.  Josh Triplett 
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373) suggested 
the following:

---begin---
I worked with jcristau and christoph4 via IRC on #debian-x, and we 
managed to
track down the problem with broken locking in Sun Java 1.5 and 1.6.  It only
occurs if Java finds the Xinerama extension, at which point it does 
something
broken with locking and triggers the assertion.  If Java never finds the
Xinerama extension, it doesn't trigger the assertion for broken locking.

The following workarounds address this problem:

For sun-java5-bin:
sed -i 's/XINERAMA/FAKEEXTN/g' 
/usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/xawt/libmawt.so
---end---

You need to modify the path for your jre.  This seems to have helped 
several people.  But it didn't work for me.

A sure fix is going back to Suse10.2!  :(

Ted.

-- 
 Dr E.A. Catchpole  
 Visiting Fellow
 Univ of New South Wales at ADFA, Canberra, Australia
_ and University of Kent, Canterbury, England
   'v'- www.pems.adfa.edu.au/~ecatchpole  
  /   \   - fax: +61 2 6268 8786   
   m m- ph:  +61 2 6268 8895 




Maura E Monville wrote on 11/01/2007 09:43 AM:
 I have downloaded and tried to install JGR - Java GUI for R - Version 1.5.
 I followed all the instructions (at least in my best resolution) and
 installed Java latest version.
 R installation complete fine.
 Has anyone succeded in installing JGR on SuSE 10.3 ?
 In the following I hade detailed the failed installation,
snip
 library(JGR)
 
 Loading required package: rJava
 Loading required package: JavaGD
 Loading required package: iplots
 R: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c-xlib.lock' failed.
 Aborted


 Thank you in advance


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.