Displaying 20 results from an estimated 68 matches for "r_user".
Did you mean:
__user
2011 Sep 14
2
Difficulty with saving .Rhistory
...outfile) :
? cannot remove file '.RDataTmp', reason 'No such file or directory'
INITIAL ROOT WAS THE FOLLOWING:
>
> q()
Save workspace image? [y/n/c]: y
[root at localhost ~]#
Here is what I did, which I thought would fix everything:
[root at localhost ~]# groupadd -g 666 r_users
[root at localhost ~]# usermod --groups r_users Object
[root at localhost ~]# cat /etc/group | grep r_users
r_users:x:666:Object
[root at localhost ~]# chown -R root:r_users /var/R/R-2.13.1
[root at localhost ~]#
[root at localhost ~]# find /var/R/R-2.13.1 -type d | xargs chmod g+rwx
Note th...
2006 May 04
3
Rgui, Startup, HOME, R_USER, ...
...perties, however I'm interested in the default lookup
path. DS.
(B) With the default "Start in:" value of "C:\Program
Files\R\R-2.3.0pat", the ~/My Documents/.Rprofile is called. I tried
to understand why exactly this path. Reading the R FAQ for Windows,
it says that 'R_USER' is used as the default value for the home
directory. Where/when is this set, and how? I don't set it myself.
It looks like it is set equal to 'HOME' and if that is not set, the to
the default %HOMEDRIVE%\%HOMEPATH%\My Documents\, e.g.
M:\>set HOME=
M:\>Rterm --quiet
>...
2017 Jul 14
3
setwd in windows
...C (firstdir) and a
directory in that (secdir) and the intention is to change directory to
the second from the first - it works when I put the entire path but not
the tilde - what am I missing? I was around rwf 2.14 as per the help to
setwd - to define the HOME - and redefine it. As I read 2.14 R_USER is
used for HOME when set. To no avail.
Best wishes
Troels
getwd()
#[1] "C:/firstdir"
Sys.getenv("R_USER")
#"C:\\Users\\Bruger\\Documents"
dir()
#[1] "chdir.R" "secdir"
setwd("~/secdir")
error in setwd("~/secdir") : cannot...
2008 Sep 07
2
R_USER - in which file should I include it?
Hello
I am a newbie. I had my R upgraded from 2.7.1 to 2.7.2 and in doing so I
decided to install all 2.7 versions under c:\program files\R\2.7 from now on
(2.7.1 is located under .\2.7.1)
Although I don't like the idea (I am running Vista), I have edited
etc\Renviron.site to contain:
R_USER=c:/Users/eduardo/Documents/R
R_LIBS_USER=c:/Users/eduardo/Documents/R/win-library/2.7
As far as R starting always from the same location, that is,
c:/Users/eduardo/Documents/R, etc\Renviron.site didn't help. So I wonder
whether someone from the list could help me to:
a) force R to start alwa...
2007 Jul 01
3
Session WTF ?
...on rails ?
I try to make it work for hours, but it still doesn''t work...
In my controller I have this:
def identification
@current_user = User.new(params[:user])
ok = false
redir = ''login_failed''
@remote_user = User.find(:all)
@remote_user.each do |r_user|
if (r_user.login == @current_user.login and
r_user.pass == @current_user.pass)
ok = true
end
end
if (ok)
session[:user_login] = params[:login]
session[:user_access] = params[:access]
redir = ''list_article''
end
redire...
2020 Sep 03
2
Rgui never processes ~/.Renviron
...reas with R or
Rscript, it is reported as "123".
TROUBLESHOOTING:
>From code inspection
(<https://github.com/wch/r-source/blob/1658c8491e9cdc6d2fe61603ed23ae56232b6727/src/main/Renviron.c#L298-L301>):
#ifdef Win32
{
char buf[1024]; /* MAX_PATH is less than this */
/* R_USER is not necessarily set yet, so we have to work harder */
s = getenv("R_USER");
if(!s) s = getenv("HOME");
if(!s) return;
snprintf(buf, 1024, "%s/.Renviron", s);
s = buf;
}
#endif
I think it happens because neither R_USER nor HOME is set when the...
2023 Dec 17
1
call: file.exists("~/.Rtk2theme") error: file name conversion problem -- name too long?
...23 17:25:38 +0300
Ivan Krylov <krylov.r00t at gmail.com> wrote:
> Can you at least temporarily disable OneDrive so that your Documents
> directory would be "C:\\Users\\Alipio\\Documentos"? This should keep R
> happy.
It should also work if you set the environment variable R_USER to
some ASCII-representable path:
(in cmd.exe):
> set R_USER=C:\Users\Alipio\R_USER
> "C:\Program Files\R\R-4.3.2\bin\R.exe" CMD Rgui
Please let me know if setting the environment variable helps.
I suspect that getenv() may be returning ANSI-encoded bytes even when
the UCRT local...
2006 Oct 29
2
Rgui.exe fix for "console not found" buffer overflow problem
...u re-install. I found the errant copy in my "My Documents" folder
on my desktop. The way I did it was to put in the following (in its
entirety) in the Rterm.exe window (found at the bottom of ?Rconsole help
file within Rterm.exe):
#### BEGIN R CODE ####
ruser <- Sys.getenv("R_USER")
cat("\n\nLocation for personal configuration files is\n R_USER = ",
ruser, "\n\n", sep="")
## see if there are personal configuration files
sapply(c("Rconsole", "Rdevga"), function(x)
file.exists(file.path(ruser, x)...
2002 Jun 13
1
Problem about Rconsole: R for Windows Version 1.5.0 Patched (2002-06-05 and 2002-06-12)
...rsions check the parent directory of a start-up
directory for Rconsole [i.e., if Rconsole is placed in its parent
directory, parameters stored in Rconsole are correctly imported]. I
usually specify R's start-up directory in the "start-in:" box of a
shortcut to Rgui.exe and do not set R_USER variable.
The information about my machine is :
sysname=Windows
release=NT 5.0
version=(build 2195) Service Pack 2
Also, it is found that the bookmarks of the R reference manual (PDF),
which is included in the version 1.5.0 patched [patched: 2002-06-12]
from http://www.cran.r-project.org/bi...
2023 Dec 17
1
call: file.exists("~/.Rtk2theme") error: file name conversion problem -- name too long?
Dear Alipio Galiana,
Please keep the mailing list in the "copy" field of your messages. This
way other people can chime in with advice too.
On Sun, 17 Dec 2023 15:11:14 +0100
<azhriel1 at gmail.com> wrote:
> > sessionInfo()
> R version 4.3.2 (2023-10-31 ucrt)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 11 x64 (build 22631)
>
>
2009 Oct 30
2
R-help Digest, Vol 80, Issue 30
Dear friends,
I will be very happy if anyone tell me the way to change work directory
permanently?
I mean not use the function setwd() which can only change temporary, when
you close the console, it will the old directory.
Sys.setenv(R_USER = '') also doesn't work.
[[alternative HTML version deleted]]
1999 Sep 24
2
R's startup : .Rprofile & .Renviron -- info and RFC
[RFC = Request for Comments]
{ Yes, the documentation for .Renviron is really not there (but the FAQ...);
the rest is in ?Startup }
In R's Startup (on Unix only??) {unless --no-environ is specified}
~/.Renviron (if there) is read as an 'sh' script before R is called,
then R looks ((for the site-wide Rprofile and then))
for .Rprofile in the current directory and then for
2007 Oct 08
1
Error message on script execution
Dear R_users,
I have some troubles with a visual basic application I have recently
created. This application automatically creates and executes an R script
based on a dataset and settings defined by the user. The .r file
(Create_Diagnostic_plots.r) is saved first in a given folder and then
call using a CM...
2006 Feb 22
2
How do I tell it which directory to use?
.... A curve ball: There are two
accounts, "Tom" and "Jones;" the data are stored under "Tom," whereas
the computation is being done under the "Jones" account. I won't bore
you with the details of why I am doing this.
I was able to call Sys.getenv ("R_USER") and get the home directory.
I am a newbie to R and not familiar with the terminology.
Tom
Thomas L. Jones, Ph.D., Computer Science
2012 Mar 08
2
Cannot change location of tempdir()
...uot;
> Sys.setenv(TMP = "e:\\Temp\\Rtmp")
> Sys.getenv("TMP")
[1] "e:\\Temp\\Rtmp"
> tempfile()
[1] "C:\\Users\\skoiejo\\AppData\\Local\\Temp\\Rtmp2tvQ7U\\file499a5987"
# I have also tried to change "TMPDIR", "TEMP" and "R_USER", all with
the same result.
# The directory is writable:
> write("some text", file = paste(Sys.getenv("TMP"),"test.txt",sep = ""))
> list.files(Sys.getenv("TMP"))
[1] "test.txt"
I have probably misunderstood something, but...
2002 Oct 10
2
Environment variables under Windows
...also in the
discussion of the Windows configuration of R in the recent book "An
Introduction to R" authored by Venables, Smith, and the R Development Core
Team (referred to as VS in this message).
The Startup documentation and VS make reference to environment variables,
e.g., R\_ENVIRON, R_USER, or R\_PROFILE. Apparently the R startup
procedure operates differently depending on whether these variables are
"set" or "unset". What is unclear to me is how to set these variables.
For example, is something to be done with the AUTOEXEC.BAT file or the
CONFIG.SYS file, or p...
2004 Feb 09
1
RConsole
I changed my R console configurations, for example, the letters
are white, the background is black, etc,... Then I saved this new
configuration. What should I do if I want to have this new configuration
everytime I open R?
TIA
2007 Sep 07
2
Running a PERL script from R
...pt from R?
Kenneth B. Pierce Jr.
Research Ecologist
Landscape Ecology, Modeling, Mapping and Analysis Team
PNW Research Station - USDA-FS
3200 SW Jefferson Way, Corvallis, OR 97331
ken.pierce@oregonstate.edu
541 750-7393
http://www.fsl.orst.edu/lemma/gnnfire
http://www.fsl.orst.edu/R_users/index.php
[[alternative HTML version deleted]]
2008 Mar 21
1
Installing R-2.6.2 on Windows multiuser
..., R won't even start. It gives an
error of
0xC0000022 unable to initialize properly
which is a permissions issue. The R icon shortcut is coded to look for
configuration/startup files in my directory. So, I went into Control
Panels > System > Advanced and created an environment variable
R_USER
as
"C:\\Documents and Settings\\XXXXX\My Documents"
where XXXXX is the user's login name.
I tried this with and without quotes, and with single \ or \\ .
I tried an uninstall/reinstall and had the same problem.
Thanks for any suggestions.
--
Rick Voland
rpvoland at facstaff.wisc.e...
2007 Mar 14
1
compile 2.4.1 for linux on power cpus
...This is a server with power CPUs and is running SLES 10. It currently has 12GB of RAM so I'd like to make sure I have the 64 bit version of R so as to take advantage of the extra memory. Since it's a power CPU server that means I'll have to compile R from source.
I've searched the r_users list but most of the power CPU correspondence concerns either AIX or Macs. SLES 10 uses GCC 4.1.0 by default. Could someone please help me with some guidance on the necessary parameters for configure to ensure a 64 bit version of R is compiled?
Andrew Ferris
Network Support Analyst
iCAPTURE Re...