similar to: Error message with scan() function

Displaying 20 results from an estimated 4000 matches similar to: "Error message with scan() function"

2008 Jun 19
4
Controlling the length of line with abline(lm())
Hi I just realized that when I use linear regression to draw a line through my data points with something like the following: abline(lm(y ~ x)) the length of the line is infinite, i.e., the line goes beyond the smallest and the largest data values. This seems not very right to me (not to mention it looks unaesthetic). I do not mean to imply that the straight-line behavior of my system is
2008 Jun 10
3
Plotting multiple continuous lines with symbols
Hi, I am trying to plot multiple lines on one plot such that all lines are of the same color (black) and continuous. I need to distinguish these multiple plots from each other by using different symbols (I am using pch=). However, all my lines are broken on both sides of the symbols. This unfortunate (and unsightly) behavior seems to be the default. In my search of the help archives for R over
2009 Dec 05
1
R packages and assess to data in packages
Hi Everyone, I have two very basic questions and would appreciate your help. 1. I would like to see/access the data that comes with a given R package by using a function like read.table(). For example, I just installed car package from CRAN. I know that somewhere within the package, there is Duncan.txt file. I would not only like to look at it from file browser (or using ls command in shell) but
2008 Jun 04
2
Superscript/Subscript in main title
I have been trying to figure out how to get superscript/subscript in the main title for a plot. I have tried various approaches and suggestions but none of them work. I am trying to get the following as the main title of my plot: Emission of CO2 with time (but note that 2 is subscript.) I have tried plot(main="Emission of C"expression(O[2]) "with time") and I get error
2008 Jun 18
1
Help with axis labels
Hi I have patched together (from various sources) the following code to get semi-logarithmic plot. Unfortunately, my labels come out also at intermediate places between 10^2, 10^3, 10^4 etc. Since I put the code together from various sources and do not understand fully how the code is working, I have not been able to get rid of the labels like 10^1.69897, 10^2.69897 etc. I would appreciate if
2009 Nov 15
1
Help with unstack() function
Hi Everyone, I am trying to understand the unstack() function but after struggling for two days, I have given up. More specifically, I am trying the exercises at the end of Chapter 1 of Data Analysis and Graphics Using R by Maindonald and Braun, 2nd ed. Exercise 18 (p. 41) asks to unstack the Rabbit data frame from the MASS package to get a certain data frame that is shown in the exercise.
2009 Oct 25
2
Help with history() in Emacs/ESS
Hi Everyone, I am a beginner running R 2.9.2 under Ubuntu and typically use Emacs w/ESS. However, I am confused with history() command. When I issue command history() in Emacs within an R session, this is what get: > history() Error in savehistory(file) : no history available to save Similarly, history(max=10) command gives the same error message. However, there is this In/Out Menu in the
2008 Jun 16
1
Specifying fonts in R
Hi I am a novice user of R. I got hold of "R Graphics" by P. Murrell the other day and am trying to follow examples in the book. In chapter 3, the section on font specification gives 16 "basic" font families and face combinations available in R (Figure 3.9). However, the book also warns that even if a font specification is given, it does not mean that the font will always be
2008 Jul 16
1
Help Updating and Installing R Packages
Hi Everyone, I have a few fairly basic questions about upgrading and installing R packages. First off, I am using Ubuntu Hardy Heron and have R 2.7.1 installed and working perfectly. I usually access R via Emacs ESS interface which I am still trying to get the hang of. My questions and issues are as follows: Question 1: I started R and wanted to upgrade the installed R packages. So, I issue the
2009 Nov 25
2
Name failed to restart with service named restart command
I have Centro 5.4 it named starts at bootup but fails to restart when I give command service named restart and it there is no any error in syslog messages. With reload command I get the following message in syslog :- Nov 25 14:03:30 unitedinfotechs named[2201]: using default UDP/IPv4 port range: [1024, 65535] Nov 25 14:03:30 unitedinfotechs named[2201]: using default UDP/IPv6 port range: [1024,
2001 Nov 28
2
scp
Hello - I am trying to use scp (openssh_3.0), but every time I run it, I get the following error: stty: Not a typewriter When I run it with -v , it shows that authentication (pub key) succeeds, but it fails to read the file. If anybody has a clue as to what's going on here, any help will be appreciated. Thanks. Tariq tariq.lahyani at aa.com
2009 Apr 08
2
Problem with browser
Hello everyone I am using CentOS 5.2 and facing a browsing problem I had complete system update of 71 applications recently and after the update completed my system can receive emails but cannot send and cannot browse get error domain not found, besides ftping is working fine web servers are working fine how can i fix this or roll back to my previous configuration of system. Thank you Best
2009 Mar 21
1
How to avoid switching on input type?
Hi, I need some help improving this ugly code I wrote. I would like to shift forward a zoo object, matrix, ts, or list by "shift" items (default 1) and fill the holes with 0's. The code below works, but it looks ugly. I could write a function lag.zerofill() which calls the two functions below depending on the class() of the item passed in, but that feels very unlike R. What is
2009 Jun 11
2
How to force R to print 2 decimal places in column of a data.frame?
How to force R to print 2 decimal places in column of a data.frame? I tried to do so: x = inp(format(rounf(inp$Tamanho, 2), nsmall = 2),) where "INP" is data.frame and "Size" is the name of column. But has error: Error in eval.with.vis(expr, envir, enclos) : could not find function "inp" Lesandro Veja quais s?o os assuntos do momento no Yahoo! +Buscados
2009 Jun 22
2
POP3 -ERR Authentication failed.
Hello guys I am having problem of pop3 with my mail server I am using postfix-2.3.3 and Dovecot v1.0.7 when i telnet localhost or xyz.net i get following output [root at dalvis ~]# telnet mail.xyz.net 110 Trying 192.168.12.14... Connected to mail.xyz.net (192.168.12.14). Escape character is '^]'. +OK Dovecot ready. user johne at xyz.net +OK pass 768tidzx -ERR Authentication failed.
2020 May 12
4
CentOS7 and NFS
Hi, I need some help with NFSv4 setup/tuning. I have a dedicated nfs server (2 x E5-2620? 8cores/16 threads each, 64GB RAM, 1x10Gb ethernet and 16x 8TB HDD) used by two servers and a small cluster (400 cores). All the servers are running CentOS 7, the cluster is running CentOS6. Time to time on the server I get: ?kernel: NFSD: client xxx.xxx.xxx.xxx testing state ID with incorrect
2008 Jan 24
1
Sliding Window Time Series Analysis - hourly rainfall
I have a time series of rainfall in a dataframe. I would like to be able to aggregate this using a sliding window approach- i.e. a new 24 hourly total is calculated for each hours rainfall. I'm struggling to understand how this might be achieved - currently I've tried looping a sum function to re-calculate a new total at every stage of the loop. for (inp[[9]] in
2014 Jan 06
1
Re: [PATCH 2/2] lib: utf16: Fix const-correctness issues in _hivex_recode function.
On Tuesday 31 December 2013 14:27:11 Richard W.M. Jones wrote: > This patch assumes that iconv doesn't actually modify the > input buffer, even though it is declared as char *. > --- > [...] > @@ -51,10 +51,11 @@ _hivex_recode (char *input_encoding, const char > *input, size_t input_len, errno = err; > return NULL; > } > - char *inp = input; > + const
2020 May 12
2
CentOS7 and NFS
Le 12/05/2020 ? 16:10, James Pearson a ?crit?: > Patrick B?gou wrote: >> >> Hi, >> >> I need some help with NFSv4 setup/tuning. I have a dedicated nfs server >> (2 x E5-2620? 8cores/16 threads each, 64GB RAM, 1x10Gb ethernet and 16x >> 8TB HDD) used by two servers and a small cluster (400 cores). All the >> servers are running CentOS 7, the cluster is
2005 Dec 01
1
Kalman Smoothing - time-variant parameters (sspir)
Dear R-brains, I'm rather new to state-space models and would benefit from the extra confidence in using the excellent package sspir. In a one-factor model, If I am trying to do a simple regression where I assume the intercept is constant and the 'Beta' is changing, how do I do that? How do i Initialize the filter (i.e. what is appropriate to set m0, and C0 for the example below)?