Re: [R] RPostgreSQL, RS-DBI error

2014-07-03 Thread Tomas Lanczos
On Thu, 2014-07-03 at 11:09 -0500, John McKown wrote: > On Thu, Jul 3, 2014 at 9:49 AM, Tomas Lanczos wrote: > > > > Hello all, > > > > I have a problem with the connection to a Postgresql database in R. > > At first, some system information: > > Fedor

[R] RPostgreSQL, RS-DBI error

2014-07-03 Thread Tomas Lanczos
Hello all, I have a problem with the connection to a Postgresql database in R. At first, some system information: Fedora 2.0, R 3.1.0 compiled from source, Postgresql 9.2 I installed the RPostgreSQL package in R with all the dependencies also. When I'm trying to connect to the database usin

Re: [R] problems with RPostgreSQL compilation

2012-11-27 Thread Tomas Lanczos
Thank You for Your answer.I have installed libpqxx 4.0.0 and its devel tools also. Regards Tomas On Thu, 2012-11-22 at 19:32 +0900, Pascal Oettli wrote: > Hello, > > Do you have the shared libraries required by PostgreSQL installed on > your machine (libpq)? > > Regards, > Pascal > > Le 22/

[R] problems with RPostgreSQL compilation

2012-11-22 Thread lanczos
Hello, I am trying to install RPostgreSQL, but without success at the moment, getting an errormessage - see below. My OS is Fedora 17, R version 2.15.2, PostgreSQL 9.2.1 with Postgis 2.0.1 spatial extension. Thank You for any help, advice or hint in advance. Regards Tomas > install.packag

Re: [R] Save data as .pdf or .JPG

2010-09-04 Thread lanczos
On Sat, 2010-09-04 at 13:57 -0500, Paul Johnson wrote: On Wed, Sep 1, 2010 at 7:56 AM, khush wrote: > > Hi all , > > > > I have following script to plot some data. > > > > plot( c(1,1100), c(0,15), type='n', xlab='', ylab='', ylim=c(0.1,25) , > > las=2) > > axis (1, at = seq(0,1100,50), l

[R] basic statistics to csv

2009-10-26 Thread lanczos
I know that my question is like a very newbie question, but at the moment I stacked with it and I need a quick solution. I need to make an overall statistical overview of various datasets, the summary() and numSummary() functions are fully sufficient. My question is, how can I export results to a s

[R] different time series in one plot

2009-10-09 Thread Tomas Lanczos
Hello, I need to put 2 or more different time series to one plot for comparison each other. The problem is that the time series are irregular, moreover the time lenghts and periods are not the same. Is there a way to manage it in R? Many thanks for any hint and advice in advance Tomas _

Re: [R] zoo plot: yearly marks on X-Axis

2009-09-13 Thread lanczos
Many thanks, the solution is simple and elegant, as usual ;). R is a great tool, the best I know, unfortunately I need more time to practice ... regards Tomas On Sat, 2009-09-12 at 22:52 -0400, Gabor Grothendieck wrote: > Try this: > > library(zoo) > x <- zoo(rnorm(1:6000), as.Date("1992-11-11"

Re: [R] zoo plot: yearly marks on X-Axis

2009-09-12 Thread lanczos
On Sun, 2009-07-26 at 13:17 +0200, Poersching wrote: > stvienna wiener schrieb: > > Hi all, > > > > I am plotting a financial time series, but I need a more detailed X-Axis. > > > > Example: > > x <- zoo(rnorm(1:6000), as.Date("1992-11-11")+c(1:6000)) > > plot(x) > > > > The X-Axis is labeled "1995

Re: [R] format (?) problems with data imported from postgres

2009-09-11 Thread Tomas Lanczos
Being more specific: On Fri, 2009-09-11 at 17:03 +0200, Tomas Lanczos wrote: > Good day, > > I read some data from a PostgreSQL database by a following script: > > library(Rdbi) > library(RdbiPgSQL) > # conn becomes an object which contains the DB connection: > conn &l

[R] format (?) problems with data imported from postgres

2009-09-11 Thread Tomas Lanczos
Good day, I read some data from a PostgreSQL database by a following script: library(Rdbi) library(RdbiPgSQL) # conn becomes an object which contains the DB connection: conn <- dbConnect(PgSQL(), host="localhost", dbname="BVS", user="postgres", password = "***") query_duj_kal <- dbSendQuery(

[R] yaxp problem for more irregular time series in one plot

2009-07-25 Thread lanczos
Good day, I'm trying to get more time series in one plot. As there are bigger differences in values of variables I need logaritmic y axis. The code I use is the following: nvz_3_data <- read.csv('/home/tomas/R_outputs/nvz_3.csv') date <- (nvz_3_data$date) NO3 <- (nvz_3_data$NO3) NH4 <- (nvz_3_da

Re: [R] Most used R editors

2009-06-02 Thread Tomas Lanczos
On Tue, 2009-06-02 at 07:06 +, Martial Sankar wrote: > Hi, > > I am a little lonely as R users in my group. So, I would like to know which > editor is the most used in the R community. > This post is some kind of survey. > > Personally, I use Emacs with ESS, It permits to : > > - open more

Re: [R] Most used R editors

2009-06-02 Thread Tomas Lanczos
On Tue, 2009-06-02 at 07:06 +, Martial Sankar wrote: > Hi, > > I am a little lonely as R users in my group. So, I would like to know which > editor is the most used in the R community. > This post is some kind of survey. > > Personally, I use Emacs with ESS, It permits to : > > - open more

Re: [R] plot3d - could not find function "xlim"

2008-10-05 Thread Tomas Lanczos
would help if you "read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code." > > Since you did not post your code, I assume that there is an unknown error in > it. > > On Sun, Oct 5,

[R] plot3d - could not find function "xlim"

2008-10-05 Thread Tomas Lanczos
when I tried to apply xlim, ylim, zlim functions to the plot3d/decorate3d, inspite all the help documentation I got this errormessage: ERROR: could not find function "xlim" Is it a bug or possibly my fault? regards tomas __ R-help@r-project.org ma

Re: [R] 3D scatter, groups, RdbiPgSQL...

2008-10-03 Thread Tomas Lanczos
Thank You for Your answer, Duncan, Duncan Murdoch wrote: On 03/10/2008 4:33 AM, Tomas Lanczos wrote: hello, I wish to create some 3d scatter diagrams visualising different grouped data set by a given field in the database. I tried the scatterplot3d package, as well as the plot3d and

[R] 3D scatter, groups, RdbiPgSQL...

2008-10-03 Thread Tomas Lanczos
hello, I wish to create some 3d scatter diagrams visualising different grouped data set by a given field in the database. I tried the scatterplot3d package, as well as the plot3d and scatter3d functions (both within the rgl resp. Rcmdr package). My first question is, whether is it possibe to

Re: [R] How to learn R language?

2008-08-28 Thread Tomas Lanczos
Bert Gunter wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Baer Sent: Wednesday, August 27, 2008 3:42 PM To: r-help@r-project.org Subject: Re: [R] How to learn R language? but I doubt you'll ever be done learning because the project is

Re: [R] problem to load the RGrace package

2008-08-15 Thread Tomas Lanczos
If anybody is interested (maybe not :-)): finally I found a workaround: reinstalling R (in my case building R-devel from source) and then run update.packages(). But what exactly was the problem remain mystery (for me). Have a nice day folks tomas Tomas Lanczos wrote: Hello everybody, it

Re: [R] problem to load the RGrace package

2008-08-12 Thread Tomas Lanczos
is, where exactly the problem is, whether is it a libglade2 library or the libglade belonging to the RGtk2 is not correctly installed... Does have somebody an idea what should I do? tomas Tomas Lanczos wrote: Hello, thank You for Your answer, I have exactly the same package versions. Strange ... to

Re: [R] problem to load the RGrace package

2008-08-08 Thread Tomas Lanczos
-unknown-linux-gnu ... other attached packages: [1] RGrace_0.6-6cairoDevice_2.8 RGtk2_2.12.5-3 On Fri, 8 Aug 2008, Tomas Lanczos wrote: When I am loading the RGrace package I am getting the following errormessage: Loading required package: RGtk2 Loading required package: grid Loading

[R] problem to load the RGrace package

2008-08-08 Thread Tomas Lanczos
When I am loading the RGrace package I am getting the following errormessage: Loading required package: RGtk2 Loading required package: grid Loading required package: cairoDevice Error in figure() : could not find function "gladeXMLNew" Error : .onLoad failed in 'loadNamespace' for 'RGrace' Erro

Re: [R] Trying to run simple survival program in R but does not work

2008-08-07 Thread Tomas Lanczos
Trev101 wrote: Hey, I am just starting to learn R now and I typed in this simple survival program: library(survival) t <- c(10,13,18,19,23,30,36,38,54,56,59,75,93,97,104,107,107,107) c <- c(1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0) data <- Surv(t,c) km <- survfit(data) su

[R] Statistics on raster pictures - asking for an advice

2008-08-06 Thread Tomas Lanczos
Hello, I need to do some basic statistics on raster images (tiff or png). I need only an advice where to start, which package is the most appropriate. My search attempts were without success, yet. Many thanks Tomas __ R-help@r-project.org mailing list

Re: [R] saving plot both as jpg and pdf

2008-07-22 Thread Tomas Lanczos
Just an advice: I recommend use the png device instead of jpeg for plotting purposes, it gives better results for graphs. Jpeg is better for photos. Off course IMHO :-) I wish a nice day Tomas stephen sefick wrote: you have to go in sequence- you are opening a pdf device then a jpeg device

[R] Change legend in the 'hydrogeo' package

2008-07-08 Thread Tomas Lanczos
At first sorry for the possibly dumb question of a newbie. I am using the hydrogeo package to visualize approx. 300 data within the Piper-Hill diagrams. The package is using a dataframe with 6 columns, first of them is containing the row.names, next four with the data itself. The last column c