I am trying to build a Windows zip file of a private package by
C:/Program/R/R-3.0.1/bin/x64/Rcmd INSTALL --build --library=.
epigen_0.1.tar.gz
but I get errors like
1: package 'datasets' in options("defaultPackages") was not found
and, finally,
Error in normalsizePath(path.expand(path), winslash, mustWork) :
path[1]="C:/Program/R/R-3.0.1/library/tools": Atkomst nekad
(Access denied)
This is on a Swedish version of Windows 7. I noticed that the R
installer called the installation directory "Program Files" instead of
"Program" (despite my effort to change it), so I tried the same thing
with an English version of Windows 7 (on another machine), and there
everything went as expected.
I installed R on both machines today so the setups should be identical,
except for the languages. What can be wrong? Can it be a language/path
thing?
Thanks for any insight!
G?ran Brostr?m
Windows 7 (Swedish): 'Rcmd INSTALL' fails
7 messages · Göran Broström, Rolf Turner, Uwe Ligges +1 more
On 21.07.2013 00:26, G?ran Brostr?m wrote:
I am trying to build a Windows zip file of a private package by C:/Program/R/R-3.0.1/bin/x64/Rcmd INSTALL --build --library=. epigen_0.1.tar.gz
Why --library=. ? Do you have appropriate poermissions to do that? In this case, you need to start everything with admin priviliges explicitly unless your Windows is configured differently.
but I get errors like
1: package 'datasets' in options("defaultPackages") was not found
and, finally,
Error in normalsizePath(path.expand(path), winslash, mustWork) :
path[1]="C:/Program/R/R-3.0.1/library/tools": Atkomst nekad
(Access denied)
This is on a Swedish version of Windows 7. I noticed that the R
installer called the installation directory "Program Files" instead of
"Program" (despite my effort to change it), so I tried the same thing
But there is "Program Files", "Program" is just something like a link shown by the Windows Explorer that actually points to "Program Files".
with an English version of Windows 7 (on another machine), and there everything went as expected. I installed R on both machines today so the setups should be identical, except for the languages. What can be wrong? Can it be a language/path thing?
Probably not the language but different admin settings. Best, Uwe Ligges
Thanks for any insight! G?ran Brostr?m
______________________________________________ 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.
Uwe, thanks! The switch from "Program" to "Program Files" made it (stupid Windows!). I tried the "--library=." flag because I got the error message path[2]="C:/Program/R/R-3.0.1/library": Access denied without it, and naively thought that I had a permission problem. This was strange, because I am the administrator of my Windows machines. BTW, why can't I, as an administrator, install packages in "C:\Program Files\R\R-3.0.1\library" ? This is of course a very minor problem, since I never do anything useful on Windows machines. Best, G?ran Brostr?m Uwe Ligges skrev 2013-07-21 00:51:
On 21.07.2013 00:26, G?ran Brostr?m wrote:
I am trying to build a Windows zip file of a private package by C:/Program/R/R-3.0.1/bin/x64/Rcmd INSTALL --build --library=. epigen_0.1.tar.gz
Why --library=. ? Do you have appropriate poermissions to do that? In this case, you need to start everything with admin priviliges explicitly unless your Windows is configured differently.
but I get errors like
1: package 'datasets' in options("defaultPackages") was not found
and, finally,
Error in normalsizePath(path.expand(path), winslash, mustWork) :
path[1]="C:/Program/R/R-3.0.1/library/tools": Atkomst nekad
(Access denied)
This is on a Swedish version of Windows 7. I noticed that the R
installer called the installation directory "Program Files" instead of
"Program" (despite my effort to change it), so I tried the same thing
But there is "Program Files", "Program" is just something like a link shown by the Windows Explorer that actually points to "Program Files".
with an English version of Windows 7 (on another machine), and there everything went as expected. I installed R on both machines today so the setups should be identical, except for the languages. What can be wrong? Can it be a language/path thing?
Probably not the language but different admin settings. Best, Uwe Ligges
Thanks for any insight! G?ran Brostr?m
______________________________________________ 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.
On 21/07/13 20:50, G?ran Brostr?m wrote:
Uwe, thanks! The switch from "Program" to "Program Files" made it (stupid Windows!).
<SNIP>
BTW, why can't I, as an administrator, install packages in "C:\Program Files\R\R-3.0.1\library" ? This is of course a very minor problem, since I never do anything useful on Windows machines.
Fortune candidate?
cheers,
Rolf Turner
On 21.07.2013 10:50, G?ran Brostr?m wrote:
Uwe, thanks! The switch from "Program" to "Program Files" made it (stupid Windows!). I tried the "--library=." flag because I got the error message path[2]="C:/Program/R/R-3.0.1/library": Access denied without it, and naively thought that I had a permission problem. This was strange, because I am the administrator of my Windows machines. BTW, why can't I, as an administrator, install packages in "C:\Program Files\R\R-3.0.1\library" ?
Because you started R with standard privileges? Right click on R and then tell Windows to start R as an administrator. That should fix your problems. Best, Uwe Ligges
This is of course a very minor problem, since I never do anything useful on Windows machines. Best, G?ran Brostr?m Uwe Ligges skrev 2013-07-21 00:51:
On 21.07.2013 00:26, G?ran Brostr?m wrote:
I am trying to build a Windows zip file of a private package by C:/Program/R/R-3.0.1/bin/x64/Rcmd INSTALL --build --library=. epigen_0.1.tar.gz
Why --library=. ? Do you have appropriate poermissions to do that? In this case, you need to start everything with admin priviliges explicitly unless your Windows is configured differently.
but I get errors like
1: package 'datasets' in options("defaultPackages") was not found
and, finally,
Error in normalsizePath(path.expand(path), winslash, mustWork) :
path[1]="C:/Program/R/R-3.0.1/library/tools": Atkomst nekad
(Access denied)
This is on a Swedish version of Windows 7. I noticed that the R
installer called the installation directory "Program Files" instead of
"Program" (despite my effort to change it), so I tried the same thing
But there is "Program Files", "Program" is just something like a link shown by the Windows Explorer that actually points to "Program Files".
with an English version of Windows 7 (on another machine), and there everything went as expected. I installed R on both machines today so the setups should be identical, except for the languages. What can be wrong? Can it be a language/path thing?
Probably not the language but different admin settings. Best, Uwe Ligges
Thanks for any insight! G?ran Brostr?m
______________________________________________ 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.
On 07/21/2013 12:27 PM, Uwe Ligges wrote:
On 21.07.2013 10:50, G?ran Brostr?m wrote:
Uwe, thanks! The switch from "Program" to "Program Files" made it (stupid Windows!). I tried the "--library=." flag because I got the error message path[2]="C:/Program/R/R-3.0.1/library": Access denied without it, and naively thought that I had a permission problem. This was strange, because I am the administrator of my Windows machines. BTW, why can't I, as an administrator, install packages in "C:\Program Files\R\R-3.0.1\library" ?
Because you started R with standard privileges? Right click on R and then tell Windows to start R as an administrator. That should fix your problems.
Thanks again; didn't know that either! Always fun to learn new things. Best, G?ran Brostr?m
Best, Uwe Ligges
This is of course a very minor problem, since I never do anything useful on Windows machines. Best, G?ran Brostr?m Uwe Ligges skrev 2013-07-21 00:51:
On 21.07.2013 00:26, G?ran Brostr?m wrote:
I am trying to build a Windows zip file of a private package by C:/Program/R/R-3.0.1/bin/x64/Rcmd INSTALL --build --library=. epigen_0.1.tar.gz
Why --library=. ? Do you have appropriate poermissions to do that? In this case, you need to start everything with admin priviliges explicitly unless your Windows is configured differently.
but I get errors like
1: package 'datasets' in options("defaultPackages") was not found
and, finally,
Error in normalsizePath(path.expand(path), winslash, mustWork) :
path[1]="C:/Program/R/R-3.0.1/library/tools": Atkomst nekad
(Access denied)
This is on a Swedish version of Windows 7. I noticed that the R
installer called the installation directory "Program Files" instead of
"Program" (despite my effort to change it), so I tried the same thing
But there is "Program Files", "Program" is just something like a link shown by the Windows Explorer that actually points to "Program Files".
with an English version of Windows 7 (on another machine), and there everything went as expected. I installed R on both machines today so the setups should be identical, except for the languages. What can be wrong? Can it be a language/path thing?
Probably not the language but different admin settings. Best, Uwe Ligges
Thanks for any insight! G?ran Brostr?m
______________________________________________ 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.