Re: [ESS] Error starting R

2018-10-08 Thread Neil Shephard via ESS-help
=0x0E7ECE9C10D7B4A0 On Thu, 4 Oct 2018 at 09:40, Neil Shephard wrote: > > > > On Wed, 3 Oct 2018 at 21:08, Alex Branham wrote: > >> >> Thanks. I've tried to reproduce this and am having issues still. Just to >> confirm: you don't have any ess-* packages (ess-smart-unders

Re: [ESS] Error starting R

2018-10-04 Thread Neil Shephard via ESS-help
On Wed, 3 Oct 2018 at 21:08, Alex Branham wrote: > > Thanks. I've tried to reproduce this and am having issues still. Just to > confirm: you don't have any ess-* packages (ess-smart-underscore, > ess-R-object-viewer, etc) installed, either system wide or under > ~/.emacs.d/elpa? > > Nope, after

Re: [ESS] Error starting R

2018-10-04 Thread Neil Shephard via ESS-help
Thanks for the suggestions. I do already version control some files under ~/.emacs.d (and many other ~/.* files as I'm trying to organise a dotfiles repo for myself) such as init.el and a sub-dir 'settings' which holds multiple files that are loaded from init.el. I opted to explicitly ignore

Re: [ESS] Error starting R

2018-10-03 Thread Neil Shephard via ESS-help
Timely On Wed, 3 Oct 2018 at 20:16, Alex Branham wrote: > > > I've tried disabling ess-smart-underscore as Alex suggests but no joy. > > I'm not familiar with how this package works but disabling it (by > removing the "require" from your init file) might not be enough. Emacs's > package

Re: [ESS] Error starting R

2018-10-03 Thread Neil Shephard via ESS-help
://pgp.mit.edu/pks/lookup?op=get=0x0E7ECE9C10D7B4A0 Website - http://kimura.no-ip.info/ Photos - http://www.flickr.com/photos/slackline/ On Wed, 3 Oct 2018 at 15:44, Alex Branham wrote: > > On Wed 03 Oct 2018 at 05:34, Neil Shephard via ESS-help < > ess-help@r-project.org> wrote: &g

[ESS] Error starting R

2018-10-03 Thread Neil Shephard via ESS-help
Hi, I've recently encountered a problem which prevents me from using M-x R to start an R session under Emacs. On doing so I'm informed that... autoload-do-load: Wrong type argument: consp, nil I'm using Emacs 25.3.1 with ESS installed from ELPA (20181003.755). I've asked on the Emacs

[ESS] ess-17.11-tgz is not compressed

2017-12-05 Thread Neil Shephard
Hi, I've only just caught up on the update to ess-17.11 and went to install it using the Gentoo Linux package management system portage. It complained that the ess-17.11.tgz was not a compressed archive and this appears to be true, its just a plain tar-ball. This means that when portage trys to

Re: [R] Literature analysis

2009-12-11 Thread Neil Shephard
On Fri, Dec 11, 2009 at 2:04 PM, Schwan s.s.hosse...@utwente.nl wrote: Thanks, but how should I put the citation inside a data frame? data.frame(first txt file, second txt file...) plot (what should I insert here) type=p And how should I load the txt files anyway inside the frame?

Re: [R] multiple hypothesis testing

2009-03-17 Thread Neil Shephard
Vijaykumar Muley wrote: Dear all, Myself Vijaykumar Muley working as senior research fellow. By training I am a computational biologist with not a strong knowledge of statistics. I have done some analysis which is explained as follows, I have 10340 (X) profiles of binary vectors

Re: [R] Fwd: Converting R to Sweave (Rnw)

2009-03-02 Thread Neil Shephard
Rainer M Krug-6 wrote: Hi I am thinking about using Sweave more frequently, especially for documenting code. But the syntax is slightly awkward for me (name= ... @), and I was thinking if there would be a way of importing the type of code extracted from an Rnw file back into an Rnw

Re: [R] installing R on Ubuntu

2009-02-10 Thread Neil Shephard
znmeb wrote: On Mon, Feb 9, 2009 at 4:51 AM, Neil Shephard nsheph...@gmail.com wrote: There are pro's and con's to each of the GNU/Linux flavours and its really a matter of deciding which you like/have invested time in learning. Irrespective its still simple to install R from source

Re: [R] Best 64-bit Linux distro for R?

2009-02-09 Thread Neil Shephard
KMSL wrote: I'm running R on the current version of Gentoo and had no trouble building the complete system required. The only problem is that the current version in portage (stable) is 2.7.2. The latest _stable_ version (in terms of Gentoo's testing and release policy, NOT R's) is

Re: [R] installing R on Ubuntu

2009-02-09 Thread Neil Shephard
The preceived difficulty of installing R under whatever flavour of GNU/Linux in this thread stems from being unfamiliar with the process of the package management of the flavour of GNU/Linux you use (and in part by the various distros not having the most recent version of R in their repositories

Re: [R] Problems in Recommending R

2009-02-03 Thread Neil Shephard
Adam D. I. Kramer-2 wrote: I respectfully disagree. In my repeated experience, I have seen colleagues in industry and university simply write R off as too difficult or not worth the effort based on purely cosmetic grounds, and then at my urging and after some instruction embrace R as

Re: [R] Problems in Recommending R

2009-02-03 Thread Neil Shephard
Barry Rowlingson wrote: 2009/2/3 Neil Shephard nsheph...@gmail.com: Again I'd disagree, perhaps the most widely used suite of software has a very simple and clean web-site with few bells and whistles, ditto for one of the most popular text-editors. I am of course referring to the suite

Re: [R] Problems in Recommending R

2009-02-03 Thread Neil Shephard
hadley wrote: The most useful thing (and quite rightly so) on the front page is the link the the FAQ which should be the starting point for anyone looking at any new software, and answers/explains everything thats pertinent! (At least thats what I read first when I start using new

Re: [R] Problems in Recommending R

2009-02-03 Thread Neil Shephard
Warren Young wrote: Yyeahhh...look how much that sort of stance has helped the cause of Linux on the desktop. World domination has been a year or two away for the last 10 years. (Speaking as one who uses Linux every day, and used it as his main desktop at home for many years before

Re: [R] How do I get my IT department to bless R?

2009-01-30 Thread Neil Shephard
Daniel Viar wrote: I currently use R at work under the radar, but there's a chance I could loose that access. I'd like to get our company to feel comfortable with open source and R in particular. Does anyone have any experience with their company's IT department and management that

Re: [R] Does anyone has this paper in pdf?

2009-01-23 Thread Neil Shephard
Rolf Turner-3 wrote: Is this really a violation of copyright? If I have a copy of a journal I believe it is within the compass of ``fair practice'' (or some such jargon) to make a photocopy of a particular article and give this copy to a colleague or student for research

Re: [R] Does anyone has this paper in pdf?

2009-01-22 Thread Neil Shephard
aiminy wrote: de Jong, S. (1993) SIMPLS: an alternative approach to partial least squares regression. Chemometrics and Intelligent Laboratory Systems, 18, 251–263 Yes, the publishers do, you can purchase it from http://dx.doi.org/10.1016/0169-7439(93)85002-X Its a shame that not all

Re: [R] Perl-R bridge

2009-01-20 Thread Neil Shephard
ANJAN PURKAYASTHA wrote: Hi, I'm planning to access R from my perl scripts. The only noteworthy bridge seems to be Statistics-R-0.03http://search.cpan.org/%7Ectbrown/Statistics-R/lib/Statistics/R.pm. Would anyone like to share their experience with this Perl-R bridge? Irrespective of

Re: [R] How to create a chromosome location map by locus ID

2009-01-16 Thread Neil Shephard
Sake wrote: Hi, I'm trying to make a chromosomal map in R by using the locus. I have a list of genes and their locus, and I want to visualise that so you can see if there are multiple genes on a specific place on a chromosome. A example of what I more or less want is below:

Re: [R] PDF slided (beamer or prosper) to an editable PPT

2009-01-16 Thread Neil Shephard
zubin-2 wrote: Hello, I am getting requests to place our PDF slides (output from beamer) into Microsoft Powerpoint formats (.ppt). What's the best practice or any recommended software packages (any success with open or commercial) that we can use to convert PDF slides into an EDITABLE

Re: [R] How to draw a plot like this?

2008-09-15 Thread Neil Shephard
Jinsong Zhao wrote: Hi there, I hope to draw a plot like this: http://www.sg-chem.net/swizard/Ru-bqdi-spectra.gif is it possible to draw it using R? thanks for any suggestions. My intuition would say yes it is possible as R graphics are highly flexible. I'm afraid I don't know

Re: [R] Spider Graph

2008-08-29 Thread Neil Shephard
Van Patten, Isaac T wrote: Is there an R function to generate a radar or spider graph from a table - e.g.radar(table(x)) or some such? And you may find this a useful site to bookmark... http://addictedtor.free.fr/graphiques/ Neil -- View this message in context:

Re: [R] help needed for HWE.exact in library genetics

2008-08-22 Thread Neil Shephard
You could follow the advice given when loading the library (see the code you posted for details) and use the enhanced genetics packages to cross-validate the results (ideally you should get the same answer). The results not weird though. Your working with SNPs and having a homozygote with a

Re: [R] Pros and Cons of R

2008-05-28 Thread Neil Shephard
I feel the discussion about ease of installation on Linux (/*NIX type systems) isn't really relevant to the Pros and Cons of R. The problems encountered by people are often a consequence of their lack of knowledge/understanding of the operating system, and not a deficiency of R itself. Just my

Re: [R] Pros and Cons of R

2008-05-23 Thread Neil Shephard
Installation under Gentoo is straightforward too (emerge dev-lang/R). Updating has never really been a problem. CRAN packages are rebuilt if needed when updating R, and periodically all you need to do is fire up R and use update.packages() to update any packages you've installed. Another pro

Re: [R] scrime Package simulatedSNP function

2008-05-09 Thread Neil Shephard
Claire_6700 wrote: Hello, I need some help with the simulatedSNPs function from scrime package. I am trying to simulate some genotype of a case/control disease locus. The allele frequence are cases/controls Sample cases controls 2000 .5.10 1500

Re: [R] Importing data

2008-05-07 Thread Neil Shephard
Yemi Oyeyemi wrote: Hi everyone, please I'm having problem importing data from Stata and excel. Help me out. Thanks You don't provide... a) the code that you've tried b) the error message that relates to the problem you are having ...without these people have little information

Re: [R] genotypes simulation

2008-05-05 Thread Neil Shephard
Claire_6700 wrote: Hello, I am having really hard time finding a good article about simulating genotypes of cases and controls at a disease locus using R. if you guys can point me or guide me where i can find more information, it will be helpful. The popgen() package allows the

Re: [R] problem in installing R packages on linux

2008-04-18 Thread Neil Shephard
man4ish wrote: No i am trying to install BART which is valid name , i have 30-40 times for other packages still facing the same pblm .How can i rectify this.Please help me out. Rather than sending a screenshot of a terminal (and note the posting guidelines with regards to

Re: [R] Graphic text

2008-02-29 Thread Neil Shephard
Hi Maura, I'm afraid that your message below only came to me, and wasn't copied to R-help. I'm useless at graphics in R, but I'd recommend posting exactly what R-code that your writing, this will show what plotting commands your using and the syntax, and will allow others to provide insightful

Re: [R] Graphic text

2008-02-29 Thread Neil Shephard
capture the attention of the audience. Maybe R can be interfaced with GL and/or Tcl/Tk. Thanks, Maura On Fri, Feb 29, 2008 at 10:43 AM, Neil Shephard [EMAIL PROTECTED] wrote: Hi Maura, I was for sent this instead of it being sent to the list or yourself. Neil

[R] Errors melt()ing data...

2008-02-28 Thread Neil Shephard
Hi, I'm trying to melt() some data for subsequent cast()ing and am encoutering errors. The overall process requires a couple of casts()s and melt()s. Start Session 1## ## I have the data in a (fully) melted format and can cast it fine... norm1[1:10,] Pool SNP

Re: [R] Errors melt()ing data...

2008-02-28 Thread Neil Shephard
Hi Hadley, On Thu, Feb 28, 2008 at 1:15 PM, hadley wickham [EMAIL PROTECTED] wrote: I think the problem is that reshape adds some extra information to the cast data.frame, but this info is no longer relevant when you've removed some of the columns. Try as.data.frame to strip off this

[R] Logical statements and subseting data...

2008-02-25 Thread Neil Shephard
Hi, I'm scratching my head as to why I can't use the subset() command to remove one line of data from a data frame. There is just one row (out of 45840) that I'd like to remove and it can be identified using dim(raw.all.clean) [1] 4584010 subset(raw.all.clean, Height.1 == 0 Height.2

Re: [R] Logical statements and subseting data...

2008-02-25 Thread Neil Shephard
Thanks Thierry, they do both leave me with what I expected. On Mon, Feb 25, 2008 at 2:28 PM, ONKELINX, Thierry [EMAIL PROTECTED] wrote: The negation of Height.1 == 0 Height.2 == 0 was incorrect. Use subset(raw.all.clean, !(Height.1 == 0 Height.2 == 0)) I can see clearly how this expression

Re: [R] CRAN Taskviews returns 404

2008-02-18 Thread Neil Shephard
On Feb 18, 2008 2:02 PM, Peter Dalgaard [EMAIL PROTECTED] wrote: But what gave you the idea that http://cran.r-project.org/web/packages/Views/ should work? Google seems not to know it. Its the target for the link to the TaskViews from http://cran.r-project.org/web/packages/index.html (which

Re: [R] Using R in a university course: dealing with proposal comments

2008-02-11 Thread Neil Shephard
Neil Shephard wrote: (Most) of this problem isn't negated when using R. Start a new job and use the (excellent, extensible, and free) software that you've been using for years. Apologies for the double negative, that should have read (Most) of this problem _is_ negated when using R

Re: [R] Using R in a university course: dealing with proposal comments

2008-02-11 Thread Neil Shephard
Arin Basu-3 wrote: Comment 2: Finally, on a minor point, why is R the statistical software being used? SPSS is probably more widely available in the workplace – certainly in areas of social policy etc. (Prof NB) What struck me in the above is the probably. How probable is it,

Re: [R] kinship package: drawing pedigree error

2008-02-08 Thread Neil Shephard
You can also draw pedigrees using the pedtodot() function from the gap package. It does however depend on graphviz (http://www.graphviz.org). An article on drawing pedigrees in R is available in Bioinformatics 22(8):1013-1014 (see http://forums.gentoo.org/viewtopic-t-641204) There _may_ also

[R] Problems reshaping data with cast()

2008-02-07 Thread Neil Shephard
Hi, I'm trying to cast() some data, but keep on getting the following error... norm.all.melted.height - transform(all.melted.height, + norm.height = value / ave(value, SNP, Pool, FUN = max) + ) Warning messages: 1: In

Re: [R] Problems reshaping data with cast()

2008-02-07 Thread Neil Shephard
On Feb 7, 2008 2:21 PM, hadley wickham [EMAIL PROTECTED] wrote: Hi Neil, I think your cast statement is wrong. You have cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ value, sum) but I think you want cast(norm.all.melted.height, Sample.Name + SNP + Pool ~ ., sum) i.e. value

Re: [R] How to search for packages - wrap up!

2008-02-06 Thread Neil Shephard
Charilaos Skiadas-3 wrote: On Feb 5, 2008, at 10:37 AM, Monica Pisica wrote: But perhaps I am missing something very obvious? I thought the task views were located where they are (linked from the page that lists packages) as they summarise the available packages for the given topic.

Re: [R] How to search for packages - wrap up!

2008-02-06 Thread Neil Shephard
and enter into dialogue with them. Neil On Feb 6, 2008 12:02 PM, Charilaos Skiadas [EMAIL PROTECTED] wrote: On Feb 6, 2008, at 6:23 AM, Neil Shephard wrote: Charilaos Skiadas-3 wrote: On Feb 5, 2008, at 10:37 AM, Monica Pisica wrote: But perhaps I am missing something very obvious

Re: [R] I need arguments pro-S-PLUS and against SAS...

2008-01-09 Thread Neil Shephard
You might find this article useful Kellie B. Keeling and Robert J. Pavur, A comparative study of the reliability of nine statistical software packages, Computational Statistics Data Analysis, Volume 51, Issue 8, 1 May 2007, Pages 3811-3831.

Re: [R] editor under MAC system

2007-12-11 Thread Neil Shephard
YIHSU CHEN-3 wrote: Dear R-user; I recently switched from PC to MAC. Is there a compatible editor as Win-editor with package RWinEdit for MAC? I'd recommend using Emacs with ESS (see http://ess.r-project.org/). The advantage of this (beyond the seamless integration) is that its

Re: [R] Package specific dependencies...

2007-11-23 Thread Neil Shephard
On Nov 22, 2007 4:14 PM, Gabor Grothendieck [EMAIL PROTECTED] wrote: The SystemRequirements field on the DESCRIPTION file is used to document the system requirements. For example, the DESCRIPTION file for Ryacas (which requires yacas) is shown below. Package: Ryacas Version: 0.2-8 Date:

[R] Package specific dependencies...

2007-11-22 Thread Neil Shephard
Hi, I noticed recently when installing the GDD package for R under GNU/Linux that it required the gd library (http://libgd.org/) for generating graphics. The resolution of this was to simply install the library on my system, and then GDD successfully installed without any complaints. However,