[R] Problems with Rterm 2.13.0 - but not RGui
Søren Højsgaard
Soren.Hojsgaard at agrsci.dk
Tue May 3 14:04:29 CEST 2011
A safe way out of this mess is to install R somewhere else.
For example, create a directory c:\Programs and install R there.
Regards
Søren
-----Oprindelig meddelelse-----
Fra: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] På vegne af Jonathan Daily
Sendt: 3. maj 2011 13:59
Til: Stefan McKinnon Høj-Edwards
Cc: r-help at r-project.org
Emne: Re: [R] Problems with Rterm 2.13.0 - but not RGui
Ah ok. I suppose the fix is to get the hard path (C:/Program
Files/...) on the search path and remove the symlink from the search
path. Does that work?
2011/5/3 Stefan McKinnon Høj-Edwards <Stefan.Hoj-Edwards at agrsci.dk>:
> Yes, the message is pretty clear, but it has nothing to do with running as admin.
> I have just tried to start a command line with admin privileges and the error still occurs.
> Regarding Rgui, I started it by opening the shortcut.
>
> Now I've tracked down the problem a bit, and the problem appears to be connected to which folder R is called from.
> And by sheer luck I've resolved the problem:
> In all previous versions of Windows, on the Danish editions, the "C:\Program Files" directory was called "C:\Programmer". This appears to be the case in Windows 7, but "C:\Programmer" is a symbolic link (hard/soft?) to "C:\Program Files". And apparently, I've been calling R from "C:\Programmer" instead of "C:\Program Files" which gave the problem.
> When/how/why I changed the PATH variable to the symbolic link is unclear, but a quick check reveals that the problem did not exist in R 2.12.1:
> C:\Programmer\R\R-2.12.1\bin\i386\Rterm # No problem
> C:\Programmer\R\R-2.13.0\bin\i386\Rterm # Problem
>
> I will submit a bug report on this.
>
> Kind regards,
> Stefan McKinnon Edwards
>
>
> -----Oprindelig meddelelse-----
> Fra: Jonathan Daily [mailto:biomathjdaily at gmail.com]
> Sendt: 2. maj 2011 16:59
> Til: Stefan McKinnon Høj-Edwards
> Cc: r-help at r-project.org
> Emne: Re: [R] Problems with Rterm 2.13.0 - but not RGui
>
> The message is pretty clear. Access denied means you don't have
> permission to access the path. This also explains why the packages
> fail to load - you don't have access to R's package library. It most
> likely works on RGui because you are clicking it/running it as admin
> (you did not specify how you ran RGui).
>
> 2011/5/2 Stefan McKinnon Høj-Edwards <Stefan.Hoj-Edwards at agrsci.dk>:
>> Hi all,
>>
>> I have just installed R 2.13.0 and I am experiencing problems with the terminal, but not the with the GUI interface.
>> I am Windows 7.
>>
>> When running "R" or "Rterm" from a commandline I receive the following:
>>
>> Warning message:
>> In normalizePath(path.expand(path), winslash, mustWork) :
>> path[3]="C:/Programmer/R/R-2.13.0/library": Adgang nægtet
>>
>> R version 2.13.0 (2011-04-13)
>> Copyright (C) 2011 The R Foundation for Statistical Computing
>> ISBN 3-900051-07-0
>> Platform: i386-pc-mingw32/i386 (32-bit)
>>
>> R is free software and comes with ABSOLUTELY NO WARRANTY.
>> You are welcome to redistribute it under certain conditions.
>> Type 'license()' or 'licence()' for distribution details.
>>
>> R is a collaborative project with many contributors.
>> Type 'contributors()' for more information and
>> 'citation()' on how to cite R or R packages in publications.
>>
>> Type 'demo()' for some demos, 'help()' for on-line help, or
>> 'help.start()' for an HTML browser interface to help.
>> Type 'q()' to quit R.
>>
>> Warning message:
>> package "methods" in options("defaultPackages") was not found
>> During startup - Warning messages:
>> 1: package 'datasets' in options("defaultPackages") was not found
>> 2: package 'utils' in options("defaultPackages") was not found
>> 3: package 'grDevices' in options("defaultPackages") was not found
>> 4: package 'graphics' in options("defaultPackages") was not found
>> 5: package 'stats' in options("defaultPackages") was not found
>> 6: package 'methods' in options("defaultPackages") was not found
>>
>>
>> Notice: "C:/Programmer/" is the Danish equivalent of "C:/Program Files".
>> The first error "Adgang nægtet" is directly translated to "Access denied".
>>
>> Any suggestions as how to fix this?
>>
>> Kind regards,
>> Stefan McKinnon Edwards
>>
>> ______________________________________________
>> R-help at 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, reproducible code.
>>
>
>
>
> --
> ===============================================
> Jon Daily
> Technician
> ===============================================
> #!/usr/bin/env outside
> # It's great, trust me.
>
--
===============================================
Jon Daily
Technician
===============================================
#!/usr/bin/env outside
# It's great, trust me.
______________________________________________
R-help at 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, reproducible code.
More information about the R-help
mailing list