Re: [R] Problem in installing packages on linux machine...

2007-09-09 Thread Carsten Jaeger
Your problem is not related to missing file permissions but to a problem with the linker (ld). As you can see from the error message, ld cannot find a compatible libR.so so compilation fails. You did not specify which architecture you're on but in case it is a 64-bit platform, the following thread

Re: [R] Problem in installing packages on linux machine...

2007-09-08 Thread tkobayas
Hi, I am trying to install RSQLite package on my Fedora workstation. I tried to install other packages as well, but each time I got the same error messages saying compilation error and non zero exit status. Do I have to specify lib=? I never specified the library path before when I was using

Re: [R] Problem in installing packages on linux machine...

2007-09-08 Thread Henrique Dallazuanna
Hi, try install packages whit 'sudo'. $sudo R -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O On 08/09/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am trying to install RSQLite package on my Fedora workstation. I tried to install other packages as well,

Re: [R] Problem in installing packages on linux machine...

2007-09-08 Thread tkobayas
Hi, Still got the same error message. I did su R when I got the error message for the first time. I have never seen this error message. I will be googling for solutions as well... Thank you. Quoting Henrique Dallazuanna [EMAIL PROTECTED]: Hi, try install packages whit 'sudo'. $sudo R

[R] Problem with the aggregate command

2007-09-07 Thread Anup Nandialath
Dear friends, I have a data set with 23 columns and 38000 rows. It is a panel running from the years 1991 through 2005. I want to aggregate the data and get the medians of each of the 23 columns for each of the years. In other words my output should be like this Year Median 1991

[R] Problem with the Aggregate command (PS)

2007-09-07 Thread Anup Nandialath
Dear Friends, I forgot to add, the idea is to aggregate the entire dataset based on year and get the median value for each of the columns. Hence the output should be like this YearX1 X2X3 ... 1991102030... 199230 2010... 1993

Re: [R] Problem with the aggregate command

2007-09-07 Thread jim holtman
Your 'lst' is not the same length as either set1 or set2. If one of your columns in the dataframe is the year, then you should have: aggregate(set1, set1$year, median) On 9/7/07, Anup Nandialath [EMAIL PROTECTED] wrote: Dear friends, I have a data set with 23 columns and 38000 rows. It is a

Re: [R] problem formatting and positioning title in heatmap

2007-09-06 Thread Uwe Ligges
Mark W Kimpel wrote: I am using heatmap with the arguments below. The title size stays the same no matter what I set cex.main to. Is this expected? Can I adjust the title size in heatmap? Also, the position of the main title is at the very upper edge of the output and if I use a \n to

[R] problem formatting and positioning title in heatmap

2007-09-04 Thread Mark W Kimpel
I am using heatmap with the arguments below. The title size stays the same no matter what I set cex.main to. Is this expected? Can I adjust the title size in heatmap? Also, the position of the main title is at the very upper edge of the output and if I use a \n to stack the title the upper

Re: [R] Problem in downloading Yahoo Finance data from R

2007-09-03 Thread Theta
Hello Shubha, alternative method that gets closing prices of the SP500 Index, last line calculates the logreturns, easy to use data. sp500 - get.hist.quote(^GSPC,start=(today - Sys.Date())-735,quote=Cl) rsp500 - diff(log(sp500)) Shubha Vishwanath Karanth wrote: Hi R users, I have a

[R] Problem in downloading Yahoo Finance data from R

2007-09-01 Thread Shubha Vishwanath Karanth
Hi R users, I have a problem in downloading Yahoo Finance data from R. I have tried an example given in R, to download. The error is given below: library(fCalendar) yahooImport(s=IBMa=11b=1c=1999d=0q=31f=2000z=IBMx=.csv , file = D:\\ Downlaod,source =

[R] Problem of vocabulary : retrieve element of a list of a list

2007-08-31 Thread Ptit_Bleu
Hi, I read the posts for 2 hours and ?list and tried many comninations but I haven't found the answer to this basic question. So I decided to post my question even if it is a silly one ... What is the instruction to retrieve, for example, the D of the first list ? Thanks in advance, Ptit Bleu.

Re: [R] Problem of vocabulary : retrieve element of a list of a list

2007-08-31 Thread jiho
On 2007-August-31 , at 10:17 , Ptit_Bleu wrote: x-list(LETTERS[1:5], LETTERS[10:20]) not sure to have understood exactly what you meant. if you want to search for the D in the list: lapply(x,charmatch,D) should get you started. if you just want to know the syntax to extract an element

Re: [R] Problem of vocabulary : retrieve element of a list of a list

2007-08-31 Thread Felix Andrews
x[[1]][4] On 8/31/07, Ptit_Bleu [EMAIL PROTECTED] wrote: Hi, I read the posts for 2 hours and ?list and tried many comninations but I haven't found the answer to this basic question. So I decided to post my question even if it is a silly one ... What is the instruction to retrieve, for

Re: [R] Problem of vocabulary : retrieve element of a list of a list

2007-08-31 Thread Ptit_Bleu
In fact I read R pour les debutants by Emmanuel Paradis but I didn't find the solution. Then I looked for on R-Help with no result. Again I do aplologize for this silly question and I thank you for the solution (second one). Ptit Bleu (who won't send others silly questions in the future) jiho

[R] problem with recursive unlink on Linux Fedora 7

2007-08-31 Thread Mark W Kimpel
I am trying to delete a directory and its contents using unlink. The help page says this is not supported on some platforms but that if ignored a warning will be given. On Fedora 7 it is seemingly ignored but no warning is given. My command and sessionInfo() are below. Is this expected

[R] Problem with save or/and if (I think but maybe not ...)

2007-08-27 Thread Ptit_Bleu
Hi, I recently discovered the R program and I thought it could be useful to me. I have to analyse data saved as .Px file (x between 0 and 8 - .P0 files have 18 lines at the beginning that I have to skip). New files are generated everyday. This is my strategy : In order to analyse the data, I

Re: [R] Problem with save or/and if (I think but maybe not ...)

2007-08-27 Thread Prof Brian Ripley
On Mon, 27 Aug 2007, Ptit_Bleu wrote: Hi, I recently discovered the R program and I thought it could be useful to me. I have to analyse data saved as .Px file (x between 0 and 8 - .P0 files have 18 lines at the beginning that I have to skip). New files are generated everyday.

Re: [R] Problem with save or/and if (I think but maybe not ...)

2007-08-27 Thread Ptit_Bleu
Dear Prof Ripley, I thank you for your fast answer. In order to follow your advices : I deleted all the objects and the tfichiers.r already created. I changed all the tfichiers.t of the script into tfichiers.rda Then I launched the script twice. The first time, as tfichiers.rda didnt' exist,

Re: [R] Problem with save or/and if (I think but maybe not ...)

2007-08-27 Thread Ptit_Bleu
Dera Prof Ripley, You wrote : What did you intend there? It is not a test of no difference, but a test that each element of the difference is not 0, and furthermore if() expects a test of length one, not the length of nfichiers. I suspect you intended to test length(nfichiers) 0. And of

[R] Problem with lme using glht for multiple comparisons

2007-08-27 Thread Christian Kost
Hi everyone, I am new to R and have a question that relates to unplanned post-hoc comparisons using the multcomp package after a mixed effects model. I couldn't find the answer to it in the archive or in any manual. I have a dataset in which several plants have been treated in a particular

[R] problem loading package 'gplots'

2007-08-24 Thread Erin Berryman
Dear R community, I am using R version 2.4.1 GUI 1.18 on an iBook G4 with OS 10.4.10. When I try to load package 'gplots' I get the following message: library(gplots) Loading required package: gdata Attaching package: 'gdata' The following object(s) are masked _by_ .GlobalEnv :

Re: [R] problem loading package 'gplots'

2007-08-24 Thread Gregory Warnes
Hi Erin, Since the error occurs during the loading of the gtools package, I would suggest upgrading to a newer version of gtools to see if this solves your problem. -G On Aug 24, 2007, at 12:49PM , Erin Berryman wrote: Dear R community, I am using R version 2.4.1 GUI 1.18 on an iBook G4

Re: [R] problem loading package 'gplots'

2007-08-24 Thread Erin Berryman
Thank you, but the version of 'gtools' I have is 2.3.1, which is the same as the current version in the repository. Is there a more recent version out there? Erin On Aug 24, 2007, at 2:51 PM, Gregory Warnes wrote: Hi Erin, Since the error occurs during the loading of the gtools package,

Re: [R] problem loading package 'gplots'

2007-08-24 Thread Erin Berryman
Thank you! That did the trick. Package 'gplots' is now running properly on my machine. Erin On Aug 24, 2007, at 7:57 PM, Gregory Warnes wrote: On Aug 24, 2007, at 9:47PM , Erin Berryman wrote: library(gplots) Error in lazyLoadDBfetch(key, datafile, compressed, envhook) :

[R] Problem mit summaryBy: Group sums gives me incorrectly zero for one variable

2007-08-20 Thread Werner Wernersen
Hi, first I want to thank all of you for the quick aid which is provided here on the list during all times. Thanks a lot for that! Then, I have a problem using summaryBy which most probably is a problem of wrong use by me or the like: I use this command: summaryBy(total+total.inf~gr, aE,

Re: [R] Problem mit summaryBy: Group sums gives me incorrectly zero for one variable

2007-08-20 Thread Werner Wernersen
Just an additional note: It must be a problem with the variable names. If I change total.inf to for instance ttotal.inf then it works as expected. What is the rule here? I would like to avoid such problems in the future. Thanks, Werner Hi, first I want to thank all of you for the quick

Re: [R] Problem with lsa package (data.frame) on Windows XP

2007-08-20 Thread Tine Stalmans
@stat.math.ethz.ch Date: August 19, 2007 08:45:28 AM PDT Subject: Re: [R] Problem with lsa package (data.frame) on Windows XP Please specify reproducible examples, it is almost impossible to help otherwise. Also, please provide all error messages and a traceback(). Please tell us versions of R and versions

Re: [R] Problem with lsa package (data.frame) on Windows XP

2007-08-19 Thread Uwe Ligges
Please specify reproducible examples, it is almost impossible to help otherwise. Also, please provide all error messages and a traceback(). Please tell us versions of R and versions of the packages you are using. If you are sure this is an error in the package, please send that reproducible

Re: [R] Problem Connecting to Oracle with R from Windows XP

2007-08-18 Thread Adrian Dragulescu
You also need the ROracle package. On 8/15/07, Song, Alex [EMAIL PROTECTED] wrote: Hello, I installed RGui 2.5.1 and package DBI on Windows XP and tried to connect to Oracle database which is on a Linux server. When I tried to use dbDriver(Oracle), I got an error as follows: drv -

[R] Problem with lsa package (data.frame) on Windows XP

2007-08-18 Thread Walter Rojas
Dear R team, The following piece of code (to use the lsa package) works fine on my mac os x, but when I run the same code on Windows XP, it doesn't work any more. ### code: library(lsa) matrix1 = textmatrix(C:\\Documents and Settings\\tine stalmans.TINE. 000\\LSA\\cuentos\\, stemming=TRUE,

[R] problem using rank

2007-08-17 Thread Jiong Zhang, PhD
Hi All, I had 12766 elements in a column, 12566 are values and 200 are NAs. I used the following line to get the ranks: total_list$MB.rank - rank(-total_list$MB,ties.method=min,na.last=NA) but I got an error message: Error in `$-.data.frame`(`*tmp*`, BCRP_PW_F.rank, value = c(3949, 6182, :

Re: [R] problem using rank

2007-08-17 Thread Henrique Dallazuanna
Hi, try this: total_list$MB.rank[!is.na(toal_list$MB)] - rank(-total_list$MB,ties.method= min,na.last=NA) -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O On 17/08/07, Jiong Zhang, PhD [EMAIL PROTECTED] wrote: Hi All, I had 12766 elements in a column, 12566 are

Re: [R] problem using rank

2007-08-17 Thread Prof Brian Ripley
On Fri, 17 Aug 2007, Jiong Zhang, PhD wrote: Hi All, I had 12766 elements in a column, 12566 are values and 200 are NAs. I used the following line to get the ranks: total_list$MB.rank - rank(-total_list$MB,ties.method=min,na.last=NA) but I got an error message: Error in

[R] Problem Connecting to Oracle with R from Windows XP

2007-08-15 Thread Song, Alex
Hello, I installed RGui 2.5.1 and package DBI on Windows XP and tried to connect to Oracle database which is on a Linux server. When I tried to use dbDriver(Oracle), I got an error as follows: drv - dbDriver(Oracle) Error in do.call(as.character(drvName), list(...)) : could

[R] Problem with by: does not work with ttest (but with lme)

2007-08-14 Thread Daniel Stahl
Hello, I would like to do a large number of e.g. 1000 paired ttest using the by-function. But instead of using only the data within the 1000 groups, R caclulates 1000 times the ttest for the full data set(The same happens with Wilcoxon test). However, the by-function works fine with the lme

Re: [R] Problem with by: does not work with ttest (but with lme)

2007-08-14 Thread Chuck Cleland
Daniel Stahl wrote: Hello, I would like to do a large number of e.g. 1000 paired ttest using the by-function. But instead of using only the data within the 1000 groups, R caclulates 1000 times the ttest for the full data set(The same happens with Wilcoxon test). However, the by-function

Re: [R] Problem with

2007-08-14 Thread Dieter Menne
Daniel Stahl daniel_stahl at operamail.com writes: I would like to do a large number of e.g. 1000 paired ttest using the by-function. Technical stuff aside: do you really want to do 1000 paired t-tests? Followed by a *** pick-nic? Mmm... Dieter

Re: [R] Problem with by: does not work with ttest (but with lme)

2007-08-14 Thread Greg Snow
@stat.math.ethz.ch Subject: [R] Problem with by: does not work with ttest (but with lme) Hello, I would like to do a large number of e.g. 1000 paired ttest using the by-function. But instead of using only the data within the 1000 groups, R caclulates 1000 times the ttest for the full

[R] Problem with axes plotting

2007-08-13 Thread akki
Hi, I've 2 little questions: Is possible change the size of the values of x and y axes, when I do plot?? How can I put a range of 0.0001 to 5.5000, although my max value is 4 on 'y' axe log scale (without pattern 1e-0'X')? Thanks. [[alternative HTML version deleted]]

[R] Problem with fisher.g.test

2007-08-13 Thread Bunty Gill
I am trying to analyse a mouse dataset with 45000 genes and 24 or 48 timpoints to find cycling genes using GeneCycle. However the function fisher.g.test never runs. I am pasting the input/output summary below. I would be grateful if someone could provide any insight. I 've run GeneCycle

Re: [R] problem with reading data files with different numbers oflines to skip

2007-08-03 Thread john seers \(IFR\)
=T, skip=skiplines, sep=\t) write.table(outdf, file=pixfileout, sep=\t, row.names=FALSE) } } Regards John Seers -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Cohen Sent: 03 August 2007 13:04 To: r-help@stat.math.ethz.ch Subject: Re: [R

Re: [R] Problem with making dll under Windows

2007-08-03 Thread Uwe Ligges
Please check that you have installed a suitable environment (tools, compiler etc.) as mentioned in the R Installation and Administration manual. Öooks like your version of Perl is corrupted. I got with your C program: d:\aaaR CMD SHLIB dmypow.c making dmypow.d from dmypow.c gcc

[R] Problem with making dll under Windows

2007-08-03 Thread Albrecht, Dr. Stefan (APEP)
Dear all, I have problems to compile a DLL for Windows XP with R version 2.5.1 (2007-06-27). See output below: C:\AZ_DATEN\C, C++\BE_speedupR CMD SHLIB dmypow.c Goto undefined subroutine DynaLoader::bootstrap_inherit at C:\Programme\R\R-2.5 .1\share\perl/XSLoader.pm line 80. Compilation

Re: [R] problem with reading data files with different numbers of lines to skip

2007-08-03 Thread Tom Cohen
Thanks to Ted and Gabor for your response. I apology for not being clear with my previous description of the problem. I tried with your suggestions using readLines but couldn't make it work. I now explain the problem in more details and hope that you can help me out. I have 30 data

Re: [R] Problem with making dll under Windows

2007-08-03 Thread Albrecht, Dr. Stefan (APEP)
Gesellschaft: München | Registergericht: München HRB 126221 | Ust-ID-Nr.: DE 813 264 786 -Ursprüngliche Nachricht- Von: Uwe Ligges [mailto:[EMAIL PROTECTED] Gesendet: Friday, August 03, 2007 15:10 An: Albrecht, Dr. Stefan (APEP) Cc: r-help@stat.math.ethz.ch Betreff: Re: [R] Problem with making dll

Re: [R] problem with reading data files with different numbers of lines to skip

2007-08-03 Thread Gabor Grothendieck
Please read the last line of every message to r-help: PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. We don't know what you did. On 8/3/07, Tom Cohen [EMAIL PROTECTED] wrote: Thanks to Ted and

[R] problem with reading data files with different numbers of lines to skips

2007-08-02 Thread Tom Cohen
Dear List, I have 30 data files with different numbers of lines (31 and 33) that I want to skip before reading the files. If I use the skip option I can only choose either to skip 31 or 33 lines. The data files with 31 lines have no blank rows between the lines and the header row. How

Re: [R] problem with reading data files with different numbers of lines to skips

2007-08-02 Thread Ross Darnell
Sent: Fri 03-Aug-07 7:14 AM To: r-help@stat.math.ethz.ch Subject: [R] problem with reading data files with different numbers of lines to skips Dear List, I have 30 data files with different numbers of lines (31 and 33) that I want to skip before reading the files. If I use the skip

Re: [R] problem with reading data files with different numbers of lines to skips

2007-08-02 Thread Gabor Grothendieck
See: http://tolstoy.newcastle.edu.au/R/help/03b/6094.html On 8/2/07, Tom Cohen [EMAIL PROTECTED] wrote: Dear List, I have 30 data files with different numbers of lines (31 and 33) that I want to skip before reading the files. If I use the skip option I can only choose either to skip 31

Re: [R] problem with reading data files with different numbers o

2007-08-02 Thread Ted Harding
On 02-Aug-07 21:14:20, Tom Cohen wrote: Dear List, I have 30 data files with different numbers of lines (31 and 33) that I want to skip before reading the files. If I use the skip option I can only choose either to skip 31 or 33 lines. The data files with 31 lines have no blank rows

Re: [R] problem with reading data files with different numbers o

2007-08-02 Thread Ted Harding
On 02-Aug-07 21:14:20, Tom Cohen wrote: Dear List, I have 30 data files with different numbers of lines (31 and 33) that I want to skip before reading the files. If I use the skip option I can only choose either to skip 31 or 33 lines. The data files with 31 lines have no blank rows

[R] Problem to remove loops in a routine

2007-08-01 Thread Sébastien
Dear R-users, I have written the following code to generate some trellis plots. It works perfectly fine except that it is quite slow when it is apply to my typical datasets (over several thousands of lines). I believe the problem comes from the loops I am using to subset my data.frame. I read

Re: [R] Problem to remove loops in a routine

2007-08-01 Thread jim holtman
First thing to do is to use Rprof to determine where the time is being spent and then you can pinpoint what section of code is taking the time. A quick look says to do all your subsetting at once. You might look into using 'split' to create the subsets and then access the subsets with [[...]].

Re: [R] Problem with code

2007-07-31 Thread Uwe Ligges
Shawndelle Noble wrote: Hi I am having the following Warning message with this code: Error in file(file, r) : unable to open connection In addition: Warning message: cannot open file- reason 'No such file or directory' in: file(file, r) The files are present on a CD and USB key- I tried

[R] Problem with code

2007-07-30 Thread Shawndelle Noble
Hi I am having the following Warning message with this code: Error in file(file, r) : unable to open connection In addition: Warning message: cannot open file- reason 'No such file or directory' in: file(file, r) The files are present on a CD and USB key- I tried opening all the files-then

Re: [R] Problem installing tseries package

2007-07-29 Thread Michael Cassin
Thanks, you solved it. For posterity, here's the extra info: R Session.info(): R version 2.4.1 (2006-12-18) i686-redhat-linux-gnu locale:C attached base packages: [1] stats graphics grDevices utils datasets methods [7] base and #uname -a Linux stikir.com 2.6.9-023stab043.1-smp #1

[R] Problem installing tseries package

2007-07-26 Thread Michael Cassin
Hi, I'm running R 2.4.1 on Fedora Core 6 and am unable to install the tseries package. I've resolved a few problems getting to this point, by running a yum update, installing the gcc-gfortran dependency, but now I'm stuck. Could someone please point me in the right direction? R

Re: [R] Problem installing tseries package

2007-07-26 Thread Prof Brian Ripley
On Thu, 26 Jul 2007, Michael Cassin wrote: Hi, I'm running R 2.4.1 on Fedora Core 6 and am unable to install the tseries package. I've resolved a few problems getting to this point, by running a yum update, installing the gcc-gfortran dependency, but now I'm stuck. Could someone please

[R] problem with sub !

2007-07-25 Thread marco.R.help marco.R.help
Dear all, I am trying to use sub to replace patterns in a character array that contains german names with german special characters. I have the following problem: sub(\\xdf,ss,Wei\xdferitzkreis) Error in sub(pattern, replacement, x, ignore.case, extended, fixed, useBytes) : input

Re: [R] problem with sub !

2007-07-25 Thread Vladimir Eremeev
Try Sys.setlocale(). marco.R.help marco.R.help wrote: I am trying to use sub to replace patterns in a character array that contains german names with german special characters. I have the following problem: sub(\\xdf,ss,Wei\xdferitzkreis) Error in sub(pattern, replacement, x,

Re: [R] Problem to sort factor

2007-07-17 Thread Arne Brutschy
Hi, hadley wickham wrote: h Does this get you started? h x - factor(c(a, b, c)) h factor(x, levels=c(c,b,a), labels=c(cc,bb, aa)) hmm, not really. I simply don't seem to get the concept of factors here... How do I combine the above code with my dataframe and pass it on to facet_grid??? Thanks

[R] Problem to sort factor

2007-07-16 Thread Arne Brutschy
Hello, I'm having a problem renaming and sorting the underlying factor of a ggplot2 based plot. Here's my code: ---8-- delta - ggplot(subset(data, Model==c(dyn, dl4, dl3)), aes(x=Problemsize, y=Fitness)) + geom_smooth(size=1, color=black, fill=alpha(blue, 0.2))+

[R] problem with length()

2007-07-16 Thread Jacob Etches
In the following, can anyone tell me why length(eee) returns 9? I was expecting 15398, and when I try to add this vector to a data frame with that many rows, it fails complaining that the vector is of length 9. In what I thought was an identical situation with a related dataset, the same

Re: [R] problem with length()

2007-07-16 Thread jim holtman
POSIXlt is a list structure of 9 elements (see ?POSIXlt). You can see that in the data below: x - as.POSIXlt(c('2007-01-01','2007-02-01','2007-03-31')) length(x) [1] 9 unclass(x) $sec [1] 0 0 0 $min [1] 0 0 0 $hour [1] 0 0 0 $mday [1] 1 1 31 $mon [1] 0 1 2 $year [1] 107 107 107 $wday

Re: [R] Problem to sort factor

2007-07-16 Thread hadley wickham
On 7/16/07, Arne Brutschy [EMAIL PROTECTED] wrote: Hello, I'm having a problem renaming and sorting the underlying factor of a ggplot2 based plot. Here's my code: ---8-- delta - ggplot(subset(data, Model==c(dyn, dl4, dl3)), aes(x=Problemsize, y=Fitness)) + geom_smooth(size=1,

[R] Problem with Sweave and pdf version 1.4

2007-07-09 Thread ONKELINX, Thierry
Dear useRs, I'm trying to use ggplot2 in Sweave (R 2.5.1). The plots use the alpha channel, so I need to use pdf version 1.4. Search the mailinglist archive I found two solutions: \SweaveOpts{echo = FALSE, pdf.version=1.4} and explicit writing to a pdf 1.4 file. The latter works but the first

Re: [R] problem assigning to indexed data frame element

2007-07-06 Thread John Kane
Check what is happening with current.spec. It looks to me as if you are trying to use a factor as an index. See below --- Drescher, Michael (MNR) [EMAIL PROTECTED] wrote: Hi All, Sorry if I ask an obvious thing, I am still new to R ... I created a data frame of given dimensions to

Re: [R] Problem/bug with smooth.spline and all.knots=T

2007-07-05 Thread Uwe Ligges
Hubertus wrote: Dear list, if I do smooth.spline(tmpSec, tmpT, all.knots=T) with the attached data, I get this error-message: Note that you cannot attach data that way. You migth want to upload it to some web space and send us the link. Uwe Ligges Error in smooth.spline(tmpSec,

Re: [R] Problem/bug with smooth.spline and all.knots=T

2007-07-05 Thread Martin Maechler
H == Hubertus [EMAIL PROTECTED] on Wed, 4 Jul 2007 14:58:44 +0200 writes: H Dear list, H if I do H smooth.spline(tmpSec, tmpT, all.knots=T) H with the attached data, Thanks for providing the data via URL (see below) H with the attached data, I get this error-message:

[R] problem assigning to indexed data frame element

2007-07-05 Thread Drescher, Michael (MNR)
Hi All, Sorry if I ask an obvious thing, I am still new to R ... I created a data frame of given dimensions to which I gave strings as column names. I want to write to elements of the data frame by indexing them with the row number and column name (string). The problem is that I can read

[R] Problem/bug with smooth.spline and all.knots=T

2007-07-04 Thread Hubertus
Dear list, if I do smooth.spline(tmpSec, tmpT, all.knots=T) with the attached data, I get this error-message: Error in smooth.spline(tmpSec, tmpT, all.knots = T) : smoothing parameter value too small If I do smooth.spline(tmpSec[-single arbitrary number], tmpT[-single arbitrary

Re: [R] Problem installing R packages in OpenBSD

2007-07-03 Thread Butchar, Jon
for the OpenBSD package creation that didn't get changed after package installation. Hope this helps, Jon -Original Message- From: [EMAIL PROTECTED] on behalf of Bruce Sent: Mon 7/2/2007 5:19 PM To: r-help@stat.math.ethz.ch Subject: [R] Problem installing R packages in OpenBSD OS

Re: [R] Problem installing R packages in OpenBSD

2007-07-03 Thread Bruce
installation. Hope this helps, Jon -Original Message- From: [EMAIL PROTECTED] on behalf of Bruce Sent: Mon 7/2/2007 5:19 PM To: r-help@stat.math.ethz.ch Subject: [R] Problem installing R packages in OpenBSD OS: OpenBSD version 4.1 i386 R version 2.4.1 (2006-12-18) installed

[R] Problem with the function plot and multipage

2007-07-02 Thread Florian Dubuisson
Hello, I want to print graphs after running a gam function (gam needs the package mgcv) I want to print the results of the function in a .jpg or in a .png. I would like to print it in many files (because in one file the graphs is too small and can't be read) For the moment, I run this script :

[R] Problem installing R packages in OpenBSD

2007-07-02 Thread Bruce
OS: OpenBSD version 4.1 i386 R version 2.4.1 (2006-12-18) installed as a binary package $ ls mapproj_1.1-7.1.tar.gz maps_2.0-36.tar.gz $ sudo R CMD INSTALL mapproj_1.1-7.1.tar.gz /usr/local/lib/R/bin/INSTALL[118]: .: /usr/obj/i386/R-2.4.1/fake-i386/usr/local/lib/R/share/sh/dcf.sh: not

Re: [R] Problem installing R packages in OpenBSD

2007-07-02 Thread Prof Brian Ripley
1) You are not supposed to have R_HOME set in your environment: that is the job of the R front-end script. 2) R 2.4.1 is obsolete, but I believe the relevant line is . ${R_SHARE_DIR}/sh/dcf.sh# get_dcf_field() R_SHARE_DIR is set in the R front-end script, so that's where to investigate.

[R] Problem installing RGTK2 on ubuntu 7.04

2007-06-30 Thread Andrew Muller
Thanks for the help. I installed libgtk2.0-dev and RGtk2 is being installed as I write. Andrew Muller McMaster University/Economics __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] Problem with library(CarbonEL) in .Rprofile

2007-06-29 Thread max . e . brown
Hello, I am a Mac user and prefer the quartz device. So far, I have always typed the following in manually after starting R via ESS: library(CarbonEL) options(device=quartz) That works without problems, and allows me to use the quartz device instead of X11. I put this into my .Rprofile,

[R] Problem installing RGTK2 on ubuntu 7.04

2007-06-29 Thread Andrew Muller
Hello, all I am trying to install RGTK2 on my Ubuntu 7.04 system. The installation fails with a message that RGtk2 requires GTK 2.8. As far as I can tell I have GTK+ 2.10.11 installed. Can anyone suggest a way to proceed? Thanks very much. Here is the failed installation:

Re: [R] Problem installing RGTK2 on ubuntu 7.04

2007-06-29 Thread 廖宮毅
On Fri, 2007-06-29 at 23:11 -0400, Andrew Muller wrote: Hello, all I am trying to install RGTK2 on my Ubuntu 7.04 system. The installation fails with a message that RGtk2 requires GTK 2.8. As far as I can tell I have GTK+ 2.10.11 installed. Can anyone suggest a way to proceed? Thanks

Re: [R] Problem installing RGTK2 on ubuntu 7.04

2007-06-29 Thread Dirk Eddelbuettel
On 29 June 2007 at 23:11, Andrew Muller wrote: | I am trying to install RGTK2 on my Ubuntu 7.04 system. The installation | fails with a message that RGtk2 requires GTK 2.8. As far as I can tell I | have GTK+ 2.10.11 installed. Can anyone suggest a way to proceed? Something is not right in your

[R] problem building first package

2007-06-25 Thread Richard Chandler
Hi, I am trying to build a package from source for the first time. I'm using Windows XP. After R CMD INSTALL or R CMD check I get an error message that I don't understand. I've tried to follow the instrucions provided in the R Installation and Administration .pdf and the text file that comes with

Re: [R] problem building first package

2007-06-25 Thread Prof Brian Ripley
You can ignore the message about latex (and 2.5.1 RC does not give it). hhc is part of HTML Help Workshop: you either have not installed that or not put it in your path. The settings in MkRules affect the types of help for building R, not 'R CMD INSTALL'. If you only want text help you need

Re: [R] problem building first package

2007-06-25 Thread Richard Chandler
Thanks so much. I was able to get it installed using: R CMD INSTALL --docs=normal removal_1.0.tar.gz However, setting --docs=txt gave me this error: ERROR: invalid --docs value `txt' The --help says it needs to be a list, but no matter, --docs=normal worked fine. Quoting Prof Brian Ripley

Re: [R] problem building first package

2007-06-25 Thread Prof Brian Ripley
It's a buglet: --docs=txt, works. On Mon, 25 Jun 2007, Richard Chandler wrote: Thanks so much. I was able to get it installed using: R CMD INSTALL --docs=normal removal_1.0.tar.gz However, setting --docs=txt gave me this error: ERROR: invalid --docs value `txt' The --help says it needs

[R] Problem installing MCMCpack

2007-06-25 Thread Vivek Menon
I am having a problem installing MCMCpack on a Linux ppc64 machine. Has someone had this problem??This is what I see when I do an install package: install.packages(c(MCMCpack)) trying URL ' http://www.sourcekeg.co.uk/cran/src/contrib/MCMCpack_0.8-2.tar.gz' Content type 'application/x-tar' length

Re: [R] Problem with binding data-frames

2007-06-19 Thread Junnila, Jouni
Hi, Yes, I'm aware that the problem is that I have differing number of columns in the different datasets. My question still remains. Is there some way I can allow column numbers to be different, or is there some other way combining these datasets? Thanks, -Jouni On Mon, 18 Jun 2007, Petr

Re: [R] Problem with binding data-frames

2007-06-19 Thread Prof Brian Ripley
On Tue, 19 Jun 2007, Junnila, Jouni wrote: Hi, Yes, I'm aware that the problem is that I have differing number of columns in the different datasets. My question still remains. Is there some way I can allow column numbers to be different, or is there some other way combining these datasets?

[R] Problem with binding data-frames

2007-06-18 Thread Junnila, Jouni
Hello, I'm having a problem concerning r-binding datasets. I have six datasets, from six different plates, and two different days. I want to combine these datasets together for analysis. Datasets from day 2, have all the same columns than datasets from day 1. However in addition, there are few

Re: [R] Problem with binding data-frames

2007-06-18 Thread Petr Klasterecky
Junnila, Jouni napsal(a): Hello, I'm having a problem concerning r-binding datasets. I have six datasets, from six different plates, and two different days. I want to combine these datasets together for analysis. Datasets from day 2, have all the same columns than datasets from day 1.

Re: [R] Problem with binding data-frames

2007-06-18 Thread Prof Brian Ripley
On Mon, 18 Jun 2007, Petr Klasterecky wrote: Junnila, Jouni napsal(a): Hello, I'm having a problem concerning r-binding datasets. I have six datasets, from six different plates, and two different days. I want to combine these datasets together for analysis. Datasets from day 2, have all

Re: [R] Problem with RSVGTipsDevice

2007-06-18 Thread Tony Plate
The new version of RSVGTipsDevice (0.7.1) that is now available on CRAN should fix this problem. Please let me know if it doesn't, or if there are other problems. -- Tony Plate mister_bluesman wrote: Hi there. I am still trying to get the RSVGTipsDevice to work, yet I can not. I have

Re: [R] problem with xlsReadWrite package

2007-06-17 Thread Hans-Peter
Hi, 2007/6/11, [EMAIL PROTECTED] [EMAIL PROTECTED]: I have installed R 2.4.0 in my pc. I have a file xls entitled dali following this directory:c://programfiles//R 2.4.0. Recently I have installed xlsreadwrite 1.3.2. but , when I wrote the following lines: library(xlsReadWrite) read.xls(

Re: [R] problem with hist()

2007-06-15 Thread Mario Dejung
Mario Dejung wrote: Hey everybody, I try to make a graph with two different plots. First I make a boxplot of my data. It is a collection off correlation values of different pictures. For example: 0.23445 pica 0.34456 pica 0.45663 pica 0.98822 picb 0.12223 picc 0.34443 picc etc.

Re: [R] problem with hist()

2007-06-15 Thread hadley wickham
On 6/14/07, Mario Dejung [EMAIL PROTECTED] wrote: Hey everybody, I try to make a graph with two different plots. First I make a boxplot of my data. It is a collection off correlation values of different pictures. For example: 0.23445 pica 0.34456 pica 0.45663 pica 0.98822 picb 0.12223

Re: [R] problem with hist()

2007-06-15 Thread Uwe Ligges
Mario Dejung wrote: Mario Dejung wrote: Hey everybody, I try to make a graph with two different plots. First I make a boxplot of my data. It is a collection off correlation values of different pictures. For example: 0.23445 pica 0.34456 pica 0.45663 pica 0.98822 picb 0.12223 picc

Re: [R] problem with hist()

2007-06-15 Thread hadley wickham
On 6/15/07, Mario Dejung [EMAIL PROTECTED] wrote: On 6/14/07, Mario Dejung [EMAIL PROTECTED] wrote: Hey everybody, I try to make a graph with two different plots. First I make a boxplot of my data. It is a collection off correlation values of different pictures. For example:

[R] Problem with workspace loading after languageR use

2007-06-15 Thread Pfister
Hello R, To analyze multi-level data, I started learning and using lmer. So far so wonderful. I then found some useful functions in package languageR. But then the following problem ocurred: Whenever I load and use the languageR package, then save the workspace - or quit R with saving the

Re: [R] Problem with workspace loading after languageR use

2007-06-15 Thread Prof Brian Ripley
The problem would appear to be something missing in R. From what I can see you have saved a reference to a package environment in your workspace. When load() tries to resolve this, it calls findPackageEnv and that does not exist in current R (or any recent version I looked at). I think

  1   2   3   4   5   6   7   8   9   10   >