[R] Default Working directory on windows 7?

2011-01-04 Thread W Eryk Wolski
Hi,

Just installed R on a new Windows 7 machine (as admin).


I feel quite uncomfortable knowing that the default WD when starting R is:

 getwd()
[1] C:/Windows/system32



I guess I did something wrong when installing R... How to change R's
default working directory?

regards

Eryk

__
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] RGTK2 - Entry Point not found

2010-10-28 Thread W Eryk Wolski
I have a  problem loading RGtk2

Platform:
Windows XP
R 2.11.1

In the popup window I get:

The procedure entry point cairo_clip_extends could not be located in
the dynamic link library libcairo-2.dll

and in the R command:

Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared library
'C:/PROGRA~1/R/R-211~1.1/library/RGtk2/libs/RGtk2.dll':
  LoadLibrary failure:  The specified procedure could not be found.

Eryk

__
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] RGTK2 - Entry Point not found

2010-10-28 Thread W Eryk Wolski
I have a  problem loading RGtk2

Platform:
Windows XP
R 2.11.1

In the popup window I get:

The procedure entry point cairo_clip_extends could not be located in
the dynamic link library libcairo-2.dll

and in the R command:

Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared library
'C:/PROGRA~1/R/R-211~1.1/library/RGtk2/libs/RGtk2.dll':
  LoadLibrary failure:  The specified procedure could not be found.

Eryk

__
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] RGTK2 - Entry Point not found

2010-10-28 Thread W Eryk Wolski
Failed to load RGtk2 dynamic library, attempting to install it.
trying URL 'http://downloads.sourceforge.net/gladewin32/gtk-2.12.9-win32-2.exe'
Content type 'application/x-msdownload' length 7378984 bytes (7.0 Mb)

I run the complete setup of GTK .
Hence, I assume Version 2.12.9 is installed on my box.

My path variable starts with:
%GTK_BASEPATH%\bin;


Any other ideas?



2010/10/28 Łukasz Ręcławowicz lukasz.reclawow...@gmail.com:
 The stable version of RGtk2 requires GTK version 2.8.0 or higher (and its
 dependencies).

 --
 Miłego dnia








-- 
Witold Eryk Wolski

Heidmark str 5
D-28329 Bremen
tel.: 04215261837

__
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] image plot but data not on grid.

2010-08-09 Thread W Eryk Wolski
qplot does (?) what I was looking for!
At least it plots what I want to plot in the interactive modus.
However, it seems not to work with Sweave.

Thanks



On 7 August 2010 16:15, Michael Bedward michael.bedw...@gmail.com wrote:
 If it's regular, but incomplete, that method will work.  If it's
 irregular, then no image method will work without first interpolating
 a regular grid.

 Thanks Hadley. As I suspected,  but ggplot2 is so very clever that I
 thought it was worth asking :)

 Michael

 __
 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.




-- 
Witold Eryk Wolski

Heidmark str 5
D-28329 Bremen
tel.: 04215261837

__
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] ESS question. How to get rid of ess-smart-underscore?

2010-08-09 Thread W Eryk Wolski
Hi,

ESS replaces _ by -. How can I switch off this feature?

 I need to be able to type the underscore

Thanks
Eryk

-- 
Witold Eryk Wolski

Heidmark str 5
D-28329 Bremen
tel.: 04215261837

__
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] image plot but data not on grid.

2010-08-06 Thread W Eryk Wolski
Hi,

Would like to make an image
however the values in z are not on an uniform grid.

Have a dataset with
length(x) == length(y) == length(z)
x[1],y[1] gives the position of z[1]

and would like to encode value of z by a color.

looking for something like
plot(x,y, col = z)
where col for z is cleverly chosen from a colorscale.

Hope I made clear what I am looking for.

Thanks
Eryk

__
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] Using R CMD Batch similarly to gnuplot pause mouse

2009-08-24 Thread W Eryk Wolski
I have a gnuplot script:

plot 'gp.dat' using 1:2 with line
pause mouse

and would like to have R CMD BATCH script that works similarily...

x-read.table(gp.dat)
options(device=windows)
plot(x[,1],x[,2])


what I am looking for now is an R functions which behaves like pause mouse
in gnuplot, i.e.

pause - command displays any text associated with the command and then waits
a specified amount of time or until the carriage return is pressed.
If the current terminal supports mousing, then pause mouse will terminate on
either a mouse click or on ctrl-C.


Thanks in advance


-- 
Witold Eryk Wolski

Heidmark str 5
D-28329 Bremen
tel.: 04215261837
www.brementango.de

[[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] factors levels ?

2007-11-13 Thread W Eryk Wolski
Hi,

It's just some example code.. The application is uninteresting. I am
searching for some functionality.

X - rnorm(100) //my data

Y - seq(-3,3,by=0.1) // bin boundaries.

Now I would like to generate a - list of factors,  length as X...
i.e.: all values in the range [-3,-2.9) have the same factor... [-3,-2.9) etc.

I would assume R has such a function but I cant recall which one it is.


-- 
W. Eryk Wolski

__
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] factors levels ?

2007-11-13 Thread W Eryk Wolski
Thanks...

Thats exactly what I was looking for..

Eryk

On Nov 13, 2007 2:38 PM, Eik Vettorazzi [EMAIL PROTECTED] wrote:
 cut(X,Y,right=F)

 W Eryk Wolski schrieb:

  Hi,
 
  It's just some example code.. The application is uninteresting. I am
  searching for some functionality.
 
  X - rnorm(100) //my data
 
  Y - seq(-3,3,by=0.1) // bin boundaries.
 
  Now I would like to generate a - list of factors,  length as X...
  i.e.: all values in the range [-3,-2.9) have the same factor... [-3,-2.9) 
  etc.
 
  I would assume R has such a function but I cant recall which one it is.
 
 
 

 --
 Eik Vettorazzi
 Institut für Medizinische Biometrie und Epidemiologie
 Universitätsklinikum Hamburg-Eppendorf

 Martinistr. 52
 20246 Hamburg

 T ++49/40/42803-8243
 F ++49/40/42803-7790





-- 
W. Eryk Wolski

www.eltango.co.uk
www.brementango.de

__
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.