Displaying 20 results from an estimated 6000 matches similar to: "Error in edit(name,file,title,editor)"
2009 Feb 02
3
Environmental variables
I use a Mac (10.4.11 Mac Os X).
In my .tcshrc I define an environmental variable MY.
Is it possible to find out its value from inside R? When one loads
R for Mac OS X Cocoa GUI written by:
Simon Urbanek
Stefano M. Iacus
are files like .tcshrc read by R?
Can I make the value of this environmental variable available to R?
Sys.getenv() produces a lot of output, with the values of many
2008 Jul 20
3
asp and ylim
#See David Williams' book "Weighing the odds", p286
y <- c(1.21, 0.51, 0.14, 1.62, -0.8,
0.72, -1.71, 0.84, 0.02, -0.12)
ybar <- mean(y)
ylength <- length(y)
ybarv <- rep(ybar, ylength)
x <- 1:ylength
plot(x,y,asp=1,xlab="position",ylab="ybar",type="n",ylim=c(-1,1))
segments(x[1], ybar, x[ylength], ybar)
segments(x,ybarv,x,y)
2012 Oct 18
3
Issues upgrading RSpec
My specs work fine with this in my Gemfile.lock:
grep rspec Gemfile.lock
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
rspec-mocks (~> 2.11.0)
rspec-core (2.11.0)
rspec-expectations (2.11.1)
rspec-mocks (2.11.1)
rspec-rails (2.11.0)
rspec (~> 2.11.0)
rspec-rails (~> 2.11)
After "bundle update
2008 Jul 20
4
drawing segments through points with pch=1
Please excuse me for asking such basic questions:
Here is my code
> y=c(1.21,0.51,0.14,1.62,-0.8,0.72,-1.71,0.84,0.02,-0.12)
> ybar=mean(y)
> ll=length(y);
> ybarv=rep(ybar,ll)
> x=1:ll
> plot(x,ybarv,pch=1)
> segments(x[1],ybar,x[ll],ybar)
What I get is a collection of small circles, with a segment "on top"
of the circles, which is almost what I want. But I
2013 Sep 02
1
Sweave: printing an underscore in the output from an R command
I am working with Sweave and would like to print out into my latex document the result of the R command
version$platform
So what I first tried in my .Rnw document was \Sexpr{print(version$platform)}.
However, the output from this command is the string "x86_64-apple-darwin10.8.0" (without the quotes). This contains an underscore, which is a special character in tex and so I get an error
2013 Feb 07
11
Rails change default time zone.
Hello everyone,
I am using rails 3.2.8.
I want to change time zone to New York time.
I changed following, but didn''t work
#config/application.rb
config.time_zone = ''Eastern Time (US & Canada)''
config.active_record.default_timezone = ''Eastern Time (US & Canada)''
If am wrong please clarify.
Thank You!
--
You received this message
2006 May 26
5
MySQL Editor
Got an easy question. What is the GUI editor used in the tutorial videos to
edit the mysql database?
--
--
Jason K
_
=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060526/e75e6029/attachment.html
2008 Sep 10
4
re flecting a line
Suppose x and y are numeric vectors of the same length.
plot(x,y) #scatterplot
lmObj1 <- lm(y~x) # best fit line
abline(lmObj1) # good
lmObj2 <- lm(x~y) #get best fit but with axes interchanged
abline(lmObj2) # not what I want. I want the correct line, drawn on the same
graph, but with
# response and predictor variables interchanged
One way to proceed would be to
2008 Dec 03
2
Making a picture that is wide and small height
How do I make a picture that is a horizontal strip? I tried
> plot(x=c(1,2,3,4),y=c(1,1,1,1)) #works but screen image is square.
> pdf("ratio.pdf",height=1,width=6)
> plot(x=c(1,2,3,4),y=c(1,1,1,1))
I got the following error message:
Error in plot.new() : figure margins too large
Is it possible to produce an on-screen picture that is a horizontal strip?
(I use Mac Os X
2010 Apr 09
4
perhaps regular expression bug with | sign ??
Here is my interaction with R:
> sub(x='>|t|',pattern = '|t',replacement='zz')
[1] "zz>|t|"
So I say to myself "Clearly the | signs need to be escaped, so let's try
this"
> sub(x='>|t|',pattern = '\|t',replacement='zz')
[1] "zz>|t|"
Warning messages:
1: '\|' is an unrecognized escape in a
2015 Jan 24
3
VLAN issue
Do you need the whole configuration? On the switch end, we have the
relevant VLAN (VLAN 48) with the assigned IP address of 192.168.48.101 and
the range of ports (Gi1/0/1 - Gi1/0/8) assigned to that VLAN.
Seems - and acts - like a legitimate setup and works fine, except for this
particular instance.
Thanks.
Boris.
On Fri, Jan 23, 2015 at 8:54 PM, Dennis Jacobfeuerborn <
dennisml at
2015 Jan 26
3
VLAN issue
OK, thanks again for all your help.
I have resolved this, finally. The problem was that I configured VLAN 48 as
the native VLAN on the trunk port.That was a mistake as apparently the
native VLAN is the one where Cisco does not bother to tag packets.
For now I set the native VLAN to VLAN 1 and that works.
Cheers,
Boris.
On Sun, Jan 25, 2015 at 7:13 PM, Boris Epstein <borepstein at
2004 Jun 28
2
Unable to start R due to error with tempdir()
Hello,
I run R 1.9.1 on a Windows XP machine. In the last week, I have started to
get the following error message (about 85% of the time) when I attempt to
start R:
"Fatal error: cannot find unused tempdir name"
I get this message whether I attempt to start R in interactive or batch
mode.
Looking at the help-manual description of tempdir didn't provide me with
any obvious clues
2009 Feb 05
2
eliminating control characters from formatted data files
I have a few hundred files of formatted data. Unfortunately most of them end
with a spurious CONTROL-Z. I want to rewrite the files without the spurious
character. Here's what I've come up with so far, but my code is unsafe
because it assumes without justification that the last row of df contains a
control character (and some NAs to fill up the record).
options(warn=-1) #turn off
2015 Nov 04
2
getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
It should work fine. What esxi version you are using?
Eero
4.11.2015 6.27 ip. "Boris Epstein" <borepstein at gmail.com> kirjoitti:
> >
> >
> >
> > was the controller you added the virtual disk to an IDE or scsi
> controller?
> >
> > --
> > public gpg key id: 1362BA1A
> >
> > _______________________________________________
2004 Oct 23
2
R_LIBS and R Cocoa GUI for Mac OS X (PR#7308)
Full_Name: David Firth
Version: 2.0.0
OS: Mac OS 10.3.5
Submission from: (NULL) (81.178.234.156)
When running R in R Cocoa GUI 1.0 (v2004-10-14), I have
> Sys.getenv()[["R_LIBS"]]
[1] "/Users/david/Library/R"
> .libPaths()
[1] "/Users/david/Library/R/library"
[2] "/Library/Frameworks/R.framework/Resources/library"
The pasting of
2015 Jan 24
2
VLAN issue
Steve,
Thanks, makes sense.
I just don't see why I have to effectively waste an extra IP address to get
my connection established.
Boris.
On Fri, Jan 23, 2015 at 7:16 PM, Stephen Harris <lists at spuddy.org> wrote:
> On Fri, Jan 23, 2015 at 07:10:57PM -0500, Boris Epstein wrote:
>
> > This makes two of us. I've done everything as you have described and it
> >
2015 Nov 04
2
getting a CentOS6 VM on VMware ESXi platform to recognize a new disk device
Hello Julius,
Thanks - but it doesn't seem to work.
I installed sg3_utils and ran
#scsi-rescan
but that seemed to have done nothing for some reason.
Cheers,
Boris.
On Wed, Nov 4, 2015 at 10:12 AM, Tnjulius <tnjulius at gmail.com> wrote:
> Hi Boris,
> Just rescan the scsi host.
> #scsi-rescan #if you have sg3_utils package
> #lsscsi
> Or
> #echo "- - -"
2008 Aug 26
2
options("contrasts")
Code:
> options("contrasts")
$contrasts
factor ordered
"contr.treatment" "contr.poly"
I want to change the first entry ONLY, without retyping "contr.poly". How do
I do it? I have tried various possibilities and cannot get anything to work.
I found out that the response to options("contrasts") has class
2015 Jan 24
2
VLAN issue
On Fri, Jan 23, 2015 at 7:02 PM, Les Mikesell <lesmikesell at gmail.com> wrote:
> On Fri, Jan 23, 2015 at 5:48 PM, Boris Epstein <borepstein at gmail.com>
> wrote:
> > Less,
> >
> > You are 100% right. Of course I brought up my eth0 - but, like you said,
> > with no IP. Meanwhile, I brought up eth0.48 with 192.168.48.100.
> >
> > However,