[R] RTerm.exe

2018-12-17 Thread peter
Hi, I have recently downloaded R and accessed. I am using Zorro (a development platform for ForeX) and requested to add my path for RTerm.exe I can't find RTerm.exe and confirm that I appear to load R using "C:\Program Files\R\R-3.5.1\bin\x64\Rgui.exe" R

[R] memory error in for loop

2010-03-05 Thread Peter
in memory overload but I have been struggling to figure it out all day with no success. I have included below the for loop in the code and the beginning of the error message that is produced in the terminal. Any suggestions would be most welcome. thanks in advance, peter script: #create a list

Re: [R] GUI /IDE

2010-03-30 Thread Peter
Emacs allows you run regions. Not sure about naming them Peter ManInMoon wrote: Does anyone know of a gui for R that has "regions" i.e areas of code in a script that can be named and hopefully run as a section? @region Init library(whatever) myprint<-function(...){print(...

[R] Out-of-sample prediction with VAR

2010-02-07 Thread peter
Good day, I'm using a VAR model to forecast sales with some extra variables (google trends data). I have divided my dataset into a trainingset (weekly sales + vars in 2006 and 2007) and a holdout set (2008). It is unclear to me how I should predict the out-of-sample data, because using the predict

[R] PostScript/PDF graphics with another font

2010-09-06 Thread Peter
I am using the standard phonetic font "Doulos SIL" in a graph (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=DoulosSILfont) This is an example: windowsFonts(IPA="TT Doulos SIL") barplot(c(1,2,3,4,5),names=c("\u{0251}","\u{0252}","\u{0253}","\u{0254}","\u{0255}"),family="IPA") Howe

[R] beginner question - effective way to chart sleep habits

2011-07-01 Thread Peter
Hi - beginning R user question here - each day, over the course of several months, I've tracked the time I go to bed, the time I wake up, and my hours spent sleeping. What would be a good way to display this information? I think it would be ideal to show something resembling a bar and whisker gra

Re: [R] beginner question - effective way to chart sleep habits

2011-07-01 Thread Peter
On Fri, Jul 1, 2011 at 9:45 PM, Joshua Wiley wrote: > Hi Peter, > > There are lots and lots of ways. Here are examples of a few that came > to mind. If you have never used the ggplot2 package, you will first > need to install it, which you can do by typing: > > [snip] In

Re: [R] as.data.frame doesn't set col.names

2017-10-25 Thread Peter Dalgaard
> On 24 Oct 2017, at 22:45 , David L Carlson wrote: > > You left out all the most important bits of information. What is yo? Are you > trying to assign a data frame to a single column in another data frame? > Printing head(samples) tells us nothing about what data types you have, > especially

Re: [R] Problem Subsetting Rows that Have NA's

2017-10-25 Thread peter dalgaard
w.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. > > I wanted to know if this was a bug so that I could report it if so. You say > it is not, so you answered my question. As far as me not reading the > docume

Re: [R] R encountered a fatal error. The session was terminated. + *** caught illegal operation ***

2017-10-26 Thread peter dalgaard
rnative HTML version deleted]] >> >> __ >> 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 pr

Re: [R] R encountered a fatal error. The session was terminated. + *** caught illegal operation ***

2017-10-26 Thread peter dalgaard
otherwise. (Looks like I had a script window looking at a function in .GlobalEnv which was no longer there. Closing the script seems to have cured the problem.) -pd > On 26 Oct 2017, at 15:04 , peter dalgaard wrote: > > Also, check whether R runs standalone, either as Rgui or in Ter

Re: [R] Correct subsetting in R

2017-11-02 Thread peter dalgaard
e claimant lies > again. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PL

Re: [R] Problem with r project in ubuntu xenial

2017-11-03 Thread peter dalgaard
ing 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. -- Peter Dalgaard, Professor, Center for Statistics, Cope

Re: [R] Using MLE on a somewhat unusual likelihood function

2017-11-07 Thread peter dalgaard
ponding! > /Hugo > > [[alternative HTML version deleted]] > > __ > 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://ww

Re: [R] Using MLE on a somewhat unusual likelihood function

2017-11-07 Thread peter dalgaard
> On 7 Nov 2017, at 11:38 , peter dalgaard wrote: > > Presumably you wanted -sum(lnagevec[lnwagevec>-200 & ln2wagevec<200], > na.rm=TRUE) Well, after correcting the obvious spelling error. Sorry about that... -pd -- Peter Dalgaard, Professor, Center for Statistic

[R] R 3.4.3 scheduled for November 30

2017-11-09 Thread Peter Dalgaard
Full schedule available on developer.r-project.org (pending auto-update from SVN) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] ks.test() with 2 samples vs. 1 sample an distr. function

2017-11-16 Thread peter dalgaard
ml > 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-p

Re: [R] Yield-to-Maturity problem

2017-11-16 Thread peter dalgaard
self-contained, reproducible code. >> > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do rea

Re: [R] tcltk problems

2017-11-17 Thread Peter Langfelder
Rolf, looking at the configure script I believe you need to specify --with-tcl-config=/usr/lib/tcl8.6/tclConfig.sh and similarly --with-tk-config= HTH, Peter On Fri, Nov 17, 2017 at 8:43 PM, Rolf Turner wrote: > On 18/11/17 17:00, Erin Hodgess wrote: >> >> When I hav

Re: [R] tcltk problems

2017-11-18 Thread peter dalgaard
on. I would have expected that tclConfig.sh would be found in /usr/lib or /usr/local/lib. -pd > On 18 Nov 2017, at 06:18 , Peter Langfelder > wrote: > > Rolf, > > looking at the configure script I believe you need to specify > > --with-tcl-config=/usr/lib/tcl8.6/tclConfig

Re: [R] [FORGED] Re: tcltk problems

2017-11-18 Thread peter dalgaard
lp > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)3815350

Re: [R] tcltk problems

2017-11-19 Thread peter dalgaard
whim, I scanned through config.log some more and found many, many > errors logged and many, many "compilation terminated" notes. In particular > there seem to be problems with a file "confdef.h", which repeatedly seems to > give rise to "fatal errors". (Whe

Re: [R] tcltk problems

2017-11-19 Thread peter dalgaard
: > > LIBnn='lib64' > > (on line 19901 !!!) > > So it would appear that Peter D.'s conjecture is correct. > > OTOH this is waaayyy after the "checking for tclConfig.sh" business, which > happens at about line 15101 of config.log. So how doe

Re: [R] mystery "158"

2017-11-21 Thread Peter Langfelder
Your data frame fam contains factors. Turn it into character strings using fam$Family = as.character(fam$Family) and try again. It may be helpful if you read up on R's factors, see ?factor. HTH, Peter On Tue, Nov 21, 2017 at 2:14 PM, Glen Forister wrote: > This is a simple proble

Re: [R] libPaths displays truncated path?

2017-11-23 Thread peter dalgaard
e >> >> __ >> 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 >&g

[R] R 3.4.3 is released

2017-11-30 Thread Peter Dalgaard
rer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = f12a9c3881197b20b08dd3d1f9d005e6 MD

Re: [R] Rcpp, dyn.load and C++ problems

2017-12-03 Thread Peter Langfelder
he object. HTH, Peter On Sun, Dec 3, 2017 at 11:04 AM, Martin Møller Skarbiniks Pedersen wrote: > On 3 December 2017 at 05:23, Eric Berger wrote: > >> >> Do a search on "Rcpp calling C++ functions from R" >> > > Thanks. However search for "Rcpp calli

Re: [R] ggtern and bquote...

2017-12-04 Thread peter dalgaard
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. -- Peter Dalgaard, Professor, Center for St

Re: [R] ggtern and bquote...

2017-12-04 Thread peter dalgaard
>> invalid 'type' (expression) of argument >> >> >> Maybe i am writing the code wrong, i couldn't figure out. >> >> Thanks for your kind answers. >> >> >> >> >>

Re: [R] Dynamic reference, right-hand side of function

2017-12-04 Thread peter dalgaard
> 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, reproducibl

Re: [R] Dynamic reference, right-hand side of function

2017-12-04 Thread peter dalgaard
thinking about loops is something I do since I worked with Stata a lot. The > syntax from Peter Dalgaard was really clever, and I learned a lot from it, > even though it didn't solve my problem (I guess it wasn't very well > explained). My problem was basically that I have a data matr

Re: [R] parallel computing with foreach()

2017-12-06 Thread Peter Langfelder
ind, stringsAsFactors = FALSE) : arguments imply differing number of rows: 25, 0 HTH, Peter On Wed, Dec 6, 2017 at 10:03 PM, Kumar Mainali wrote: > I have used foreach() for parallel computing but in the current problem, it > is not working. Given the volume and type of the data involved in the &

Re: [R] Auto Data in the ISLR Package

2017-12-17 Thread peter dalgaard
___ >> 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 provid

Re: [R] Fitting Beta Distribution

2017-12-22 Thread peter dalgaard
ta2 is the same quantity written explicitly, without the > normalization factor (which should not matter at all if we talk about > maximizing a quantity). > -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone:

Re: [R] Why aov() with Error() gives three strata?

2017-12-28 Thread peter dalgaard
;>[[alternative HTML version deleted]] >>> >>> __ >>> 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 gui

Re: [R] Help with dates

2017-12-29 Thread peter dalgaard
, 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-guid

Re: [R] termplot intervals - SE or CI?

2018-01-11 Thread peter dalgaard
ed person's use only. It=2...{{dropped:30}} > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the p

Re: [R] application of R

2018-01-12 Thread peter dalgaard
language I could > take up and learn to make a commercial statistical software ? Any advices as > well ? -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk

Re: [R] reading lisp file in R

2018-01-18 Thread Peter Crowther
Depends what else the students are learning. Hope this helps rather than hinders. - Peter On 18 January 2018 at 05:25, Ranjan Maitra wrote: > Thanks! I am trying to use it in R. (Actually, I try to give my students > experiences with different kinds of files and I was wondering if there w

Re: [R] reading lisp file in R

2018-01-18 Thread peter dalgaard
Subject: bigger file part 3 > To: souders%merid...@ads.arpa > In-Reply-To: <8801182147.aa08...@ads.arpa> > Message-ID: <12367705229.11.lebow...@cs.columbia.edu> > > (DEF-INSTANCE GEORGETOWN > (STATE MARYLAND) > (LOCATION URBAN) > (CONTROL PRIVATE) > (NO-OF-STUDEN

Re: [R] max and pmax of NA and NaN

2018-01-20 Thread peter dalgaard
s.na(*) is > typically sufficient and "best" -- it gives TRUE for both NA and NaN. > > > Martin Maechler > ETH Zurich > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.eth

[R] [R-pkgs] new package TSrepr

2018-01-26 Thread Peter Laurinec
Examples how to extend TSrepr functionalities are here: https://cran.r-project.org/web/packages/TSrepr/vignettes/TSrepr_extentions.html Any suggestions and comments are welcome. Best regards, Peter Laurinec Email: tsreprpack...@gmail.com [[alternative HTML

Re: [R] Updating Rcpp package when it is claimed by dplyr

2018-02-02 Thread peter dalgaard
osevelt >> >> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. >> >> __ >> 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 >

Re: [R] Unexpected behaviour from read.table

2018-02-05 Thread peter dalgaard
t) > Running under: macOS High Sierra 10.13.2 / Ubuntu 16.04.3 LTS > > > > > > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >

Re: [R] [FORGED] Re: SE for all levels (including reference) of a factor atfer a GLM

2018-02-16 Thread Peter Dalgaard
= 0. ...and consequently, being a constant, has an s.e. of 0. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

[R] Problem installing libxml2 under Homebrew

2018-02-16 Thread Peter Meilstrup
L --configure-vars='INCLUDE_DIR=... LIB_DIR=...' ERROR: configuration failed for package ‘xml2’ Homebrew package info: dekkera:pkgconfig peter$ brew info libxml2 R libxml2: stable 2.9.7 (bottled), HEAD [keg-only] GNOME XML

Re: [R] How to Save the residuals of an LM object greater or less than a certin value to an R object?

2018-02-23 Thread Peter Dalgaard
elf-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 &

Re: [R] reshaping column items into rows per unique ID

2018-02-25 Thread peter dalgaard
j","c","c","f"), >stringsAsFactors=FALSE) > with(df1, tapply(DietType, CustId, list)) $`1` [1] "a" "c" "b" $`2` [1] "f" $`3` [1] "a" "j" $`4` [1] "c" "c" &qu

Re: [R] Sum of columns of a data frame equal to NA when all the elements are NA

2018-03-21 Thread peter dalgaard
scanned by Libra ESVA and is believed to be clean. >>>> >>>> >>>>[[alternative HTML version deleted]] >>>> >>>> __ >>>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

Re: [R] unable to move temporary installation of package

2018-03-27 Thread peter dalgaard
nd regular R 3.4.4, and I >>>>>> get the same error. >>>>>> >>>>>> >>>>>> >>>>>> Thanks for any help, >>>>>> >>>>>> Paul Lantos >&g

Re: [R] R and Java 10 ➜ rJava not able to build

2018-03-31 Thread peter dalgaard
CRIBE 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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Bus

[R] WGCNA package installation segmentation fault

2018-04-12 Thread Peter Langfelder
the newest but I would guess that this is not an R version issue. I'm attaching two sessionInfo() outputs on systems where the installation throws a segfault. Any pointers/ideas as to what could be going wrong? Thanks,

Re: [R] Reading xpt files into R

2018-04-14 Thread peter dalgaard
; distribution. It refers you to > https://support.sas.com/techsup/technote/ts140.pdf for details on the format. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cb

Re: [R] Hacked

2018-04-17 Thread Peter Langfelder
I got some spam emails after my last post to the list, and the emails did not seem to go through r-help. The spammers may be subscribed to the r-help, or they get the poster emails from some of the web copies of this list (nabble or similar). Peter On Tue, Apr 17, 2018 at 11:37 AM, Ulrik Stervbo

Re: [R] How to dynamically add variables to a dataframe

2018-04-23 Thread peter dalgaard
[alternative HTML version deleted]] > > __ > 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 > a

Re: [R] Package 'data.table' in version R-3.5.0 not successfully being installed

2018-04-27 Thread peter dalgaard
rised if the root cause is the changes >to POSIXlt methods in 3.5.0, but I haven't actually been digging in to check >that. - Peter D. > On 26 Apr 2018, at 23:32 , Dénes Tóth wrote: > > You might find this discussion useful, too: > https://github.com/Rdatatable/data.tab

Re: [R] Merging dataframes

2018-05-01 Thread peter dalgaard
IBE 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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business S

Re: [R] add one variable to a data frame

2018-05-11 Thread peter dalgaard
[ match( dat1$B, unique(dat1$B) )] -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@r-proj

Re: [R] questions on subscores.

2018-05-15 Thread peter dalgaard
leted]] > > __ > 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, m

Re: [R] Nelson-Aalen Estimator in R: Error Message

2018-05-22 Thread peter dalgaard
re, 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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business Sc

Re: [R] Time and date conversion

2018-06-04 Thread peter dalgaard
> Thanks for any pointer. > > [[alternative HTML version deleted]] > > __ > 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 h

Re: [R] malware reported by antivirus on R Windows .exe file

2018-06-05 Thread peter dalgaard
ject.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. -- Peter Dalgaard, Professor, Center for Statis

Re: [R] mzR fails to install/compile (linuxes)

2018-06-16 Thread Peter Dalgaard
ar only "mzR" and "MSnbase" fail if I > compile with -j>1. > > Would anybody be able to confirm this problem exists? > Many thanks, L. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] specifying random effects covariance structure in nlme

2018-06-16 Thread Peter Dalgaard
t.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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Fred

Re: [R] Help, zero-truncated Binomial distribution

2018-06-18 Thread peter dalgaard
__ > 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. -- Peter Dalgaard,

Re: [R] interpret a p-value result as a significance of a linear regression in terms of sigmas

2018-06-20 Thread Peter Dalgaard
> 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. -- Peter Dalgaar

Re: [R] OT --- grammar.

2018-06-24 Thread Peter Langfelder
I would use "the number of degrees of freedom is defined... ". Peter On Sun, Jun 24, 2018 at 2:46 PM Rolf Turner wrote: > > > Does/should one say "the degrees of freedom is defined to be" or "the > degrees of freedom are defined to be"? > > Al

Re: [R] R maintains old values

2018-07-03 Thread peter dalgaard
l >>>> 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

Re: [R] R maintains old values

2018-07-03 Thread peter dalgaard
pts vs. developmental ones. > > Now, to add to the controversy, how do you set a computer on fire? Short the lithium battery? -pd > > JN > > On 2018-07-03 03:52 AM, peter dalgaard wrote: >> Also beware the traveling arsonist, Jenny Bryan: >> >> https://www.t

Re: [R] gamlss() vs glm() standard errors via summary() vs vcov()

2018-07-04 Thread Peter Dalgaard
))) > cbind(SEvcov1, SEvcov2) # Corresponds > > # Compare between summary() and vcov() extraction. Missmatch. > cbind(SESum1, SEvcov1) > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://sta

Re: [R] R is creating a new level which is emty after importing a SAS file

2018-07-04 Thread peter dalgaard
TML version deleted]] > > __ > 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 pro

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

2018-07-21 Thread peter dalgaard
elp" usually ...does not help. You > need a clear unambigous description of everything that was in place and > exactly what was being done when the unexpected behavior occurred. Hm, well, seen worse... However, some detective works seems required. C: (a) Can you at this point do th

Re: [R] Difference between R for the Mac and for Windows

2017-04-01 Thread peter dalgaard
Hasselman > > __ > 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

Re: [R] pull stat out of summary

2017-04-01 Thread peter dalgaard
; Thanks... >> > > -- > Sarah Goslee > http://www.functionaldiversity.org > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the

Re: [R] The R-help community list was started on this day 20 years ago

2017-04-02 Thread peter dalgaard
fooling? > > __ > 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, m

Re: [R] The R-help community list was started on this day 20 years ago

2017-04-02 Thread peter dalgaard
> On 02 Apr 2017, at 14:53 , Spencer Graves > wrote: > > > > On 2017-04-02 4:10 AM, peter dalgaard wrote: >> Not fooling, no. >> >> However, r-help/r-announce/r-devel was a restructuring of the r-testers >> list. This goes back to March 20, 1996. T

Re: [R] The R-help community list was started on this day 20 years ago

2017-04-02 Thread peter dalgaard
> On 02 Apr 2017, at 19:15 , Spencer Graves > wrote: > > > > On 2017-04-02 8:42 AM, peter dalgaard wrote: >>> On 02 Apr 2017, at 14:53 , Spencer Graves >>> wrote: >>> >>> >>> >>> On 2017-04-02 4:10 AM, peter dalga

Re: [R] R function stopped working

2017-04-04 Thread peter dalgaard
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. -- Peter Dalgaard, Professor, Cen

Re: [R] R function stopped working

2017-04-04 Thread peter dalgaard
, the loop is working > fine on its own (so the path, name, filename, and all other variables > called from the function exist, are available and are recognized just > fine). It just doesn't do anything (anymore) if the loop is inside a > function. > > > On Tue, 2017-04-0

Re: [R] Code to construct table with paired data

2017-04-08 Thread peter dalgaard
ance, > > > Maurício Cardeal > > Federal University of Bahia, Brazil > > > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > ht

Re: [R] Finding Infimum in R

2017-04-10 Thread Peter Dalgaard
t;>> For a piecewise function F similar to the attached graph, I would like >>>>>>> to >>>>>>> find >>>>>>> inf{x| F(x) >=0}. >>>>>>> >>>>>>>

Re: [R] Sample size using residual standard deviation

2017-04-12 Thread peter dalgaard
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 rea

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-16 Thread peter dalgaard
developing that mind_read() function referred to in fortune(182). > > cheers, > > Rolf Turner > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > >

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-16 Thread peter dalgaard
code. -pd > On 17 Apr 2017, at 00:43 , BR_email wrote: > > Peter: > Thanks for reply and suggestion. > Sorry, I am not sure how to assess. > The doc is too technical for me to understand. > I found multiple instructions online and in R and RStudio books. > I'm

Re: [R] Return value from function with For loop

2017-04-17 Thread peter dalgaard
shares this >> anomalous behavior with `while` and `repeat`.n Almost all functions are >> invoked with a possibly empty argument list. The next and break functions >> have implicit paired (empty) parentheses. >>>> >>>> (My personal opinion is that this

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-17 Thread Peter Dalgaard
e", to="C:/Users/BruceRatner/Documents/.Rprofile") (and restart, obviously). [I wouldn't set the seed in a .Rprofile file, nor would I use rm() there, but that is a different kettle of fish.] -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School

Re: [R] A new -up?

2017-04-19 Thread peter dalgaard
hone: +64-9-373-7599 ext. 88276 > > __ > 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 &

Re: [R] Wilcoxon Test

2017-04-21 Thread peter dalgaard
d. > > hth, > Z > > __ > 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

[R] R 3.4.0 is released

2017-04-21 Thread Peter Dalgaard
rer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = f12a9c3881197b20b08dd3d1f9d005e6 MD

Re: [R] Looking for a package to replace xtable

2017-04-22 Thread peter dalgaard
;>>> would not have to use with() or attach(). >>>>> >>>>> I'm not sure what the first few lines of your code are intended to do. >>>>> You choose random binomial values and uniform random values and then >>>>> order the fir

Re: [R] Interesting quirk with fractions and rounding / using == for floating point

2017-04-23 Thread peter dalgaard
> On 23 Apr 2017, at 14:49 , J C Nash wrote: > > > So equality in floating point is not always "wrong", though it should be used > with some attention to what is going on. > > Apologies to those (e.g., Peter D.) who have heard this all before. I suspect >

Re: [R] Error with installed.packages with R 3.4.0 on Windows

2017-04-28 Thread peter dalgaard
___ > 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

Re: [R] Error with installed.packages with R 3.4.0 on Windows

2017-04-28 Thread peter dalgaard
> On 28 Apr 2017, at 12:08 , Duncan Murdoch wrote: > > On 28/04/2017 4:45 AM, Thierry Onkelinx wrote: >> Dear Peter, >> >> It actually breaks install.packages(). So it is not that innocent. > > I don't think he meant that it is harmless, he meant that th

Re: [R] how to assign a value to a specific position of a list

2017-04-30 Thread peter dalgaard
? Is there any alternatives? Many thanks! > > Best, > Jinsong > > __ > 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 htt

Re: [R] Lattice xyplot

2017-05-01 Thread peter dalgaard
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] Perfect prediction of AR1 series using package dlm, posted on stack exchange

2017-05-04 Thread peter dalgaard
> 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. -- Peter D

Re: [R] Mac-specific encoding bug

2017-05-07 Thread peter dalgaard
7;s going > on? Python being less careful than R? Basically, things get encoded if not known to be printable, and "Cyrillic Small Letter Palochka" is (it seems) not recorded as printable in the common utf-8 locales. From what I can google, it is used in Chechen and even then only as a

Re: [R] Copy and Rename Folder in same directory

2017-05-08 Thread peter dalgaard
,if I give a single file name it copies that file >>to new >>folder. >> >>Any thoughts ? >> >> >>Getting FALSE where? >> >>Does list.of.files look right? >> >>If it contains any directories, you'll want "recursive = TR

Re: [R] Factors and Alternatives

2017-05-09 Thread peter dalgaard
ves also access > to the original values? > > Kind regards > > Georg > > __ > 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 ht

Re: [R] Generating samples from truncated multivariate Student-t distribution

2017-05-10 Thread peter dalgaard
___ > 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. --

  1   2   3   4   5   6   7   8   9   10   >