Re: [R] Linear regression and stand deviation at the Linux command line

2024-08-23 Thread Keith Christian
Hi Ivan, Thanks for the suggestions. Will try them. Keith On Fri, Aug 23, 2024 at 1:57 AM Ivan Krylov wrote: > > В Thu, 22 Aug 2024 13:07:37 -0600 > Keith Christian пишет: > > > I'm interested in R construct(s) to be entered at the command > > li

[R] Linear regression and stand deviation at the Linux command line

2024-08-22 Thread Keith Christian
R List, Please excuse this ultra-newbie post. I looked at this page but it's a bit beyond me. https://www2.kenyon.edu/Depts/Math/hartlaub/Math305%20Fall2011/R.htm I'm interested in R construct(s) to be entered at the command line that would output slope, y-intercept, and r-squared values read fro

Re: [R] Bug in print for data frames?

2023-10-26 Thread Christian Asseburg
Dear R users! Thank you for your excellent replies. I didn't know that the print.data.frame expands matrix-like values in this way. Why doesn't it call the column in my example C.A? I understand that something like that happens when the data.frame in position three has multiple columns. But your

[R] Bug in print for data frames?

2023-10-26 Thread Christian Asseburg
..$ A: num 1 Why does the print(x) not show "C" as the name of the third element? I did mess up the data frame (and this was a mistake on my part), but finding the bug was harder because print(x) didn't show the C any longer. Thanks. With best wishes - . . . Christian ___

[R] Axis scaling for PCA biplot

2022-11-15 Thread Christian Hennig
be 1, but then (1-scale) is zero so I'd assume data to be unscaled, but that should have reproduced the "plot" scale, shouldn't it? Thanks, Christian -- Christian Hennig Dipartimento di Scienze Statistiche "Paolo Fortunati", Universita di Bologna, phone +39

[R] WG: grouped anova from lm as data frame, tidyr broom

2020-11-17 Thread Kluth, Christian
her information as a data frame like post hoc tukey tests and corresponding clds (compact letter display) and apply it to more complex models of lme-type. I would be very happy if there is somebody who could help. Thank you very much in advance Regards Christian PS: here are the few lines that

Re: [R] "rgb()" problem

2019-07-26 Thread Röver , Christian
Value" argument. Sorry for the confusion, Christian On Fri, 2019-07-26 at 10:27 +0200, Christian Röver wrote: > Hi, > > I experienced a problem with the "rgb()" function. > These two calls should (and do) return identical results: > > rgb(255, 12

[R] "rgb()" problem

2019-07-26 Thread Röver , Christian
turn white instead of red. Thanks, Christian __ 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, mi

Re: [R] Mysterious NOTE when checking package

2019-06-03 Thread Christian Martin Hennig
join R-package-devel and post there. The file is a .tar.gz as it should be. R CMD check was used in the same way I used it hundred times before (actually two weeks ago on another package that didn't bring up this problem). I think R-devel was updated in the meantime, so it ma

[R] Mysterious NOTE when checking package

2019-06-03 Thread Christian Martin Hennig
Date: 2019-06-03 Author: Christian Hennig ,     Bernhard Hausdorf Depends: R (>= 2.10), MASS, mclust Suggests: spdep, spatialreg, bootstrap, maptools, foreign, mvtnorm Description: Distance-based parametric bootstrap tests for clustering with   spatial neighborhood information. Some dist

[R] R package installation error

2019-01-28 Thread Christian Martin Hennig
g 2) ERROR: lazy loading failed for package ‘hierfstat’" As far as I can see on CRAN, all should be fine with that package. Can anybody tell me what's wrong here? Thanks, Christian -- Christian Hennig Dipartimento di Scienze Statistiche "Paolo Fortunati", Universita di

Re: [R] Plot in real unit (1:1)

2018-10-08 Thread Christian Brandstätter
aste0("My: 1:",my), paste0("Vertical Exaggeration: 1:",mx/my)),x.intersp=0,bty="n") dev.off() On Thu, 2018-06-07 at 14:13 +1000, Jim Lemon wrote: > Hi Christian,Well, it almost worked. I suspect that the postscript > device adds somepadding to acc

[R] Where does ' Setting LC_CTYPE failed, using "C" ' come from? 2

2018-07-17 Thread Christian
ts write org.R-project.R force.LANG en_US.UTF-8 Close Terminal Start R as suggested on https://stackoverflow.com/questions/9689104/installing-r-on-mac-warning-messages-setting-lc-ctype-failed-using-c, did not help :-( Pointers are welcome C. -- Christian Hoffmann Rigiblick

[R] Where does ' Setting LC_CTYPE failed, using "C" ' come from? 2

2018-07-16 Thread Christian
s.getlocale() [1] "C" ... Executing Open Terminal Write or paste in: defaults write org.R-project.R force.LANG en_US.UTF-8 Close Terminal Start R as suggested on the Net, did not help :-( Pointers are welcome C. -- Christian Hoffmann Rigiblickstras

[R] Where does ' Setting LC_CTYPE failed, using "C" ' come from?

2018-07-16 Thread Christian
R /usr/bin/tar TERMdumb TERMCAP TMPDIR /var/folders/rm/pd12qdtn55qc3vc0vg5v0_y4gn/T/ USERhoffmannc XPC_FLAGS 0x0 XPC_SERVICE_NAME0 __CF_USER_TEXT_ENCODING 0x1F5:0:0 Pointer

Re: [R] Plot in real unit (1:1)

2018-06-06 Thread Brandstätter Christian
Thanks a lot! Jim Lemon schrieb am Do., 7. Juni 2018, 06:13: > Hi Christian, > Well, it almost worked. I suspect that the postscript device adds some > padding to account for the printable area, so with a bit of > experimentation, The following example seems to do what you wa

[R] Plot in real unit (1:1)

2018-06-06 Thread Christian Brandstätter
Dear List, Is it possible to plot in R in "real" units? I would like to draw a plot on A4 paper, where 1 plot unit would be a mm in reality. Is something like that possible? I would also like to be able to scale the plot in x and y direction. Background: For a project I would have to draw around

[R] values of list of variable names

2018-06-01 Thread Christian
iables whose names are contained in 'lis'. eval(parse(ls(pattern="pr"))) will not do but returning TRUE. TIA C. -- Christian Hoffmann Rigiblickstrasse 15b CH-8915 Hausen am Albis Switzerland Telefon +41-(0)44-7640853 __ R-help@r

[R] lintr error

2018-04-02 Thread Christian
: there is no package called 'magrittr' session.Info(): R version 3.4.4 (2018-03-15) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS High Sierra 10.13.3 This error did not occur under R version 3.4.3 Search in R-project resulted in advice which did not work. How can I p

[R] [ESS] R window: Text is read only (: Another round :)

2017-12-20 Thread Christian
(before hook) (inferior-ess 3): waiting for process after hook What additional information could be helpful to stop this strange behaviour? TIA  C. -- Christian Hoffmann Rigiblickstrasse 15b CH-8915 Hausen am Albis Switzerland Telefon +41-(0)44-7640853 __

[R] Where is R 3.4.3 (announced for 30.November)?

2017-12-02 Thread Christian
Havin Porblems with R 3.4.2, I am waiting for R 3.4.3 to be available. Nothing appers on CRAN for R 3.4.3. When will R 3.4.3 be avalable? Best C. -- Christian Hoffmann Rigiblickstrasse 15b CH-8915 Hausen am Albis Switzerland Telefon +41-(0)44-7640853

[R] [R-pkgs] bayesmeta 2.0 released

2017-11-30 Thread Röver , Christian
he package (also included as a package vignette); see here:   Bayesian random-effects meta-analysis using the bayesmeta R package   http://arxiv.org/abs/1711.08683 Comments/questions/suggestions/... are, as always, welcome. Happy meta-analysing, Chris

[R] M-x R gives no choice of starting dir

2017-09-11 Thread Christian
Hi, I experienced a sudden change in the behavior of M-x R in not giving me the choice where to start R. May be that I botched my preferences. I am using Aquamacs 3.3 on MacOS 10.12.6 Christian -- Christian Hoffmann Rigiblickstrasse 15b CH-8915 Hausen am Albis Switzerland Telefon +41-(0)44

[R] Block comment?

2017-09-02 Thread Christian
I consider it quite worth while to introduce into R syntax a nestable block comment like #{ }# It would make documentation more easily manageable and lucid. Is there considerable need for this. Please, comment on this. How about R core? Christian -- Christian Hoffmann Rigiblickstrasse 15b

[R] generating cran package list matching R minor version

2017-08-09 Thread Christian Meesters
addressing wrong list, any pointer is appreciated. Best regards, Christian Meesters __ 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

[R] .External2(C_savehistory, file) : no history available to save

2016-12-08 Thread Christian
[5] mgcv_1.8-15nlme_3.1-128 foreign_0.8-67 codetools_0.2-15 [9] cluster_2.0.5 class_7.3-14 boot_1.3-18 Matrix_1.2-7.1 [13] MASS_7.3-45KernSmooth_2.23-15 cwhmisc_6.0 lattice_0.20-34 Why this? C. -- Christian Hoffmann Rigiblickstrasee 15b CH-8915 Hausen am Albis

[R] 1: Setting LC_CTYPE failed, using "C"

2016-12-06 Thread Christian
lling me other than in version 3.1 where they were not present? Thanks for hints Christian -- Christian Hoffmann Rigiblickstrasee 15b CH-8915 Hausen am Albis Telefon 0041-(0)44-7640853 __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] summing up a matrix

2016-11-18 Thread Christian Brandstätter
Hi, that should do: mat <- rbind(c(20,200,100,50,100,30), c(100,200,100,50,100,30), c(50,200,100,50,100,30)) rownames(mat) <- c("2016-11","2016-12","2017-01") t(apply(mat,1,cumsum)) Best, Christian Am 18.11.2016 um 16:16 schrieb Matthias Weber: Hello toge

[R] print (names and) values of parameters of function

2016-10-08 Thread Christian Hoffmann
= ", y, "... = " , ... Combinations of eval, substitute, formals, etc. should be able to do the job, but I didn't find help online. Anyone lend a helping hand? TIA Christian -- Christian W. Hoffmann CH - 8915 Hausen am Albis, Schweiz Rigiblickstrasse 15 b, Tel.+4

[R] Sweave vs. R CMD Rd2pdf --no-clean --force

2016-07-04 Thread Christian Hoffmann
tached base packages: [1] tools stats4splines parallel datasets [6] compiler graphics grDevices stats grid [11] utils methods base other attached packages: [1] survival_2.38-3spatial_7.3-11 .. Any ideas ? C. -- Christian W. Hoffmann CH - 8915 Hausen am Albis, Schw

[R] object 'add.expr' not found

2016-06-27 Thread Christian Hoffmann
ir, enclos) : object 'add.expr' not found Can anyone give me a pointer to where I should investigate my problem further? C. -- Christian W. Hoffmann CH - 8915 Hausen am Albis, Schweiz Rigiblickstrasse 15 b, Tel.+41-44-7640853 mailto: christ...@echoffmann.ch hom

[R] Regulized Matrix Factorization

2016-06-08 Thread Christian Eberhardt
__ 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 cod

Re: [R] graphic device Windows tickmarks

2016-05-31 Thread Christian Brandstätter
the x-axis-labels differ. In the test.png the labels are 0,70,170,... In the x11 window they are the same values as in the thickticks-vector. Why? I tried to play with different resolution values, this didn't help. Best, Christian Am 31.05.2016 um 08:17 schrieb Duncan Mackay: Hi Without looki

[R] graphic device Windows tickmarks

2016-05-30 Thread Christian Brandstätter
Dear List, I discovered an issue; when plotting (base) in R, the tickmark-labels are slightly off (Windows machine). Thus, when saving the plot in R with x11() and dev(...) the plot-tickmarks shift, see the example below. Session Info: R version 3.2.3 (2015-12-10) Platform: x86_64-w64-ming

Re: [R] Getting Rid of NaN in ts Object

2016-05-27 Thread Christian Brandstätter
Hi Lorenzo, Try: tt[is.nan(tt)] <- NA tt <- na.omit(tt) Best, Christian Am 27.05.2016 um 13:38 schrieb Lorenzo Isella: On Fri, May 27, 2016 at 08:46:20PM +1000, Jim Lemon wrote: Hi Lorenzo, Maybe: tt<-tt[!is.nan(tt)] Jim Not really. tt<-structure(c(NaN, NaN, NaN, NaN, N

Re: [R] Help batch saving elements of a list into unique files

2016-03-23 Thread Christian T Stackhouse (Campus)
g I wanted to tackle manually. Sincerely, Christian T. Stackhouse | Graduate Student GBS Neuroscience Theme Department of Neurosurgery Department of Radiation Oncology UAB | The University of Alabama at Birmingham Hazelrig-Salter Radiation Oncology Center | 1700 6th Ave S | Birmingham, AL 35233 M: 9

Re: [R] Help batch saving elements of a list into unique files

2016-03-23 Thread Christian T Stackhouse (Campus)
Very close! The header now looks like this: c("10", "11", "1_", "HuEx", "1_0", "st", "v2", "", "CEL") For some reason, it's not concatenating. Best, Christian T. Stackhouse | Graduate Stude

Re: [R] Help batch saving elements of a list into unique files

2016-03-23 Thread Christian T Stackhouse (Campus)
te("affymetrix",affdf,".txt",sep="")) + } Error in names(out[[affdf]]) <- lapply(unlist(strsplit(names(out[[affdf]]), : 'names' attribute [1148] must be the same length as the vector [118] > This is what the header was before: X0.Classical.10.11.1_.HuEx.

Re: [R] Help batch saving elements of a list into unique files

2016-03-23 Thread Christian T Stackhouse (Campus)
Thank you, Jim. I got this error returned: Error in strsplit(names(out[[affdf]])) : argument "split" is missing, with no default Christian T. Stackhouse | Graduate Student GBS Neuroscience Theme Department of Neurosurgery Department of Radiation Oncology UAB | The University of

Re: [R] Help batch saving elements of a list into unique files

2016-03-23 Thread Christian T Stackhouse (Campus)
df,".txt",sep="")) } I got the files out with headers: 10.11.1_.HuEx.1_0.st.v2..CEL Minus the first two tokens (X0. and Classical.) I really appreciate you helping me with this. I'd never have figured this out in a timely manner. Christian T. Stackhouse | Graduate

Re: [R] Help batch saving elements of a list into unique files

2016-03-23 Thread Christian T Stackhouse (Campus)
uot;X0." prefix or in the case of file 189 the "X188." prefix leaving: Classical.10.11.1_.HuEx.1_0.st.v2..CEL Thank you so much for your help! I'll try playing with it myself, but if you have any further insights they would be greatly appreciated! Best, Christian T

Re: [R] Help batch saving elements of a list into unique files

2016-03-23 Thread Christian T Stackhouse (Campus)
I re ran it and this is what I got: 11.1_.HuEx.1_0.st.v2..CEL Should be: 10.11.1_.HuEx.1_0.st.v2..CEL Christian T. Stackhouse | Graduate Student GBS Neuroscience Theme Department of Neurosurgery Department of Radiation Oncology UAB | The University of Alabama at Birmingham Hazelrig-Salter

[R] Help batch saving elements of a list into unique files

2016-03-22 Thread Christian T Stackhouse (Campus)
th how to perform batch editing of the headers and batch saving of the files would be greatly appreciated! Best, Christian T. Stackhouse | Graduate Student GBS Neuroscience Theme Department of Neurosurgery Department of Radiation Oncology UAB | The University of Alabama at Birmingham Hazelrig-Salter Ra

Re: [R] Why CLARA clustering method does not give the same classes as when I do clustering manually?

2016-02-21 Thread Hennig, Christian
Clara uses the Euclidean distance. Why you get different results can only be said if you provide a reproducible code example for both what you did in clara and what you did "manually". Best wishes, Christian *** --- *** Christian Hennig University College London, Department of S

[R] vertical lines in riverplot

2016-02-03 Thread Brandstätter Christian
tween T03 and T04 is straight, but not vertical (1.). I could invert the plot manually after drawing it, but there could most likely be a more elegant solution (2.). Any ideas would be appreciated. Thank you, Christian library(riverplot) trplot <- function () { ret <- list(nodes = da

[R] value of variable in ls()

2015-10-18 Thread Christian Hoffmann
This may seem trivial: ls() gives me names of variables as a character vector. How can I print the values 'behind' those character values: ls() > "a" > a [1] 5 How can I do e.g. print("unknown"(ls())) and get the variable values in my current enviro

[R] ERROR: unable to collate and parse R files

2015-07-19 Thread Christian Hoffmann
s - check vignette : nothing - R CMD check --as-cran /Users/hoffmann/R/cwhmisc : Installation failed. 00install.out reads (also) Error : '\&' is an unrecognized escape in character string starting ""\&" ERROR: unable to collate and parse R files for pack

Re: [R] Mean error message missing

2015-06-08 Thread Christian Brandstätter
Thank you very much, I didn't know that. On 08/06/2015 6:04 AM, Christian Brandstätter wrote: Thank you for the explanation. But if you take for instance plot.default(), being another generic function, it would not work like that: plot(1,2,3,4), only plot(1,2) is accepted. From R

Re: [R] Mean error message missing

2015-06-08 Thread Christian Brandstätter
apparently na.rm (and trim, which is indicated in the help) is accepting numeric values. mean(c(1,NA,10),10,TRUE) mean(c(1,NA,10),10,FALSE) This should give at least a warning in my opinion. mean(c(1,NA,10),10,200) On 08/06/2015 09:27, Achim Zeileis wrote: > On Mon, 8 Jun 2015, Christian Bran

[R] Mean error message missing

2015-06-08 Thread Christian Brandstätter
is no warning, like in sd for example? Example code: mean(1,2,3,4) sd(1,2,3,4) Best regards Christian __ 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://

Re: [R] Help with lattice panel function

2015-04-29 Thread Brandstätter Christian
This worked for me. It is btw. quite confusing to name your y-variable x. I think part of the problem arised from the date format. xyplot(x + max.x ~ date, data = my.newdf, ylab = "x", panel = function(x, y, x2, ...){ panel.xyplot(x, y, type = "l") panel.loess(as.numeric(m

Re: [R] Cluster analysis using term frequencies

2015-03-24 Thread Christian Hennig
ural" number of clusters to cut the tree here but may not be the best to match your classification (for example, you may have a one-point cluster in the 3-cluster solution, so it may effectively be a two-cluster solution with an outlier). Your dendrogram, if you succeed plotting it, may give yo

[R] R CMD wants (unnecessary) packages ?

2015-03-01 Thread Christian Hoffmann
r recently uninstalled packages). Any help ? TIA -- Christian W. Hoffmann CH - 8915 Hausen am Albis, Schweiz Rigiblickstrasse 15 b, Tel.+41-44-7640853 mailto: christ...@echoffmann.ch home: www.echoffmann.ch __ R-help@r-project.org mailing list -- To U

Re: [R] aggregating variables (sum within groups)

2015-02-26 Thread Brandstätter Christian
(testdata$var1)) But homework shouldn't be posted on this list. Best regards Christian 2015-02-26 13:02 GMT+01:00 David Studer : > Hello everybody! > > I have a (probabely very easy) problem. Even though I was looking in > several r-books > I could not find a suitable func

Re: [R] Help on Principal Component Analysis in R

2015-01-14 Thread Brandstätter Christian
Christian 2015-01-14 0:17 GMT+01:00 R Help! : > Hello! > > I am a beginner to R. I have read several guides, but still am stuck on > this: > > I have data in an excel csv file, on which I want to run PCA. > I'm not sure how the prcomp formula works. The help page state

Re: [R] How to group by then count?

2015-01-04 Thread Christian Brandstätter
Dear Monnad, one possible way would be to use as.factor() and in the summary you would get counts for every level. Like this: x = c("1", "1", "2", "1", "5", "2") summary(as.factor(x)) Cheers, Christian > Hi all, >

[R] Problems with spatial data for Masterthesis

2014-12-18 Thread Christian Brodbeck
Hi I write my masterthesis and don't know how I can count points in a spatial net. In practical I have a data set for carsharing usage in Berlin. It includes the Idletime of the cars with Long/lat coordinates for the certain places. So if I plot those points I have something like a cloud of poi

[R] issues with corner.label() from plotrix

2014-12-16 Thread Brandstätter Christian
erly. Example (R version 3.1.0, plotrix version 3.5-7) barplot(sample(100),log="y") corner.label(x=-1,y=1,"test",cex=15) With best regards Christian Brandst�tter [[alternative HTML version deleted]] __ R-help@r-project.org maili

Re: [R] Is there an ID3 implementation in R?

2014-09-02 Thread Christian Schulz
Yes with: make_Weka_classifier(name, class = NULL, handlers = list(), init = NULL) HTH, Christian Hi Wensui, When I looked at their docs: http://cran.r-project.org/web/packages/RWeka/RWeka.pdf It appeared they only have a connection to: J48 LMT M5P DecisionStump Is it possible to connect it

Re: [R] clustering with hclust

2014-07-25 Thread Christian Hennig
/arxiv.org/abs/.6285 F. Murtagh and P. Legendre, "Ward's hierarchical clustering method: clustering criterion and agglomerative algorithm" It's not clear to me why one would want to use Ward's method for this kind of data, but that's your decision of course. B

[R] infix paste and package

2014-06-19 Thread Christian Hoffmann
sage{ a \%&\% b } will fail in R CMD check --as-cran saying "I am" %&% + " hungry" # [1] "I am hungry" Error: could not find function "%&%" Execution halted. What is wrong in my .Rd file? PS: The placement of the closing } and the esca

[R] HELP with fonts

2014-04-24 Thread christian millan
Hi,I have been trying to make my axis fonts and axis labels fonts in bold even when the I write the right command. I writing font.lab=2, font.axis=2 but the bold fonts don't show up. Any help? Thanks! [[alternative HTML version deleted]] __

[R] was: 127.0.0.1:22381/doc/html/index.html hep.start won't start

2014-04-15 Thread Christian Hoffmann
Dear All, I narrowed down my problem to library(tcltk) in .First() which causes the freezing of R and Aquamacs running it. What could make tcltk behave in this way? Christian I am using Aquamacs 3.0a (GNU Emacs 24.3.50.2)with R3.0.3, newly installed: sessionInfo() --- R version

Re: [R] Question: Do I need to set refit=FALSE when testing for random effects with anova()?

2014-04-07 Thread Christian Brauner
The question has been answered here: http://stackoverflow.com/questions/22892063/do-i-need-to-set-refit-false-when-testing-for-random-effects-in-lmer-models-wi [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://st

[R] Question: Do I need to set refit=FALSE when testing for random effects with anova()?

2014-04-06 Thread Christian Brauner
Hello, I am currently testing whether I should include certain random effects in my lmer model or not. I use the anova function for that. My procedure so far is to fit the model with a function call to lmer() with REML=TRUE (the default option). Then I call anova() on the two models where one of t

[R] 127.0.0.1:22381/doc/html/index.html hep.start won't start

2014-04-02 Thread Christian Hoffmann
responsible, deactivating will allow help.start()? Bur I don't want to work without the firewall!! Settingthe firewall for Firefox and Aquamacs to "allow incoming connections" (translated from German)will also not help. Thanks for consider

[R] 127.0.0.1:22381/doc/html/index.html won't start 2.

2014-04-01 Thread Christian Hoffmann
wrong with my configuration? Thanks for considering. Christian __ 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

[R] 127.0.0.1:22381/doc/html/index.html won't start

2014-04-01 Thread Christian Hoffmann
configuration? Thanks for considering. Christian __ 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

Re: [R] Problem importing file in R after switching from windows to Ubuntu

2014-03-01 Thread Christian De Santis
Thanks for your reply Ista and Duncan, i solved the issue and you were both right. Ista, my file was spelled with a capital L (as in "Light") and it wasn't recognized. However, this was never a problem in windows as Duncan pointed out. You live and learn. :-) Thanks very

[R] Problem importing file in R after switching from windows to Ubuntu

2014-02-28 Thread Christian De Santis
e too, i have checked and manually opened it. I know the message is telling me that he can't find the file or the directory but really, they are there and they are right (i think). Can someone give me some suggestions? What could i try? Or even better maybe you have a solution. Thanks

[R] Add primary key to sqlite table

2014-02-26 Thread Christian Oswald
Hello, is it possible to add a primary key to a sqlite table with Rsqlite? Without create a complex query string? I have tried dbWriteTable but don't found an option to define a field as primary key. Has someone suggestions? Thanks, Christian ___

Re: [R] RMySQL with Windows 7

2014-02-06 Thread Christian Oswald
I have the 5.5 Server but in the opt directory are only two files libmysql.dll and libmysql.lib Christian Am 06.02.2014 16:29, schrieb Gabor Grothendieck: > On Thu, Feb 6, 2014 at 3:52 PM, Christian Oswald > wrote: >> I understand, but in my case the R-Library is in my user-fold

Re: [R] RMySQL with Windows 7

2014-02-06 Thread Christian Oswald
I understand, but in my case the R-Library is in my user-folder. But I have investigate the files needed by RMySQL and found that the gcc searchs for libmysql.lib in MYSQL_HOME\lib\opt but it is only in lib. Copying it in lib/opt solved the problem. Thanks, Christian Am 06.02.2014 14:52

Re: [R] RMySQL with Windows 7

2014-02-06 Thread Christian Oswald
Hello, how can I install it on a wrong place? "install.packages("RMySQL",type=source) don't work correct? Christian Am 06.02.2014 09:28, schrieb Duncan Murdoch: > On 06/02/2014 8:43 AM, Christian Oswald wrote: >> Hello, >> >> I also don't found

Re: [R] RMySQL with Windows 7

2014-02-06 Thread Christian Oswald
Hello, I also don't found a solution for this problem. RMySQL works very well under Linux but not under Windows. You can try RODBC. Christian Am 05.02.2014 14:37, schrieb Peretz, Eliran: > > Hi , > > I read your post and followed your instructions but still couldn'

Re: [R] Problem connecting to database via RPostgreSQL/RS-DBI: "could not connect" error

2014-02-03 Thread Christian Oswald
Hello, what's your operating system? Windows? Perhaps you don't have an account administrator in the postgresql. libpg is not a R-library it's system dependent. (ubuntu "apt-get install libpg-dev") Christian Am 31.01.2014 22:40, schrieb andrewH: > In th

[R] history ?? 2 no readline ?

2013-12-16 Thread Christian Hoffmann
Hi, What could the cause of history() Error in savehistory(file) : no history available to save savehistory(file="myhist") Error in savehistory(file) : no history available to save save.image() be? I have the information in the attached gif Cheers Christian -- Christian W

Re: [R] R CMD check Error: package MASS was built before R 3.0.0 - not true!?

2013-10-29 Thread Hennig, Christian
Dear Jeff, thanks. Somehow R didn't install MASS where it later looked for it. I still haven't understood properly what caused the problem but I managed to fix it now (by specifying lib when installing it). Best wishes, Christian *** --- *** Christian Hennig University Coll

[R] R CMD check Error: package MASS was built before R 3.0.0 - not true!?

2013-10-29 Thread Christian Hennig
brary(MASS) works just fine. What can I do about this? Best wishes, Christian *** --- *** Christian Hennig University College London, Department of Statistical Science Gower St., London WC1E 6BT, phone +44 207 679 1698 c.hen...@ucl.ac.uk, www.homepages.ucl.ac.u

[R] Adding up normally distributed numbers seems to not create a t-distribution

2013-10-25 Thread Kramer, Christian
number generator or something else? Thanks a lot for replies in advance, Christian ---- Dr. Christian Kramer Theoretical Chemistry University of Innsbruck Innrain 82 A-6020 Innsbruck Tel.: +43 512 507 57103 Homepage: http://homepage.uibk.ac.at/~c72448/krame

[R] there is no package called 'boot'

2013-10-14 Thread Christian Hoffmann
.23-10 [13] cwhmisc_4.1 lattice_0.20-15 -- Christian W. Hoffmann, CH - 8915 Hausen am Albis, Switzerland Rigiblickstrasse 15 b, Tel.+41-44-7640853 (!! c-w.hoffm...@sunrise.ch, ) mailto: christ...@echoffmann.ch home: www.echoffmann.ch __ R-help@r-project

Re: [R] Markov Decision Process

2013-09-14 Thread Christian Schulz
Maybe msm (Multi-state modelling) is a starting point. You'll find the manual in the package/doc folder after installation. HTH Christian Dear All, I am struggling with the conceptual aspects of a problem. I am sure that someone on this list must be familiar with this. Let's sa

Re: [R] Problem adding lines to a plot, when y is defined

2013-09-09 Thread Cech, Christian
>> On Sep 9, 2013, at 9:00 AM, Cech, Christian wrote: >> >>> Dear all, >>> >>> I want to create a line-plot with two lines and some additional >>> scatter-plots. >>> However, adding a line to the plot does not work when I specify the >

Re: [R] sparse PCA using nsprcomp package

2013-09-09 Thread Christian Sigg
orithm, use nscumcomp. There will be substantial improvements to nscumcomp in the next release, if you want to use it I suggest you wait until then. Regards Christian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] sparse PCA using nsprcomp package

2013-09-05 Thread Christian Sigg
) } to compute the additional variances for given X and W. The package documentation will explain the above in some more detail, and I will also have a small blog post which compares the 'nsprcomp' and 'spca' routine from the 'elasticnet' package on the 'mar

[R] Package random forest: can corr.bias be harmful?

2013-06-21 Thread Christian Kampichler
between the out-of-bag-prediction and the observed values which is used for correction of all predictions made by the model, but this does not appear so harmful to me. -- Dr. Christian Kampichler Sovon Dutch Centre for Field Ornithology PO Box 6521, 6503 GA Nijmegen, The Netherlands +31 24 7 410

[R] chooseCRANmirror

2013-05-31 Thread Christian Hoffmann
Obviously, chooseCRANmirror() is run at every start. Can I permanently store my choice with q() and 'yes' ? Cheers Christian -- Christian W. Hoffmann, CH - 8915 Hausen am Albis, Switzerland Rigiblickstrasse 15 b, Tel.+41-44-7640853 c-w.hoffm...@sunrise.ch, christ...@ech

Re: [R] Memory usage reported by gc() differs from 'top'

2013-04-19 Thread Christian Brechbühler
; it's growing rapidly during the run of my code, and accounts for all of "res" and 98% of "virt". The others are less exciting, mostly memory mapped files (e.g., lib/R/library/MASS/libs/x86_64/MASS.so), and change at most by a few k Referenced, or moved from Rss to Swap. So c

[R] Memory usage reported by gc() differs from 'top'

2013-04-17 Thread Christian Brechbühler
version 2.15.1 beta (2012-06-11 r59557) -- "Roasted Marshmallows". I appreciate any insights you can share into R's memory management, and gc() in particular. /Christian [[alternative HTML version deleted]] __ R-help@r-project.org

[R] Parameter Estimation in R with Sums and Lagged Variables

2013-04-01 Thread Christian Satzky
elp me out on this one! Kind regards & Happy Easter, Christian [[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.o

[R] How do I calculate prediction intervals for GLM, BRT and MARS models in R?

2013-02-28 Thread Christian Kampichler
uff I read. I would by satisfied by knowing how to code this in R (and accept the methods as black boxes...). Can anyone provide me with information on (1) which R packages can be used for these purposes, and (2) where I can find example code? --  Christian Kampichler Roghorst 91 6708 KD Wagen

Re: [R] mixed effects meta-regression: nlme vs. metafor

2013-01-23 Thread Christian Röver
) is very likely to help you further. Thanks; I was also thinking of switching to OpenBUGS + R2OpenBUGS, which should provide the necessary flexibility at the price of some extra complication... but having worked with it before, it should be doable... Cheers, Christian __

[R] mixed effects meta-regression: nlme vs. metafor

2013-01-23 Thread Christian Röver
ts belong to the same study, i.e., have a common random effect. What I am missing is an equivalent to the "random" statement in the "lme()" command above. Adding an option like "slab=as.character(dat$study)" only seems to affect the labeling but not the actual computation.

[R] Aquamacs Preferences not showing, windows inaccessible, Scrolling not possible !!!

2013-01-12 Thread Christian Hoffmann
. Menu 'windows' shows several windows, but clicking on them will not open their buffers. Also, reinstallation of Aquamacs-2.4 (the newest version) did not help. What can I do? Christian -- Christian W. Hoffmann, CH - 8915 Hausen am Albis, Switzerland Rigiblickstrasse 15 b, Tel.+41-44

[R] R --no-readline ?, was: history and readline, Mac OSX

2012-12-06 Thread Christian Hoffmann
-14 spatial_7.3-5 rpart_3.1-55 nnet_7.3-5 [5] nlme_3.1-105 mgcv_1.7-22 foreign_0.8-51 codetools_0.2-8 [9] cluster_1.14.3class_7.3-5 boot_1.3-7 Matrix_1.0-9 [13] MASS_7.3-22 KernSmooth_2.23-8 cwhmisc_4.0 lattice_0.20-10 > -- Christian W. Hoffmann, CH - 8915 Hau

[R] .Rd vs. .R, matrix multiplication

2012-12-03 Thread Christian Hoffmann
execute this execution. What can be done here? TIA Christian -- Christian W. Hoffmann, CH - 8915 Hausen am Albis, Switzerland Rigiblickstrasse 15 b, Tel.+41-44-7640853 c-w.hoffm...@sunrise.ch, christ...@echoffmann.ch, www.echoffmann.ch __ R-help@r

Re: [R] cluster analysis in R

2012-11-16 Thread Hennig, Christian
org.uk/site/cms/contentviewarticle.asp?article=866#Link%20to%20Nov.%202012%20paper where I discuss a number of related issues. Best regards, Christian *** --- *** Christian Hennig University College London, Department of Statistical Science Gower St., London WC1E 6BT, phone +44 207 679 1698 c.h

[R] install own package ?

2012-11-14 Thread Christian Hoffmann
e_3.1-104 mgcv_1.7-18 foreign_0.8-50 codetools_0.2-8 [9] cluster_1.14.2class_7.3-3 boot_1.3-4 Matrix_1.0-6 [13] MASS_7.3-18 KernSmooth_2.23-7 cwhmisc_3.0 lattice_0.20-6 > The .tar.gz has been generated by R CMD build, and is a source package, as suggested in the help. T

[R] division giving spurious NA

2012-11-05 Thread Christian Hoffmann
935 NA NANA [2,] 0.4795913 0.253541 NA 0.9782823 where do the two Nas in columns 2 and 4 come from? TIA Christian -- Christian W. Hoffmann, CH - 8915 Hausen am Albis, Switzerland Rigiblickstrasse 15 b, Tel.+41-44-7640853 c-w.hoffm...@sunrise.ch, christ...@echoffmann

[R] quartz.save of the FAQ (Mac)

2012-10-22 Thread Christian Hoffmann
orrecting the errors in the text and for enlighten me an quartz.save. Christian PS I wrote the following function for saving the quartz window (thanks \author{Ray Brownrigg \email{r...@mcs.vuw.ac.nz}): pdfc <- function (file = "Rplot.pdf", ...) { current.device <- dev.cur

  1   2   3   4   5   >