[ESS] "Sorry, no version of R could be found on your system", for new version of R 2.12
spencer.graves at prodsyse.com
Sun Dec 19 17:09:42 CET 2010
Sorry: Try "system.file()", not "system.files()". (I had a typo
in one place.)
If that matches your site-start.el file, please provide the full
path to where your site-start.el file is located plus the Emacs version
number and installation directory.
You will need help from someone who knows more than I do if this
On 12/19/2010 7:23 AM, Evan Misshula wrote:
> From: spencerg [spencer.graves at prodsyse.com]
> Sent: Sunday, December 19, 2010 5:50 AM
> To: Evan Misshula
> Cc: ess-help at stat.math.ethz.ch
> Subject: Re: [ESS] "Sorry, no version of R could be found on your system", for new version of R 2.12
> 1. What do you get for "system.files()" from within R? The first part
> should match what you have in site-start.el. For example, I find the
> site-start.el includes:
> (setq-default inferior-R-program-name
> Is it possible that it did not install correctly. Here is the output from system.files()...
> Error: could not find function "system.files"
> R version 2.12.1 (2010-12-16)
> Platform: i386-pc-mingw32/i386 (32-bit)
>  LC_COLLATE=English_United States.1252
>  LC_CTYPE=English_United States.1252
>  LC_MONETARY=English_United States.1252
>  LC_NUMERIC=C
>  LC_TIME=English_United States.1252
> attached base packages:
>  stats graphics grDevices utils datasets methods base
> 2. If this fails to fix the problem, might you have more than one
> "(setq-default inferior-R-program-name ...)" statement in
> "site-start.el"? I have only one. (To be precise, I have many that
> start ";(setq-default ...)". However, ";" indicates a comment.)
> I don't read lisp that well but everything else seems commented. Should I attach the whole file?
> 3. If the above fails to fix the problem, maybe you have multiple
> site-start.el files? You might change one while the system uses another?
> I did a find file on windows explorer and it only returned one site-start.el (and one site-start.el~).
> I noticed that it requires
> (require 'ess-site)
> (require 'ess-eldoc)
> Could the conflict come from those files?
> Thanks for your prompt and helpful response. Best,
> Evan Misshula
> CUNY John Jay
> hope this helps.
> On 12/18/2010 10:22 PM, EvanMisshula wrote:
>> I am having the same problem but I have added
>> "C:\Program Files\R\R-2.12.1\bin\i386\Rterm.exe")
>> site-start.el file. I have also added to my path, C:\Program
>> Files\R\R-2.12.1\bin\i386\. It is still not working. Does anyone see what
>> I am doing wrong.
>> Many thanks,
>> Evan Misshula
>> Stephen Eglen wrote:
>>> Chris Howden<chris at trickysolutions.com.au> wrote:
>>>> I just installed the new version of R on my machine and Emacs can no
>>>> find it. I'm getting the below error message
>>> Did it work for a previous installation -- what did you have before in
>>> your .emacs?
>>>> (note that I tried adding them one at a time)
>>>> ;(setq default-inferior-R-program-name "C:/Program
>>> you should have (setq-default ...)
>>> rather than (setq default-...)
>>> also I assume that the email put the newline between program and files.
>>> i.e. I'd try this:
>>> "C:\\Program Files\\R\\R-2.12.0\\bin\\i386\\Rterm.exe")
>>> in .emacs and restart.
>>> ESS-help at stat.math.ethz.ch mailing list
More information about the ESS-help