Displaying 20 results from an estimated 20000 matches similar to: "R-help Digest, Vol 80, Issue 30"
2017 Jul 14
3
setwd in windows
Dear friends - windows R 3.3.3 - sorry to ask a simple question - but I
cannot make setwd work properly in scripts
In the example below I have made a directory in 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
2013 Mar 30
1
special character encoding problem
Hi,
I have a question about special character: when I create a data
frame including some special characters, like '?', it displayed as
'<U+00F8>'. I understand that it's one encoding code for '?'. but I
want to display the letter as '?' on my screen. And more, when I save
the data frame to a local position, it was also save as the encoding
code
2012 Mar 08
2
Cannot change location of tempdir()
Hi,
One of the functions I use needs to write to a temporary file, in the
directory given by tempdir(). I want to change this from the standard
one, as the file is too large for the drive. However, tempfile() doesnt
seem to respect the environment variables when I change them with
Sys.setenv(). In a fresh R-session:
> Sys.getenv("TMP")
[1]
2006 Feb 22
2
How do I tell it which directory to use?
>From Tom:
In R 2.2.0 under Windows, I want to be able to give it a filename such
as "myFile.txt" without the quotes. But actually I mean:
C:\Documents and Settings\Tom\My Documents\qpaper7\R Project Started
19 Dec 05\myFile.txt
If I were to repeat this each time, my computer would get all bored
and cranky and start to drop bits (only a joke, of course). I think I
want to set
2011 Nov 10
1
Sum of the deviance explained by each term in a gam model does not equal to the deviance explained by the full model.
Dear R users,
I read your methods of extracting the variance explained by each
predictor in different places. My question is: using the method you
suggested, the sum of the deviance explained by all terms is not equal to
the deviance explained by the full model. Could you tell me what caused
such problem?
> set.seed(0)
> n<-400
> x1 <- runif(n, 0, 1)
> ## to see problem
2006 May 04
3
Rgui, Startup, HOME, R_USER, ...
Hi,
Main objective: Let Rgui find my ~/.Rprofile and ~/.Renviron files,
where ~ is equal to getwd("~").
I have few comments/questions:
(A) On my WinXP Pro installation, the system environment variable
'HOME' is not availble to R, e.g. Sys.getenv("HOME") is empty. I
believe this is default case (correct me if I'm wrong). However, if I
set the "Start
2013 Mar 23
1
Character change to Unicode format escape character when create a data frame
Hi,
I want to create a data frame including a column containing some special characters, like "ø". when I print that data frame out, the content change to <U+00F8>, and when save the data frame to a txt file, the content keep in that style, but I need it in its original form, anybody can explain?
> x <- data.frame(part = c("målløs", "ny"))
> x
2007 Jul 01
3
Session WTF ?
Hi.
How to use session in ruby 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
2020 Sep 03
2
Rgui never processes ~/.Renviron
ISSUE:
It looks like Rgui.exe never processes ~/.Renviron - only ./.Renviron.
REPRODUCIBLE EXAMPLE:
On Windows, create the following ~/.Renviron and ~/.Rprofile files:
C:\Users\alice> Rscript -e "cat('FOO=123\n', file='~/.Renviron')"
C:\Users\alice> Rscript -e "cat('print(Sys.getenv(\'FOO\'))',
file='~/.Rprofile')"
and launch
2023 Dec 17
1
call: file.exists("~/.Rtk2theme") error: file name conversion problem -- name too long?
Sorry for the double e-mail.
On Sun, 17 Dec 2023 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
2006 Nov 10
2
Command Line Prompt Symbol
Hi
I run R in Windows.
Is there a simple way of changing the prompt symbol ">" to, say, "R>" ?
(Not just for a temporary session, but every time R command window is
opened.) The documentation of doing this is rather "sparse".
Much appreciated for your assistance.
Jacob
Jacob L van Wyk
Department of Statistics
University of Johannesburg, APK
P O Box 524
2006 Oct 29
2
Rgui.exe fix for "console not found" buffer overflow problem
I'm using R on Windows XP Professional SP2.
I figured out the fix for my buffer overflow problem that did not allow me
to use Rgui.exe for about two weeks. I would keep getting "console not
found" and even when I uninstalled and re-installed got the same problem.
Here's how the problem started. In Rgui.exe, I attempted to get more
visible output in the buffer (I wanted
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
2002 Jun 13
1
Problem about Rconsole: R for Windows Version 1.5.0 Patched (2002-06-05 and 2002-06-12)
R (Windows version) users/developers:
While I have checked R-help/-devel mailing lists and R-bug-tracking
system, this problem has not been reported so far. I would like to know
whether this problem is specific to my machine.
Lately I downloaded the version 1.5.0 patched [for windows] from
http://www.stats.ox.ac.uk/pub/bdr/RWin/Rpre/ [patched: 2002-06-05] and
2013 Apr 02
3
How to do platform independent system calls?
Dear R experts,
I hope everyone has had a happy easter break.
Recently my work included writing R function that need to call external tools.
I did this using R's system function for example:
system( paste( 'tool', '-input', path_to_input, '-output',
path_to_output, '-other_switch', some_val ) )
I have two question about this:
1) Is there a way to implement
2010 May 05
1
testInstalledBasic question
Hi,
I'm currently in the process of writing an R-installation SOP for my
company. As part of that process I'm using the recommendations from the 'R
Installation and Administration' document, section 3.2, "Testing an
installation". This is done on an XP machine, using the latest binary of
2.11.0.
The binary is downloaded and then installed from the installer. I then
2002 Oct 10
2
Environment variables under Windows
Greetings,
I have a question pertaining to the concept of "environment variables"
that is mentioned in the R documentation for "Startup" and 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
2008 Mar 21
1
Installing R-2.6.2 on Windows multiuser
What is the proper way to install/configure R-2.6.2 for M$-Windows
XPSP2 for multiple users when the other users don't have administrative
rights. I don't remember this was a problem with previous versions of R.
I installed R-2.6.2 as administrator on the computer. It installs,
runs, and can manually update fine. The main user of this computer does
not have administrator rights. Now,
2013 Feb 28
1
using a personal template for new R scripts
Does anyone know if there's an easy facility to create and specify a template file to be used for new R scripts?
I found myself creating this function which works well (in RStudio on Windows).
newR = function(filename=tempfile(tmpdir='.',fileext='.R'), open=TRUE) {
template = paste(Sys.getenv('R_USER'), 'R_template.R', sep='/')
lines =
2003 May 09
3
Re: R-help Digest, Vol 2, Issue 26
With the same system configuration (WinNT4 SP6 and 1.7.0), I get such a Dr
Watson crash each time I try to use the Change dir... command in the File
menu of Rgui.exe. I doesn't seems to happen if I do this immediately after
starting R but well if I already did some computation.
I don't have any problem by using directly setwd().
At 12:10 23/04/03, you wrote:
>Date: Tue, 22 Apr 2003