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-edwa...@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@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. ______________________________________________ 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, reproducible code.